Fix BZ #18043 (c4): buffer-overflow (read past the end) in wordexp/parse_dollars...
[glibc.git] / ChangeLog
bloba7bd5b743ca315cc5244b3f579862c01ef8ea8ae
1 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3         [BZ #18043]
4         * posix/wordexp.c (parse_param): Fix buffer overflow.
5         * posix/wordexp-test.c (test_case): Add test case.
7 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9         [BZ #18042]
10         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15         [BZ #18043]
16         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17         (do_bz18043): Delete.
18         (at_page_end): New.
19         (testit): Refactor to have words at the edge of unreadable page.
21 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23         [BZ #16734]
24         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25         Cleanup read-only streams as well.
26         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31         <bits/libc-lockP.h>
33 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
36         on [__KERNEL__].
37         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39         * soft-fp/op-common.h (_FP_DECL): Likewise.
41 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
43         * elf/ifuncdep2.c (global): Replace
44         __attribute__((visibility("protected"))) with
45         asm (".protected global").
46         * elf/ifuncmod1.c (global): Likewise.
47         * elf/ifuncmod5.c (global): Likewise.
49 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
51         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
52         <asm/sfp-machine.h> instead of <sfp-machine.h>.
54 2015-03-06  Roland McGrath  <roland@hack.frob.com>
56         * manual/install.texi (Configuring and compiling):
57         Document test-wrapper-env-only.
58         * INSTALL: Regenerated.
60 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62         [BZ #18043]
63         * posix/wordexp.c (parse_param): Fix buffer overflow.
64         * posix/wordexp-test.c (do_bz18043): Add test case.
66 2015-03-06  Vincent Bernat  <vincent@bernat.im>
68         * time/tst-strptime2.c (do_test): Ensure failing tests are
69         reported correctly.
70         * time/tst-strptime3.c (do_test): Likewise.
72 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
74         Fix aio_error thread-safety.
75         * sysdeps/pthread/aio_error.c: New file
76         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
77         synchronization.
79 2015-03-06  Florian Weimer  <fweimer@redhat.com>
81         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
82         (group_number, vfprintf): Use it.
83         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
84         (JUMP, REF): Use it.
85         (WORK_BUFFER_SIZE): New enum constant.
86         (process_arg, vfprintf): Use it.
88 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
90         * manual/errno.texi (Error Messages): Complete example function
91         by adding missing #define.
92         (program_invocation_name): Add statement indicating GNU
93         extension and reference which header file declares the variable.
94         (program_invocation_short_name): Likewise.
96 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
98         * manual/errno.texi (Error Messages): Delete strerror ISO C89
99         compatibility note.
101 2015-03-05  Roland McGrath  <roland@hack.frob.com>
103         * Makeconfig (test-wrapper-env-only): New variable.
104         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
105         then use that with $(test-wrapper-env-only) rather than using
106         $(test-wrapper-env) $(run-program-env) $($*-ENV).
108 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
110         [BZ #18082]
111         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
112         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
113         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
114         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
115         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
116         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
117         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
118         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
119         Likewise.
120         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
121         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
122         Likewise.
123         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
124         Likewise.
125         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
126         Likewise.
127         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
128         Likewise.
129         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
130         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
131         Likewise.
132         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
133         Likewise.
134         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
135         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
137 2015-03-04  Roland McGrath  <roland@hack.frob.com>
139         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
140         (ETH_ALEN): New macro.
141         (struct ether_addr): Use it for length of ether_addr_octet.
143         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
144         (setdb): Don't call __nss_configure_lookup for "rpc".
145         (do_test): Don't call test_rpc.
146         (output_rpcent, test_rpc): Functions moved ...
147         * sunrpc/test-rpcent.c: ... to this new file.
148         * sunrpc/Makefile (tests): Add it.
150         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
151         __xpg_sigpause.
152         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
153         * nptl/tst-signal6.c: Likewise.
154         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
155         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
157         * configure.ac (libc_cv_cxx_link_ok): New check.
158         Reset CXX to empty if it fails to link.
159         * configure: Regenerated.
160         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
161         bug-atexit3-lib only if $(CXX) is nonempty.
162         * nptl/Makefile (tests): Likewise for tst-cancel24.
163         (tests, tests-static): Likewise for tst-cancel24-static.
164         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
165         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
166         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
167         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
169 2015-03-04  Andreas Schwab  <schwab@suse.de>
171         [BZ #17631]
172         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
173         for non-GCC compilers.
174         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
175         Likewise.
177 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
179         [BZ #17776]
180         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
181         integer before bitwise and assembly operations.
182         (feclearexcept): Likewise.
183         * math/test-fenvinline.c: New file.
184         * math/Makefile: Add test-fenvinline test.
186 2015-03-03  Alan Modra  <amodra@gmail.com>
188         [BZ #16512]
189         * scripts/localplt.awk: Strip off symbol version.
190         * NEWS: Mention bug fix.
192 2015-03-02  Roland McGrath  <roland@hack.frob.com>
194         * sysdeps/pthread/timer_routines.c
195         (timer_free_list, thread_free_list, thread_active_list): Make static.
197 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
199         [BZ #17779]
200         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
201         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
202         Undefine.
203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
204         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
205         Likewise.
206         * sysdeps/unix/sysv/linux/sh/kernel-features.h
207         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
208         Likewise.
210 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
212         [BZ #18036]
213         * posix/fnmatch_loop.c (END): Detect invalid pattern.
214         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
216 2015-03-02  Andreas Schwab  <schwab@suse.de>
218         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
219         variable name.
221 2015-03-02  Florian Weimer  <fweimer@redhat.com>
223         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
224         Return error status.
226 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
228         [BZ #15969]
229         * locale/findlocale.c (_nl_find_locale): Introduce const
230         version of loc_name and drop unsafe type casts.
232 2015-02-27  Roland McGrath  <roland@hack.frob.com>
234         * dlfcn/tststatic2.c (main): Converted to ...
235         (do_test): ... this.
236         (TEST_FUNCTION): New macro.
237         Include test-skeleton.c.
239 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
241         [BZ #17711]
242         * elf/Makefile (tests): Add vismain only if PIE is enabled.
243         (tests-pie): Add vismain.
244         (CFLAGS-vismain.c): New.
245         * elf/vismain.c: Add comments for PIE requirement.
247 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
249         [BZ #18046]
250         [BZ #18047]
251         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
252         0x1p-56L as threshold for just returning the argument.
253         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
254         0x1p-32L as threshold for just returning the argument.
255         * math/auto-libm-test-in: Add more tests of atanh.
256         * math/auto-libm-test-out: Regenerated.
257         * sysdeps/i386/fpu/libm-test-ulps: Update.
258         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
260 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
262         * string/bcopy.c (bcopy): Call memmove for performance.
264 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
266         * string/bzero.c (__bzero): Call memset for performance.
268 2015-02-27  John David Anglin  <dave.anglin@bell.net>
270         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
271         to 00100000.
273 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
275         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
277 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
279         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
280         (__kernel_standard): Use CSTR macro when setting exc.name.
281         * sysdeps/ieee754/Makefile [$(subdir) = math]
282         (CFLAGS-k_standard.c): Remove variable.
284         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
285         setting p and q from "else if" to "else".
286         (qzero): Likewise.
287         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
288         (qone): Likewise.
289         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
290         (qzerof): Likewise.
291         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
292         (qonef): Likewise.
293         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
294         (qzero): Likewise.
295         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
296         (qone): Likewise.
298         [BZ #18038]
299         [BZ #18039]
300         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
301         return pi/2 for arguments below 0x1p-113L.
302         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
303         return pi/2 for arguments below 0x1p-106L.
304         * math/auto-libm-test-in: Add more tests of acos.
305         * math/auto-libm-test-out: Regenerated.
307         [BZ #16351]
308         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
309         (MO): New macro.
310         (__ieee754_asin): Force underflow exception for results with small
311         absolute value.
312         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
313         (MO): New macro.
314         (__ieee754_asinf): Force underflow exception for results with
315         small absolute value.
316         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
317         (__ieee754_asin): Force underflow exception for results with small
318         absolute value.
319         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
320         (__ieee754_asinf): Force underflow exception for results with
321         small absolute value.
322         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
323         (__ieee754_asinl): Force underflow exception for results with
324         small absolute value.
325         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
326         (__ieee754_asinl): Force underflow exception for results with
327         small absolute value.
328         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
329         (__ieee754_asinl): Force underflow exception for results with
330         small absolute value.
331         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
332         Include <math.h>.
333         * math/auto-libm-test-in: Do not mark underflow exceptions as
334         possibly missing for bug 16351.
335         * math/auto-libm-test-out: Regenerated.
337         [BZ #18030]
338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
339         of power of 2 down when low part has opposite sign.
340         * math/libm-test.inc (logb_test_data): Add more tests.
342 2015-02-26  Andreas Schwab  <schwab@suse.de>
344         [BZ #18032]
345         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
346         over collating symbol inside a bracket expression.  Minor cleanup.
347         * posix/tst-fnmatch3.c (do_test): Add test case.
349 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
351         [BZ #18029]
352         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
353         Adjust exponent of power of 2 down when low part has opposite
354         sign.
355         * math/libm-test.inc (ilogb_test_data): Add more tests.
357 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
359         [BZ #15969]
360         * locale/findlocale.c (_nl_find_locale): Fix constness error in
361         the previous change.
363         [BZ #15969]
364         * locale/findlocale.c (_nl_find_locale): Retry archive search
365         after alias expansion.
367 2015-02-25  Roland McGrath  <roland@hack.frob.com>
369         * iconv/tst-iconv3.c (main): Converted to ...
370         (do_test): ... this.
371         (TEST_FUNCTION): New macro.
372         Include test-skeleton.c.
374         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
375         (convert): Make function static.
376         (test_unalign): Likewise.  Add const to argument pointee types.
377         (main): Replace with static function do_test.
378         Print "Succeeded." only if RET is zero.
379         (TEST_FUNCTION): New macro.
380         Include test-skeleton.c.
382         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
383         returns a null pointer.
385 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
387         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
388         to __memcpy_ppc only for static builds.
390 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
392         [BZ #18020]
393         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
394         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
395         * math/auto-libm-test-in: Add more tests of asinh.
396         * math/auto-libm-test-out: Regenerated.
397         * sysdeps/i386/fpu/libm-test-ulps: Update.
398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
400 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
402         [BZ #15850]
403         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
404         and ip6_mtuinfo definitions here.
405         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
406         in this define too.  Update comment.
408 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
410         * elf/sprof.c (load_shobj): Tweak error message to match others.
412 2015-02-24  Kevin Easton  <kevin@guarana.org>
414         [BZ #16145] (partial fix)
415         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
416         to reduce lock contention.
418 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
420         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
421         (struct timex): Update time comment.
422         (ADJ_SETOFFSET): Define.
424 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
426         [BZ #18019]
427         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
428         2**56 not 2**28 as threshold for log (2x) formula.
429         * math/auto-libm-test-in: Add more tests of acosh.
430         * math/auto-libm-test-out: Regenerated.
431         * sysdeps/i386/fpu/libm-test-ulps: Update.
432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
434 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
436         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
437         parenthesis around the buf assignment.
438         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
440 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
442         [BZ #16783]
443         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
444         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
445         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
446         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
447         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
448         * math/libm-test.inc (scalb_test_data): Add more tests.
450 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
452         [BZ #17916]
453         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
454         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
456 2015-02-24  Eric Rannaud  <e@nanocritical.com>
458         [BZ #17523]
459         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
460         * io/bits/fcntl2.h (open): Use it.
461         (openat): Likewise.
462         * io/open.c (__libc_open): Likewise.
463         * io/open64.c (__libc_open64): Likewise.
464         * io/open64_2.c (__open64_2): Likewise.
465         * io/open_2.c (__open_2): Likewise.
466         * io/openat.c (__openat): Likewise.
467         * io/openat64.c (__openat64): Likewise.
468         * io/openat64_2.c (__openat64_2): Likewise.
469         * io/openat_2.c (__openat_2): Likewise.
470         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
471         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
472         * sysdeps/posix/open64.c (__libc_open64): Likewise.
473         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
474         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
475         (__open_nocancel): Likewise.
476         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
477         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
478         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
480 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
482         [BZ #14841]
483         * resolv/gethnamaddr.c (getanswer): Skip logging if
484         RES_USE_DNSSEC is set.
485         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
487 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
489         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
491 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
493         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
494         201304L, for Unicode 7.
496 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
498         [BZ #17836]
499         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
500         shared library.  Add gmon-start.os otherwise.
501         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
502         $(objpfx)gmon-start.os if builing shared library.
503         ($(objpfx)g$(static-start-installed-name)): Likewise.
505 2015-02-23  Andreas Schwab  <schwab@suse.de>
507         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
509 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
511         [BZ #17269]
512         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
513         (enlarge_userbuf): Likewise.
515 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
517         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
518         * math/atest-exp.c (TIMEOUT): Adjust to 200.
519         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
520         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
522 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
524         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
525         expression inside statement expression.
527 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
529         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
530         <sysdeps/nptl/lowlevellock.h> and remove macros and
531         functions that are now defined there.
532         (SYS_futex): Remove.
533         (lll_compare_and_swap): Remove.
534         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
536 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
538         [BZ #17999]
539         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
540         instead of scandirat.
541         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
542         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
543         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
544         __scandirat.
545         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
546         (__scandirat): Declare.  Use libc_hidden_proto.
547         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
548         Remove variable.
549         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
551 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
553         [BZ #15319]
554         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
555         (MO): New macro.
556         (__ieee754_atan2): For results with small absolute value, force
557         underflow exception and remove excess range and precision from
558         return value.
559         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
560         (MO): New macro.
561         (__ieee754_atan2f): For results with small absolute value, force
562         underflow exception and remove excess range and precision from
563         return value.
564         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
565         (MO): New macro.
566         (__atan): For results with small absolute value, force underflow
567         exception and remove excess range and precision from return value.
568         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
569         (MO): New macro.
570         (__atanf): For results with small absolute value, force underflow
571         exception and remove excess range and precision from return value.
572         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
573         <math.h>.
574         (__ieee754_atan2): Force underflow exception for results with
575         small absolute value.
576         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
577         <math_private.h>.
578         (atan): Force underflow exception for results with small absolute
579         value.
580         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
581         (__atanf): Force underflow exception for results with small
582         absolute value.
583         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
584         <math.h>.
585         (__atanl): Force underflow exception for results with small
586         absolute value.
587         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
588         (__atanl): Force underflow exception for results with small
589         absolute value.
590         * sysdeps/x86/fpu/bits/mathinline.h
591         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
592         (__ieee754_atan2): Only define inline for long double.
593         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
594         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
595         * math/auto-libm-test-in: Do not mark underflow exceptions as
596         possibly missing for bug 15319.  Add more tests of atan2.
597         * math/auto-libm-test-out: Regenerated.
598         * math/libm-test.inc (casin_test_data): Do not mark underflow
599         exceptions as possibly missing for bug 15319.
600         (casinh_test_data): Likewise.
601         * sysdeps/i386/fpu/libm-test-ulps: Update.
603 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
605         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
606         * sysdeps/mips/bits/endian.h: Fix comments.
608 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
610         [BZ #17996]
611         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
612         (hdestroy_r): Likewise.
613         (hsearch_r): Likewise.
614         (__hcreate_r): Declare and use libc_hidden_proto.
615         (__hdestroy_r): Likewise.
616         (__hsearch_r): Likewise.
617         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
618         (hcreate): Call __hcreate_r instead of hcreate_r.
619         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
620         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
621         as weak alias of __hcreate_r.
622         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
623         __hdestroy_r.
624         (hsearch_r): Rename to __hsearch_r and define as weak alias of
625         __hsearch_r.
626         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
627         Remove variable.
628         (test-xfail-XPG4/search.h/linknamespace): Likewise.
629         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
630         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
631         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
633 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
635         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
636         arena_lock into a single arena_get.
638 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
640         * dl-reloc.c: Inlucde libc-internal.h.
641         (_dl_try_allocate_static_tls): Call ALIGN_UP.
642         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
643         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
644         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
645         (grow_heap): Likewise.
646         * malloc/malloc.c: Include libc-internal.h.
647         (do_check_malloc): Call powerof2.
648         (sysmalloc): Use pagesize. Call ALIGN_UP.
649         (systrim): Use pagesize.
650         (mremap_chunk): Use pagesize. Call ALIGN_UP.
651         (__libc_valloc): Use pagesize.
652         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
654 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
656         [BZ #17991]
657         * include/sys/resource.h (__getrlimit64): Declare.  Use
658         libc_hidden_proto.
659         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
660         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
661         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
662         getrlimit64.
663         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
664         __getrlimit64.
665         [!getrlimit64] (getrlimit64): Define as weak alias of
666         __getrlimit64.  Use libc_hidden_weak.
667         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
668         using __getrlimit64 not __new_getrlimit64.
669         (__GI_getrlimit64): Likewise.
670         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
671         Likewise.
672         (__GI_getrlimit64): Likewise.
673         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
675         (getrlimit): Add __getrlimit64 alias.
676         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
677         Likewise.
678         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
679         Remove variable.
680         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
681         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
683 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
685         * libio/fileops.c: Add missing sys/mman.h
686         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
688 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
690         * manual/math.texi (Errors in Math Functions): Clarify goals
691         regarding inexact and underflow exceptions.
693 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
695         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
696         * sysdeps/mips/memset.S: Ditto.
698 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
700         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
702 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
704         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
705         (__v1longjmp): Remove versioned symbol.
706         (__v1siglongjmp): Remove alias and versioned symbol.
707         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
708         (__v2siglongjmp): Likewise.
710 2015-02-16  Torvald Riegel  <triegel@redhat.com>
712         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
714 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
716         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
718 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
720         [BZ #17987]
721         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
722         zero result does not depend on the sign resulting from
723         subtraction.
724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
725         Likewise.
726         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
727         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
728         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
729         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
730         * math/libm-test.inc (remquo_test_data): Add more tests.
732 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
734         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
735         Problem reported by J William Piggott.
737 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
739         [BZ #17978]
740         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
741         products 4 * y and 2 * y where those would overflow.
742         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
743         Likewise.
744         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
745         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
746         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
747         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
748         * math/libm-test.inc (remquo_test_data): Add more tests.
750         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
752         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
753         [defined _COMPILING_NEWLIB].
754         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
755         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
757         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
758         [!defined __mips_isa_rev || __mips_isa_rev < 6].
760 2015-02-16  Torvald Riegel  <triegel@redhat.com>
762         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
763         acquired.
765 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
767         [BZ #17792]
768         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
769         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
770         HOST_STACK_END_ADDR): Likewise.
772 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
774         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
775         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
776         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
778 2015-02-13  Roland McGrath  <roland@hack.frob.com>
780         * sysdeps/generic/c++-types.data: New file.
781         * sysdeps/generic/ld.abilist: New file.
782         * sysdeps/generic/libBrokenLocale.abilist: New file.
783         * sysdeps/generic/libanl.abilist: New file.
784         * sysdeps/generic/libc.abilist: New file.
785         * sysdeps/generic/libcrypt.abilist: New file.
786         * sysdeps/generic/libdl.abilist: New file.
787         * sysdeps/generic/libm.abilist: New file.
788         * sysdeps/generic/libpthread.abilist: New file.
789         * sysdeps/generic/libresolv.abilist: New file.
790         * sysdeps/generic/librt.abilist: New file.
792 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
794         [BZ #17569]
795         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
796         Compute absolute value of x as modified by fmod, not original
797         value of x.
798         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
799         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
800         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
801         RUN_TEST_ffI_f1_mod8.
802         (remquo_test_data): Add more tests.
804 2015-02-13  Roland McGrath  <roland@hack.frob.com>
806         * sysdeps/init_array/pt-crti.S: New file.
808 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
810         [BZ #17967]
811         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
812         __builtin_fmaf instead of relying on contraction of a * b + c.
814 2015-02-12  J William Piggott  <elseifthen@gmx.com>
816         [BZ #17969]
817         * manual/time.texi: correct the zoneinfo path in the TZ Variable
818         node.
820 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
822         [BZ #17964]
823         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
824         __builtin_fma instead of relying on contraction of a * b + c.
826 2015-02-12  Roland McGrath  <roland@hack.frob.com>
828         * Makeconfig (ASFLAGS): Add -Werror=undef.
829         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
830         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
831         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
833         * Makeconfig (after-link): New variable.
834         (+link-pie, +link-pie-tests): Use it.
835         (+link-static, +link-static-tests): Likewise.
836         (+link, +link-tests): Likewise.
837         * Makerules (build-module, build-module-asneeded): Likewise.
838         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
839         Likewise.
840         * elf/Makefile ($(objpfx)ld.so): Likewise.
842 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
844         [BZ #17965]
845         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
846         both struct timeval and struct timespec.
848 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
850         [BZ #16560]
851         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
852         and redefine.
853         (__ieee754_exp2l): Do not multiply small fractional parts by
854         M_LN2l.
855         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
856         small argument.
857         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
858         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
859         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
860         * math/auto-libm-test-in: Add more tests of exp2.
861         * math/auto-libm-test-out: Regenerated.
863 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
865         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
866         unaligned path.
868 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
870         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
871         little endian.
873 2015-02-12  Andreas Schwab  <schwab@suse.de>
875         [BZ #15790]
876         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
877         Filter out elision flags from value returned in kind.
878         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
879         * nptl/tst-pthread-mutexattr.c: New file.
881 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
883         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
884         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
885         into gnu-gnu, and update comment to refer to abi-tags.
887 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
889         [BZ #15467]
890         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
891         (__sincos): Set errno to EDOM for infinite argument.
892         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
893         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
894         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
895         (__sincosl): Set errno to EDOM for infinite argument.
896         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
897         (__sincosl): Set errno to EDOM for infinite argument.
898         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
899         (__sincosl): Set errno to EDOM for infinite argument.
900         * math/libm-test.inc (sincos_test_data): Test errno setting.
902 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
904         * string/strxfrm_l.c: Remove #define STRCMP.
905         * string/strcoll_l.c: Remove #define STRLEN.
906         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
907         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
909 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
911         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
912         * sysdeps/mips/mips32/sfp-machine.h: ... here.
913         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
914         * sysdeps/mips/mips64/Makefile: ... here.
915         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
916         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
917         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
918         * sysdeps/mips/mips64/sfp-machine.h: ... here.
919         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
920         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
921         * sysdeps/mips/mips64/n64/Implies: Likewise.
923 2015-02-10  Roland McGrath  <roland@hack.frob.com>
925         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
926         <sys/time.h>, <string.h>, and <errno.h>.
927         (dest_offset, dest_address, value, zero): Remove unused variables.
928         (ldouble): Remove typedef.
929         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
930         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
931         1).  Fix code style.
932         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
933         (check): Function removed.
934         (CHECK): New macro.
935         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
936         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
937         Don't call set_sigaction_FP and remove_sigaction_FP here.
938         (ldouble_test): Just use 'long double' as macro argument, no need for
939         the 'ldouble' typedef.
940         (do_test): Set up SIGFPE handler at start, using plain signal rather
941         than sigaction.  Fix code style.
943 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
945         [BZ #17949]
946         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
947         jump label.
949 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
951         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
952         * sysdeps/powerpc/powerpc32/configure: Regenerated.
954         * sysdeps/powerpc/configure.ac: Remove file.
955         * sysdeps/powerpc/configure: Likewise.
957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
958         [sysdep_routines]: Remove wordcopy-power6 object.
959         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
960         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
961         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
962         (__memmove_ppc32): Likewise.
963         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
964         file.
965         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
967         Remove preprocessor.
969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
970         [sysdep_routines]: Remove wide chars objects.
971         [wcsmbs]: New rule for wide char objects.
973         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
974         Remove wordcopy-power6 obejct.
975         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
976         Use local call for wordcopy and memcpy symbols.
977         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
978         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
979         implementation for loader.
980         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
982         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
983         Remove wordcopy-power7 object.
984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
985         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
986         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
987         (_wordcopy_fwd_dest_aligned): Likewise.
988         (_wordcopy_bwd_aligned): Likewise.
989         (_wordcopy_bwd_dest_aligned): Likewise.
991         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
992         Rewrite to call __memmove_ppc instead of include default
993         implementation.
995         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
996         Remove wide chars objects.
997         [wcsmbs]: New rule for wide char objects.
999 2015-02-09  Andreas Schwab  <schwab@suse.de>
1001         [BZ #17912]
1002         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1003         in terms of __O_DIRECTORY.
1005 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1007         * time/getdate.c: Include <stdbool.h>.
1008         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1009         call PTR_MANGLE.
1010         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1011         PTR_DEMANGLE.
1013 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1015         Add ersatz _Static_assert on older C hosts
1016         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1017         pre-C11 C platform that is not known to support _Static_assert.
1019 2015-02-07  Richard Braun  <rbraun@sceen.net>
1021         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1022         sigstate.
1023         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1025 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1027         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1028         priority against unexistent AIO_PRIO_DELTA_MAX.
1029         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1030         instead of int.
1031         * misc/fchflags.c (fchflags): Likewise.
1032         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1033         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1034         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1035         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1036         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1037         Declare macros.
1038         [__USE_MISC] (chflags, fchflags): Declare functions.
1039         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1040         EINVAL when nfds is greater than FD_SETSIZE.
1041         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1042         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1043         45.
1044         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1045         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1046         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1047         MACH_RCV_TIMED_OUT.
1048         * hurd/hurd/signal.h (_hurd_self_sigstate,
1049         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1050         Explicit casts from void *.
1051         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1052         * abi-tags: Rename gnu-gnu os into gnu.
1054         [BZ #4719]
1055         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1056         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1057         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1058         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1059         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1060         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1062         [BZ #17944]
1063         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1064         duplicates ADDR->sun_path with sockaddr LEN limitation.
1065         * sysdeps/mach/hurd/connect.c: Include <string.h>
1066         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1067         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1068         * sysdeps/mach/hurd/sendto.c: Likewise.
1069         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1070         implementing it by hand.
1072 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1074         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1075         Use sfi_breg on ldr.
1076         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1077         Likewise.
1079         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1080         it's defined.
1081         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1082         Test SIGSETXID only if it's defined.
1084         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1086         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1087         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1089         * nptl/tst-align2.c: Moved ...
1090         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1091         * nptl/Makefile (tests): Remove tst-align2.
1092         * sysdeps/unix/sysv/linux/Makefile
1093         [$(subdir) = nptl] (tests): Add tst-align-clone.
1094         * nptl/tst-getpid1.c: Moved ...
1095         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1096         * nptl/tst-getpid2.c: Moved ...
1097         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1098         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1099         * sysdeps/unix/sysv/linux/Makefile
1100         [$(subdir) = nptl] (tests): ... here.
1101         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1102         * sysdeps/unix/sysv/linux/Makefile
1103         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1105         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1106         Drop trailing \n from perror argument.  Use return rather than exit.
1108         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1109         on [SA_SIGINFO].
1110         * nptl/tst-cancel21.c (do_test): Likewise.
1111         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1112         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1113         [!SA_SIGINFO]: Make it a stub test.
1115         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1116         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1118         * posix/tst-getlogin.c: Move to ...
1119         * login/tst-getlogin.c: ... here.
1120         * posix/Makefile (tests): Move tst-getlogin to ...
1121         * login/Makefile (tests): ... here.
1123         * libio/tst-atime.c (do_test): Move local variables SV and E
1124         inside [ST_NOATIME] conditional.
1126         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1128         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1130         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1131         (wait_code): New function replaces macro.
1132         Call nanosleep rather than syscall.
1134         * nptl/pt-system.c: Rewritten.  Put everything under
1135         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1136         Use IFUNC to redirect when possible.
1138         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1139         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1140         Use IFUNC to redirect when possible.
1142         * nptl/pt-fork.c: Rewritten.  Put everything under
1143         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1144         Use IFUNC to redirect when possible.
1145         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1147         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1148         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1149         unconditionally nowadays.  This included the only reference to
1150         __vdso_clock_gettime that appears outside libc proper.
1151         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1152         Remove version set (containing only __vdso_clock_gettime).
1153         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1154         Add attribute_hidden.
1155         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1156         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1157         libc_hidden_data_def.
1158         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1159         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1161         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1162         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1163         setrpcent, and getrpcport to ...
1164         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1165         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1166         getrpcbynumber_r, and getrpcent_r to ...
1167         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1168         * inet/getrpcbyname.c: Moved ...
1169         * sunrpc/getrpcbyname.c: ... here.
1170         * inet/getrpcbyname_r.c: Moved ...
1171         * sunrpc/getrpcbyname_r.c: ... here.
1172         * inet/getrpcbynumber.c: Moved ...
1173         * sunrpc/getrpcbynumber.c: ... here.
1174         * inet/getrpcbynumber_r.c: Moved ...
1175         * sunrpc/getrpcbynumber_r.c: ... here.
1176         * inet/getrpcent.c: Moved ...
1177         * sunrpc/getrpcent.c: ... here.
1178         * inet/getrpcent_r.c: Moved ...
1179         * sunrpc/getrpcent_r.c: ... here.
1180         * inet/Makefile (routines): Move those to ...
1181         * sunrpc/Makefile (routines): ... here.
1182         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1183         the $(subdirs) list.
1184         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1185         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1186         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1187         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1189         * elf/Makefile (routines): Include $(all-dl-routines), not just
1190         $(dl-routines).
1191         (rtld-routines): Likewise.  Use = rather than :=.
1192         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1193         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1194         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1195         * sysdeps/arm/Makefile: Likewise.
1196         * sysdeps/i386/Makefile: Likewise.
1197         * sysdeps/x86_64/Makefile: Likewise.
1198         * sysdeps/hppa/Makefile [$(subdir) = elf]
1199         (sysdep_routines, sysdep-rtld-routines): Don't add
1200         $(sysdep-dl-routines) to these.
1201         * sysdeps/ia64/Makefile: Likewise.
1202         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1203         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1204         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1205         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1206         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1207         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1208         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1209         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1210         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1211         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1212         these; sysdep-dl-routines alone is enough.
1214 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1216         [BZ #17932]
1217         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1218         where multiplication results in zero and third argument is finite
1219         and nonzero.
1220         * math/auto-libm-test-in: Add more tests of fma.
1221         * math/auto-libm-test-out: Regenerated.
1223         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1224         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1225         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1226         (_FP_CMP_EQ): Likewise.
1227         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1229         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1230         extra argument CHECK_NAN.  Redefine as wrapper around
1231         _FP_EXTEND_CNAN.
1233 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1235         * version.h (RELEASE): Set to "stable".
1236         (VERSION): Set to "2.21"
1237         * include/features.h (__GLIBC_MINOR__): Set to 21.
1239         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1241 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1242             Paul Eggert  <eggert@cs.ucla.edu>
1244         [BZ #16618]
1245         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1246         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1247         size in bytes. Store needed elements in wpmax. Use needed size
1248         in bytes for extend_alloca.
1250 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1252         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1253         binutls 2.25, and texinfo 5.2.
1254         * INSTALL: Regenerate.
1255         * sysdeps/nios2/configure: Regenerate.
1256         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1257         * manual/contrib.texi: Update.
1258         * po/be.po: Update.
1259         * po/bg.po: Update.
1260         * po/ca.po: Update.
1261         * po/cs.po: Update.
1262         * po/da.po: Update.
1263         * po/de.po: Update.
1264         * po/el.po: Update.
1265         * po/eo.po: Update.
1266         * po/es.po: Update.
1267         * po/fi.po: Update.
1268         * po/fr.po: Update.
1269         * po/gl.po: Update.
1270         * po/hr.po: Update.
1271         * po/hu.po: Update.
1272         * po/ia.po: Update.
1273         * po/id.po: Update.
1274         * po/it.po: Update.
1275         * po/ja.po: Update.
1276         * po/ko.po: Update.
1277         * po/lt.po: Update.
1278         * po/nb.po: Update.
1279         * po/nl.po: Update.
1280         * po/pl.po: Update.
1281         * po/pt_BR.po: Update.
1282         * po/ru.po: Update.
1283         * po/rw.po: Update.
1284         * po/sk.po: Update.
1285         * po/sl.po: Update.
1286         * po/sv.po: Update.
1287         * po/tr.po: Update.
1288         * po/uk.po: Update.
1289         * po/vi.po: Update.
1290         * po/zh_CN.po: Update.
1291         * po/zh_TW.po: Update.
1293         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1294         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1295         * sysdeps/hppa/dl-irel.h: Remove #warning.
1296         * sysdeps/hppa/entry.h: Provide prototype for
1297         __canonicalize_funcptr_for_compare and cast argument.
1298         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1299         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1300         * sysdeps/hppa/sotruss-lib.c: New file.
1301         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1302         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1303         (atomic_compare_and_exchange_bool_acq): Likewise.
1304         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1305         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1307         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1308         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1309         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1311 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1313         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1314         called function in non-PIC case.
1316 2015-01-31  David S. Miller  <davem@davemloft.net>
1318         * sysdeps/sparc/sparc32/bits/atomic.h
1319         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1320         unlock not after it.
1321         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1322         volatile register usage warnings from the compiler.
1324         * sysdeps/sparc/nptl/sem_init.c: Delete.
1325         * sysdeps/sparc/nptl/sem_post.c: Delete.
1326         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1327         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1328         * sysdeps/sparc/sparc32/sem_init.c: New file.
1329         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1330         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1331         padding explicitly initialized.
1332         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1333         padding for in-semaphore spinlock.
1334         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1335         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1336         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1337         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1338         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1339         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1340         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1341         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1342         version.
1343         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1344         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1346 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1348         [BZ #17801]
1349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1350         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1351         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1352         New.
1353         (index_AVX_Fast_Unaligned_Load): Likewise.
1354         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1355         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1356         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1357         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1358         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1359         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1360         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1361         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1362         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1364 2015-01-29  Andreas Schwab  <schwab@suse.de>
1366         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1368 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1370         [BZ #17892]
1371         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1373 2015-01-28  Martin Sebor  <msebor@redhat.com>
1375         * math/README.libm-test: Clarify. Add "How to read the test output."
1377 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1379         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1380         Define to 0.
1382 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1384         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1385         (__HAVE_64B_ATOMICS): Define to 0.
1387 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1389         [BZ #17885]
1390         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1391         value to set as new flag.
1393         [BZ #16576]
1394         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1395         and use _ARCH_PPCSQ instead.
1396         (__ieee754_sqrt): Likewise.
1397         (__ieee754_sqrtf): Likewise.
1398         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1399         _ARCH_PPCSQ is defined.
1400         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1401         fsqrt instruction.
1402         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1403         _ARCH_PPCSQ is defined.
1404         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1405         fsqrts instruction.
1406         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1408 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1410         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1411         bug (GCC BZ #64739).
1413 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1415         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1416         Mark _retval as used.
1417         (lll_futex_wake_unlock): Likewise.
1418         (lll_futex_timed_wait_requeue_pi): Likewise.
1420         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1421         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1422         register variables.
1424         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1425         libm_hidden_def.
1427         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1428         (__bswap_64): Mark as __always_inline.
1430 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1432         [BZ #15378]
1433         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1434         when none of the search directories exist.
1436 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1438         [BZ #17869]
1439         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1440         power8 in .machine directive.
1442         [BZ #17868]
1443         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1444         set dependency from opd value.
1446 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1449         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1450         architecture.
1452 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1454         [BZ #17870]
1455         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1456         with uint64_t.
1457         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1458         (uint64_t) 1.
1459         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1460         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1461         Replace 1UL with (uint64_t) 1.
1462         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1463         int with uint64_t.
1465 2015-01-23  Roland McGrath  <roland@hack.frob.com>
1467         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1468         (if_freenameindex): Likewise.
1470         * resource/getrlimit64.c: Add missing libc_hidden_def.
1472 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
1474         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1475         __label__.
1476         (_FP_FMA): Likewise.
1477         (_FP_TO_INT_ROUND): Likewise.
1478         (_FP_FROM_INT): Likewise.
1480 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1482         [BZ #16418]
1483         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1484         Make code racy and cancel safe.
1486 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
1488         * sysdeps/arm/unwind-resume.h: Fix copyright year.
1489         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1490         attribution.
1492         * pwd/tst-getpw.c: Rewrite.
1494         [BZ #17702]
1495         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1496         (modules-names): Add moddummy1 and moddummy2.
1497         ($(objpfx)tst-rec-dlopen): Define.
1498         * dlfcn/moddummy1.c: New file.
1499         * dlfcn/moddummy2.c: New file.
1500         * dlfcn/tst-rec-dlopen.c: New file.
1501         * elf/dl-cache.c (_dl_load_cache_lookup):
1502         Return char*. Copy result with alloca/strcpy/strdup.
1503         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1504         returns char*. Free cached. If not saving realname
1505         free cached.
1506         * elf/dl-open.c (dl_open_worker): Do not assert that
1507         _r_debug->r_state is RT_CONSISTENT.
1508         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1509         returns char*.
1511 2015-01-21  Torvald Riegel  <triegel@redhat.com>
1512             Carlos O'Donell  <carlos@redhat.com>
1514         [BZ #12674]
1515         * nptl/sem_waitcommon.c: New file.
1516         * nptl/sem_wait.c: Include sem_waitcommon.c.
1517         (__sem_wait_cleanup, do_futex_wait): Remove.
1518         (__new_sem_wait): Adapt.
1519         (__new_sem_trywait): New function.
1520         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1521         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1522         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1523         (sem_timedwait): Adapt.
1524         * nptl/sem_post.c (__new_sem_post): Adapt.
1525         (futex_wake): New function.
1526         (__old_sem_post): Add release MO fence.
1527         * nptl/sem_open.c (sem_open): Adapt.
1528         * nptl/sem_init.c (__new_sem_init): Adapt.
1529         (futex_private_if_supported): New function.
1530         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1531         (__old_sem_getvalue): Add using previous code.
1532         * sysdeps/nptl/internaltypes.h: Adapt.
1533         * nptl/tst-sem13.c (do_test): Adapt.
1534         * nptl/tst-sem11.c (main): Adapt.
1535         * nptl/sem_trywait.c: Remove.
1536         * nptl/DESIGN-sem.txt: Remove.
1537         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1538         (gen-as-const-headers): Remove structsem.sym.
1539         * nptl/structsem.sym: Remove.
1540         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1541         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1542         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1543         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1544         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1545         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1546         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1547         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1548         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1549         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1550         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1551         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1552         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1553         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1554         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1555         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1556         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1557         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1558         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1559         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1560         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1561         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1563 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
1565         * INSTALL: Regenerated.
1567         * po/libc.pot: Regenerated.
1569 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
1570             Sandra Loosemore  <sandra@codesourcery.com>
1571             Andrew Jenner  <andrew@codesourcery.com>
1572             Joseph Myers  <joseph@codesourcery.com>
1573             Nathan Sidwell  <nathan@codesourcery.com>
1575         * NEWS: Mention new Nios II port.
1576         * sysdeps/nios2/Implies: New file.
1577         * sysdeps/nios2/Makefile: New file.
1578         * sysdeps/nios2/Subdirs: New file.
1579         * sysdeps/nios2/Versions: New file.
1580         * sysdeps/nios2/__longjmp.S: New file.
1581         * sysdeps/nios2/abort-instr.h: New file.
1582         * sysdeps/nios2/backtrace.c: New file.
1583         * sysdeps/nios2/bits/endian.h: New file.
1584         * sysdeps/nios2/bits/fenv.h: New file.
1585         * sysdeps/nios2/bits/link.h: New file.
1586         * sysdeps/nios2/bits/setjmp.h: New file.
1587         * sysdeps/nios2/bsd-_setjmp.S: New file.
1588         * sysdeps/nios2/bsd-setjmp.S: New file.
1589         * sysdeps/nios2/configure: New generated file.
1590         * sysdeps/nios2/configure.ac: New file.
1591         * sysdeps/nios2/crti.S: New file.
1592         * sysdeps/nios2/crtn.S: New file.
1593         * sysdeps/nios2/dl-init.c: New file.
1594         * sysdeps/nios2/dl-machine.h: New file.
1595         * sysdeps/nios2/dl-sysdep.h: New file.
1596         * sysdeps/nios2/dl-tls.h: New file.
1597         * sysdeps/nios2/dl-trampoline.S: New file.
1598         * sysdeps/nios2/gccframe.h: New file.
1599         * sysdeps/nios2/gmp-mparam.h: New file.
1600         * sysdeps/nios2/jmpbuf-offsets.h: New file.
1601         * sysdeps/nios2/jmpbuf-unwind.h: New file.
1602         * sysdeps/nios2/ldsodefs.h: New file.
1603         * sysdeps/nios2/libc-tls.c: New file.
1604         * sysdeps/nios2/libm-test-ulps: New file.
1605         * sysdeps/nios2/machine-gmon.h: New file.
1606         * sysdeps/nios2/math-tests.h: New file.
1607         * sysdeps/nios2/math_private.h: New file.
1608         * sysdeps/nios2/memusage.h: New file.
1609         * sysdeps/nios2/nptl/Makefile: New file.
1610         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1611         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1612         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1613         * sysdeps/nios2/nptl/pthreaddef.h: New file.
1614         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1615         * sysdeps/nios2/nptl/tls.h: New file.
1616         * sysdeps/nios2/preconfigure: New file.
1617         * sysdeps/nios2/s_fma.c: New file.
1618         * sysdeps/nios2/s_fmaf.c: New file.
1619         * sysdeps/nios2/setjmp.S: New file.
1620         * sysdeps/nios2/sfp-machine.h: New file.
1621         * sysdeps/nios2/sotruss-lib.c: New file.
1622         * sysdeps/nios2/stackguard-macros.h: New file.
1623         * sysdeps/nios2/stackinfo.h: New file.
1624         * sysdeps/nios2/start.S: New file.
1625         * sysdeps/nios2/sysdep.h: New file.
1626         * sysdeps/nios2/tls-macros.h: New file.
1627         * sysdeps/nios2/tst-audit.h: New file.
1628         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1629         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1630         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1631         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1632         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1633         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1634         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1635         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1636         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1637         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1638         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1639         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1640         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1641         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1642         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1643         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1644         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1645         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1646         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1647         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1648         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1649         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1650         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1651         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1652         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1653         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1654         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1655         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1656         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1657         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1658         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1659         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1660         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1661         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1662         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1663         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1664         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1665         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1666         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1667         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1668         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1669         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1670         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1671         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1673 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1675         [BZ #17844]
1676         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1677         (getutent): Use weak_alias in non SHARED case
1678         and default_symbol_version in SHARED case.
1679         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1680         (getutent_r, pututline): Likewise.
1681         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1682         (getutid): Likewise.
1683         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1684         (getutid_r): Likewise.
1685         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1686         (getutline): Likewise.
1687         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1688         (getutline_r): Likewise.
1689         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1690         (updwtmp): Likewise.
1692 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1694         [BZ #17848]
1695         * sysdeps/s390/s390-32/memcmp.S
1696         (memcmp_g5): Rename to __memcmp_g5.
1697         * sysdeps/s390/s390-32/memcpy.S
1698         (memcpy_g5): Rename to __memcpy_g5.
1699         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1700         (memcpy_mvcle) Rename to __memcpy_mvcle.
1701         * sysdeps/s390/s390-32/memset.S
1702         (memset_g5): Rename to __memset_g5.
1703         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1704         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1705         and use prefixed functions.
1706         * sysdeps/s390/s390-32/multiarch/memcmp.S
1707         (memcmp_z196): Rename to __memcmp_z196.
1708         (memcmp_z10): Rename to __memcmp_z10.
1709         (memcmp): Set alias to __memcmp_g5.
1710         (bcmp): Set alias to __memcmp_g5.
1711         * sysdeps/s390/s390-32/multiarch/memcpy.S
1712         (memcpy_z196): Rename to __memcpy_z196.
1713         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1714         (memcpy_z10): Rename to __memcpy_z10.
1715         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1716         (memcpy): Set alias to __memcpy_g5.
1717         * sysdeps/s390/s390-32/multiarch/memset.S
1718         (memset_z196): Rename to __memset_z196.
1719         Jump to __memset_mvcle instead of memset_mvcle.
1720         (memset_z10): Rename to __memset_z10.
1721         Jump to __memset_mvcle instead of memset_mvcle.
1722         (memset_mvcle) Rename to __memset_mvcle.
1723         (memset): Set alias to __memset_g5.
1724         * sysdeps/s390/s390-64/memcmp.S
1725         (memcmp_z900): Rename to __memcmp_z900.
1726         * sysdeps/s390/s390-64/memcpy.S
1727         (memcpy_z900): Rename to __memcpy_z900.
1728         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1729         (memcpy_mvcle) Rename to __memcpy_mvcle.
1730         * sysdeps/s390/s390-64/memset.S
1731         (memset_z900): Rename to __memset_z900.
1732         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1733         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1734         and use prefixed functions.
1735         * sysdeps/s390/s390-64/multiarch/memcmp.S
1736         (memcmp_z196): Rename to __memcmp_z196.
1737         (memcmp_z10): Rename to __memcmp_z10.
1738         (memcmp): Set alias to __memcmp_z900.
1739         (bcmp): Set alias to __memcmp_z900.
1740         * sysdeps/s390/s390-64/multiarch/memcpy.S
1741         (memcpy_z196): Rename to __memcpy_z196.
1742         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1743         (memcpy_z10): Rename to __memcpy_z10.
1744         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1745         (memcpy): Set alias to __memcpy_z900.
1746         * sysdeps/s390/s390-64/multiarch/memset.S
1747         (memset_z196): Rename to __memset_z196.
1748         Jump to __memset_mvcle instead of memset_mvcle.
1749         (memset_z10): Rename to __memset_z10.
1750         Jump to __memset_mvcle instead of memset_mvcle.
1751         (memset_mvcle) Rename to __memset_mvcle.
1752         (memset): Set alias to __memset_z900.
1754 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
1756         [BZ #17748]
1757         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1758         __fesetenv instead of fesetenv.
1760 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1762         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1763         macro.
1765 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1767         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1768         regression on LE.
1770         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1771         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1773         strncmp-power8 object.
1774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1775         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1776         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1777         * NEWS: Update.
1779 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1782         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1783         trailing byte check.
1785 2015-01-13  David S. Miller  <davem@davemloft.net>
1787         * include/signal.h (__sigreturn): Guard with __USE_MISC.
1789 2015-01-13  Roland McGrath  <roland@hack.frob.com>
1791         * login/logout.c (logout): Use memset rather than bzero.
1792         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1793         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1794         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1795         (_gethtbyaddr): Likewise.
1796         * locale/programs/simple-hash.c (bcopy): Macro removed.
1798 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1800         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1801         Add strcmp-power8 object.
1802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1803         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1804         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1805         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1806         __strcmp_power8 implementation.
1807         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1808         * NEWS: Update.
1810         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1811         Add strncpy-power8 and stpncpy-power8 objects.
1812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1813         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1814         implementations.
1815         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1816         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1817         __stpncpy_power8 implementation.
1818         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1819         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1820         __strncpy_power8 implementation.
1821         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1822         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1823         * NEWS: Update.
1825         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1826         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1827         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1829         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1830         strncat-power8 object.
1831         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1832         __strcat_power8 implementation.
1833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1834         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1835         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1836         optimized strcat for power8.
1838         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1839         strcpy-power8 and stpcpy-power8 objects.
1840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1841         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1842         implementations.
1843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1844         multiarch stpcpy implementation for POWER8.
1845         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1846         multiarch strcpy implementation for POWER8.
1847         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1848         __strcpy_power8 function.
1849         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1850         stpcpy for POWER8.
1851         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1852         strcpy for POWER8.
1853         * NEWS: Update.
1855 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1857         [BZ #16009]
1858         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1859         weights and rules. Use do_xfrm_cached if data fits in cache,
1860         do_xfrm otherwise.  Moved former main loop to...
1861         * (do_xfrm_cached): New function.
1862         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1863         find_idx, find_position and stack_push.
1864         * (find_idx): New function.
1865         * (find_position): Likewise.
1866         * localedata/sort-test.sh: Added test run for do_xfrm.
1867         * localedata/xfrm-test.c (main): Added command line option
1868         -nocache to run the test with strings that are too large for
1869         the STRXFRM cache.
1871 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1873         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1874         variable to lll_futex_wake call, not the value itself.
1876 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1878         [BZ #17803]
1879         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1880         twom64.  Adjust value to 0x1p-64L.
1881         (__scalblnl): Only return standard underflowing result for K <=
1882         -64 not K <= -63; adjust exponent for underflowing result by 64
1883         not 63.
1884         * math/libm-test.inc (scalbn_test_data): Add more tests.
1885         (scalbln_test_data): Likewise.
1887         [BZ #17834]
1888         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1889         0x1p63L.
1890         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1891         not HX.
1892         * math/libm-test.inc (scalbn_test_data): Add more tests.
1893         (scalbln_test_data): Likewise.
1895 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1896             Stefani Seibold  <stefani@seibold.net>
1898         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1899         (sysdep_routines): Add dl-vdso here, ...
1900         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1901         (sysdep_routines): ... not here.
1902         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1903         fallback when vDSO is not presented.
1904         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1905         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1906         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1907         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1908         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1909         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1910         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1911         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1912         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1914         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1915         fallback configurable symbol when vDSO is not available.
1916         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1917         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1918         be able to redefine fallback symbol when vDSO is not available.
1919         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1920         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1922 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1924         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1925         (TLS_INIT_TP): Add tm_capable initialization.
1926         (TLS_DEFINE_INIT_TP): Likewise.
1927         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1928         TCB.
1929         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1930         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1931         calculation.
1932         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1933         transactoion is lock elision is built and TCB tm_capable is set.
1934         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1936         (INTERNAL_SYSCALL_NCS): Likewise.
1937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1938         (INTERNAL_SYSCALL_NCS): Likewise.
1939         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1941         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1942         for powerpc.
1943         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1944         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1945         and remove it for 32 bits case.
1946         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1948         initialization.
1949         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1950         Disable lock elision with rdlocks if elision is not available.
1952         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1953         (sysdep_routines): Add lock elision objects.
1954         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1955         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1956         [pthread_mutex_t] (__elision): Add field.
1957         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1958         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1959         elision definitions for powerpc.
1960         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1961         implementation of lock elision for powerpc.
1962         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1963         implementation of timed lock elision for powerpc.
1964         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1965         implementation of trylock with lock elision for powerpc.
1966         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1967         implementaion of unlock for lock elision for powerpc.
1968         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1969         automatic enable lock elision for mutexes.
1970         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1971         transaction execution definitions for powerpc.
1972         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1973         definitions.
1974         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1975         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1976         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1977         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1978         * NEWS: Update.
1980 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1982         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1983         for #include of <shm-directory.h>.
1985 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1987         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1988         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1990 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1992         [BZ #17791]
1993         * NEWS: Mention bug fix.
1994         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1995         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1996         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1998 2015-01-09  Torvald Riegel <triegel@redhat.com>
2000         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2002 2015-01-09  Torvald Riegel <triegel@redhat.com>
2004         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2006 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2008         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2009         pointer and cast to uintptr_t.
2011 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2013         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2014         removed.
2015         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2017 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2019         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2020         of 0.
2022 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2024         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2025         <nptl/pthreadP.h> instead.
2026         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2028         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2029         already defined.
2030         [__SIGRTMIN] (init): Function removed.
2031         [__SIGRTMIN] (initialized): Variable removed.
2032         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2033         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2034         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2035         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2036         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2037         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2038         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2039         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2040         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2041         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2042         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2043         * sysdeps/nptl/allocrtsig.c: New file.
2044         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2045         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2046         * sysdeps/generic/testrtsig.h: File removed.
2048         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2049         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2051         * nptl/nptl-init.c (pthread_functions): Conditionalize
2052         .ptr__nptl_setxid initialization on [SIGSETXID].
2054         * sysdeps/nptl/sys/procfs.h: New file.
2055         * nptl_db/Makefile (headers): Add it.
2056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2058         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2059         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2060         * nptl/pthread_attr_setaffinity.c: Include it.
2061         * nptl/pthread_setattr_default_np.c: Likewise.
2062         * nptl/check-cpuset.h: New file.
2064 2015-01-08  Richard Henderson  <rth@redhat.com>
2066         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2067         (CFLAGS-tst-execstack-prog.c): Likewise.
2068         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2070 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2071             Sandra Loosemore  <sandra@codesourcery.com>
2072             Andrew Jenner  <andrew@codesourcery.com>
2073             Joseph Myers  <joseph@codesourcery.com>
2074             Nathan Sidwell  <nathan@codesourcery.com>
2076         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2077         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2078         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2079         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2080         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2081         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2082         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2083         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2084         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2085         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2086         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2087         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2088         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2089         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2090         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2091         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2092         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2094 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2096         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2097         timespec struct member in syscall macro.
2098         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2099         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2100         first timeval struct member in syscall macro.
2101         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2103 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2105         [BZ #17748]
2106         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2107         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2108         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2109         __feupdateenv and define as weak alias of __feupdateenv.  Use
2110         libm_hidden_weak.
2111         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2112         libm_hidden_def.
2113         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2114         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2115         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2116         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2117         libm_hidden_def.
2118         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2119         __feupdateenv and define as weak alias of __feupdateenv.  Use
2120         libm_hidden_weak.
2121         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2122         libm_hidden_def.
2123         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2124         __feupdateenv and define as weak alias of __feupdateenv.  Use
2125         libm_hidden_weak.
2126         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2127         libm_hidden_def.
2128         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2129         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2130         (__feupdateenv): Likewise.
2131         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2132         __feupdateenv and define as weak alias of __feupdateenv.  Use
2133         libm_hidden_weak.
2134         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2135         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2136         libm_hidden_def.
2137         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2138         function.
2139         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2140         libm_hidden_def.
2141         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2142         __feupdateenv instead of feupdateenv.
2143         (default_libc_feupdateenv_test): Likewise.
2144         (libc_feresetround_ctx): Likewise.
2146 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2148         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2149         prototype.
2151 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2153         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2154         COLL_SYM in a couple of places to avoid uninitialized variable
2155         wanings on tilegx gcc 4.8.2.
2157 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2159         * sysdeps/aarch64/strcpy.S: New file.
2160         * sysdeps/aarch64/stpcpy.S: New file.
2161         * NEWS: Updated.
2163 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2165         * sysdeps/aarch64/strrchr.S: New file.
2166         * NEWS: Updated.
2168 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2170         [BZ #17658]
2171         * stdlib/setenv.c: Fix memory leak when setting large,
2172         duplicate string.
2174 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2176         [BZ #17273]
2177         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2178         and tabs from buffer before parsing fstab entry.
2179         * misc/tst-mntent.c (main): Add test for mount entry with
2180         trailing spaces and tabs.
2182 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2184         [BZ #17748]
2185         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2186         * math/fesetround.c (fesetround): Rename to __fesetround and
2187         define as weak alias of __fesetround.  Use libm_hidden_weak.
2188         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2189         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2190         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2191         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2192         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2193         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2194         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2195         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2196         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2197         __fesetround_inline.
2198         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2199         __fesetround_inline instead of __fesetround.
2200         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2201         __fesetround and define as weak alias of __fesetround.  Use
2202         libm_hidden_weak.  Call __fesetround_inline instead of
2203         __fesetround.
2204         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2205         __fesetround and define as weak alias of __fesetround.  Use
2206         libm_hidden_weak.
2207         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2208         Likewise.
2209         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2210         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2211         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2212         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2213         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2214         __fesetround and define as weak alias of __fesetround.  Use
2215         libm_hidden_weak.
2216         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2217         __fesetround instead of fesetround.
2218         (default_libc_feholdexcept_setround): Likewise.
2219         (libc_feholdsetround_ctx): Likewise.
2220         (libc_feholdsetround_noex_ctx): Likewise.
2222         [BZ #17748]
2223         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2224         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2225         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2226         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2227         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2228         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2229         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2230         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2231         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2232         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2233         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2234         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2235         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2236         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2237         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2238         libm_hidden_def.
2239         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2240         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2241         Likewise.
2242         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2243         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2244         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2245         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2246         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2247         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2248         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2249         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2250         __fesetenv instead of fesetenv.
2251         (libc_feresetround_noex_ctx): Likewise.
2252         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2253         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2254         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2255         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2256         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2257         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2258         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2259         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2260         (__feupdateenv): Likewise.
2261         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2262         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2263         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2264         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2266 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2268         [BZ #17806]
2269         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2270         addresses have been freed.
2272 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2274         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2275         and nservall.
2277 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2279         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2280         Clean up check_pf allocation pattern. addresses
2282 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2284         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2285         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2286         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2287         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2288         * nptl/pthread_join.c (pthread_join): Likewise.
2289         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2290         * sysdeps/posix/waitid.c (__waitid): Likewise.
2291         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2292         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2293         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2294         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2295         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2298         (__libc_pread64): Likewise.
2299         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2300         (__libc_pwrite): Likewise.
2301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2302         (__libc_pwrite64): Likewsie.
2303         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2304         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2305         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2306         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2307         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2308         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2309         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2311         Likewise.
2312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2313         (__libc_pread64): Likewise.
2314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2315         Likewise.
2316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2317         (__libc_pwrite64): Likewise.
2318         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2319         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2320         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2321         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2322         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2323         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2324         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2325         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2326         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2327         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2328         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2329         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2330         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2331         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2332         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2333         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2334         Likewise.
2336 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2338         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2339         (CFLAGS-test-double.c): Likewise.
2340         (CFLAGS-test-ldouble.c): Likewise.
2341         (CPPFLAGS-test-ifloat.c): Likewise.
2342         (CPPFLAGS-test-idouble.c): Likewise.
2343         (CPPFLAGS-test-ildoubl.c): Likewise.
2344         (CFLAGS-test-test-fenv.c): Remove variable.
2345         (CFLAGS-test-misc.c): Likewise.
2347 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2349         [BZ #17797]
2350         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2351         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2352         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2353         CLOCKS_PER_SEC == 1000000.
2354         * time/clocktest.c (main): Replace %ld with %jd and cast to
2355         intmax_t.
2357 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2359         * sysdeps/generic/unwind-resume.h: New file.
2360         * sysdeps/gnu/unwind-resume.c: Include it.
2361         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2362         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2363         argument list.
2364         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2365         global rather than static.
2366         (_Unwind_Resume): Update user.
2367         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2368         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2369         rather than static.  Add __attribute__ ((cold)).
2370         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2371         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2372         * sysdeps/arm/arm-unwind-resume.S: New file.
2373         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2374         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2375         * sysdeps/arm/Makefile [$(subdir) = csu]
2376         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2377         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2378         Add rt-arm-unwind-resume.
2379         [$(subdir) = nptl]
2380         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2381         Add pt-arm-unwind-resume.
2382         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2383         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2385 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2387         [BZ #17748]
2388         * include/fenv.h (__feholdexcept): Declare.  Use
2389         libm_hidden_proto.
2390         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2391         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2392         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2393         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2394         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2395         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2396         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2397         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2398         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2399         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2400         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2401         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2402         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2403         (feholdexcept): Likewise.
2404         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2405         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2406         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2407         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2408         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2409         __feholdexcept instead of feholdexcept.
2410         (default_libc_feholdexcept_setround): Likewise.
2412 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2414         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2415         to avoid using stl/str to align destination.
2417 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2419         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2421 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2423         [BZ #17796]
2424         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2425         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2426         Define as weak alias not strong alias.
2428 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2430         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2431         bltzal with addiupc.
2432         (RTLD_START): Ditto.
2434 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2436         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2437         for __vdso_* functions in declarations.
2438         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2439         definitions.
2440         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2441         INTERNAL_VSYSCALL): Use struct return types to check for error.
2443         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2444         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2445         function with cast from llround().
2446         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2447         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2448         Define.
2450 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2452         [BZ #17793]
2453         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2454         Define as weak alias not strong alias.
2456         [BZ #17635]
2457         * ctype/ctype-c99.c: New file.  isblank implementation moved from
2458         ...
2459         * ctype/ctype-extn.c: ... here.
2460         (__isblank_l): Move to ...
2461         * ctype/ctype-c99_l.c: ... here.  New file.
2462         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2463         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2464         Remove variable.
2465         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2466         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2467         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2468         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2469         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2471         [BZ #17777]
2472         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2473         (posix_fadvise64): Define as weak alias not strong alias.
2474         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2475         (posix_fallocate64): Likewise.
2476         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2477         Remove variable.
2478         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2479         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2480         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2481         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2482         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2484 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
2486         [BZ #16191]
2487         * NEWS: Mention bug fix.
2488         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2489         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2490         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2491         (HOST_STACK_END_ADDR): Likewise.
2493 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2495         [BZ #17748]
2496         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
2497         * math/fegetround.c (fegetround): Rename to __fegetround and
2498         define as weak alias of __fegetround.  Use libm_hidden_weak.
2499         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2500         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2501         * sysdeps/arm/fegetround.c (fegetround): Likewise.
2502         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2503         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2504         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2505         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2506         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2507         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2508         Undefine after rather than before function definition; use
2509         parentheses around function name in definition.
2510         (__fegetround): Also undefine macro after function definition.
2511         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2512         __fegetround and define as weak alias of __fegetround.  Use
2513         libm_hidden_weak.  Do not undefine as macro.
2514         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2515         Likewise.
2516         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2517         __fegetround and define as weak alias of __fegetround.  Use
2518         libm_hidden_weak.
2519         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2520         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2521         * sysdeps/tile/math_private.h (__fegetround): New inline function.
2522         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2523         __fegetround and define as weak alias of __fegetround.  Use
2524         libm_hidden_weak.
2525         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2526         __fegetround instead of fegetround.
2528         [BZ #17782]
2529         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2530         Condition macro definition on [__USE_MISC].
2532         [BZ #17781]
2533         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2534         (struct sigaction): Change type of sa_flags field to int.
2536         [BZ #17780]
2537         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2538         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2539         __glibc_reserved0.
2541         * nptl/version.c (banner): Use single year in copyright notice.
2543         * NEWS: Update copyright dates.
2544         * catgets/gencat.c (print_version): Likewise.
2545         * csu/version.c (banner): Likewise.
2546         * debug/catchsegv.sh: Likewise.
2547         * debug/pcprofiledump.c (print_version): Likewise.
2548         * debug/xtrace.sh (do_version): Likewise.
2549         * elf/ldconfig.c (print_version): Likewise.
2550         * elf/ldd.bash.in: Likewise.
2551         * elf/pldd.c (print_version): Likewise.
2552         * elf/sotruss.sh: Likewise.
2553         * elf/sprof.c (print_version): Likewise.
2554         * iconv/iconv_prog.c (print_version): Likewise.
2555         * iconv/iconvconfig.c (print_version): Likewise.
2556         * locale/programs/locale.c (print_version): Likewise.
2557         * locale/programs/localedef.c (print_version): Likewise.
2558         * login/programs/pt_chown.c (print_version): Likewise.
2559         * malloc/memusage.sh (do_version): Likewise.
2560         * malloc/memusagestat.c (print_version): Likewise.
2561         * malloc/mtrace.pl: Likewise.
2562         * manual/libc.texinfo: Likewise.
2563         * nptl/version.c (banner): Likewise.
2564         * nscd/nscd.c (print_version): Likewise.
2565         * nss/getent.c (print_version): Likewise.
2566         * nss/makedb.c (print_version): Likewise.
2567         * posix/getconf.c (main): Likewise.
2568         * scripts/test-installation.pl: Likewise.
2569         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2571 2015-01-02  Will Newton  <will.newton@linaro.org>
2573         * sysdeps/arm/armv7/configure: Removed.
2574         * sysdeps/arm/armv7/configure.ac: Likewise.
2576 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2578         * All files with FSF copyright notices: Update copyright dates
2579         using scripts/update-copyrights.
2580         * intl/plural.c: Regenerated.
2581         * locale/programs/charmap-kw.h: Likewise.
2582         * locale/programs/locfile-kw.h: Likewise.
2584 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2586         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2588 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2590         [BZ #17748]
2591         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2592         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2593         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2594         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2595         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2596         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2597         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2598         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2599         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2600         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2601         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2602         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2603         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2604         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2605         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2606         libm_hidden_def.
2607         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2608         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2609         Likewise.
2610         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2611         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2612         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2613         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2614         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2615         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2616         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2617         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2618         __fegetenv instead of fegetenv.
2619         (libc_feholdsetround_noex_ctx): Likewise.
2621 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2623         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2624         (Elf_MIPS_ABIFlags_v0): New structure.
2625         (EF_MIPS_FP64): Define.
2626         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2627         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2628         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2629         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2630         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2631         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2632         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2633         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2634         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2635         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2636         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2637         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2638         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2639         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2640         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2641         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2642         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2643         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2644         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2645         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2646         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2647         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2648         field.
2649         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2650         EF_MIPS_FP64.
2651         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2652         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2653         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2654         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2655         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2656         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2657         * sysdeps/mips/tst-abi-interlink.c: Likewise.
2658         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2659         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2660         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2661         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2662         record the current FP ABI extension.
2663         (mips-mode-switch): Define to show if kernel headers support mode
2664         switching.
2665         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2666         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2667         supported SYSV ABI version to 3.
2668         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2669         feature.
2671 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2672             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2674         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2675         path.
2676         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2678 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2680         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2681         __fegetround and redefine to call __fegetround.  Remove condition
2682         on [!__NO_MATH_INLINES].
2683         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2684         function.
2685         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2686         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2687         Remove macro.
2688         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2689         instead of <fenv_libc.h>.
2690         (__llrintl): Call fegetround instead of __fegetround.
2691         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2692         instead of <fenv_libc.h>.
2693         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2694         (__lrintl): Call fegetround instead of __fegetround.
2695         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2696         instead of <fenv_libc.h>.
2697         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2698         (__rintl): Call fegetround instead of __fegetround.
2700 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2702         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2703         arrays.
2705 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2707         [BZ #17775]
2708         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2709         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2710         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2712 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2714         * sysdeps/i386/tls-macros.h: Include <features.h>.
2715         (TLS_LE): Use non-PIC version for GCC >= 5.0.
2716         (TLS_IE): Likewise.
2717         (TLS_LD): Likewise.
2718         (TLS_GD): Likewise.
2719         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2720         define for GCC >= 5.0.
2722 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
2724         * math/test-fenv.c (test_single_exception, set_single_exc,
2725         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2726         feexcp_mask_test, feenable_test, fe_single_test): Add
2727         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2728         case where they are not used.
2729         * math/libm-test.inc: Likewise.
2730         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2731         unused in the absence of FP rounding/exception support.
2732         * stdio-common/tst-printf-round.c: Likewise.
2733         * stdlib/tst-strtod-round.c: Likewise.
2734         * stdlib/tst-strtod-underflow.c: Likewise.
2736 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
2738         [BZ #17723]
2739         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2740         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2741         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2742         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2743         libm_hidden_weak.
2744         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2745         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2746         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2747         libm_hidden_def.
2748         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2749         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2750         libm_hidden_weak.
2751         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2752         Likewise.
2753         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2754         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2755         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2756         libm_hidden_weak.
2757         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2758         libm_hidden_def.
2759         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2760         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2761         (__feraiseexcept): Likewise.
2762         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2763         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2764         libm_hidden_weak.
2765         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2766         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2767         libm_hidden_def.
2768         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2769         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2770         Use libm_hidden_def.
2771         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2772         libm_hidden_def.
2773         (feraiseexcept): Define as weak not strong alias.  Use
2774         libm_hidden_weak.
2775         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2776         New inline function.  Factored out of ...
2777         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
2778         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2779         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2780         feraiseexcept.
2781         * math/w_acos.c (__acos): Likewise.
2782         * math/w_asin.c (__asin): Likewise.
2783         * math/w_ilogb.c (__ilogb): Likewise.
2784         * math/w_j0.c (y0): Likewise.
2785         * math/w_j1.c (y1): Likewise.
2786         * math/w_jn.c (yn): Likewise.
2787         * math/w_log.c (__log): Likewise.
2788         * math/w_log10.c (__log10): Likewise.
2789         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2790         * sysdeps/aarch64/fpu/math_private.h
2791         (libc_feupdateenv_test_aarch64): Likewise.
2792         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2793         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2794         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2795         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2796         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2797         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2798         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2799         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2800         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2801         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2803 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2805         [BZ #17732]
2806         * io/test-utime.c (main): Replace %ld with %jd and cast to
2807         intmax_t.
2808         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2809         * nptl/tst-mutex5.c: Include <stdint.h>.
2810         (do_test): Replace %ld with %jd and cast to intmax_t.
2811         * posix/tst-regex.c (run_test): Likewise.
2812         (run_test_backwards): Likewise.
2813         * rt/tst-clock.c: Include <stdint.h>.
2814         (clock_test): Replace %ld with %jd and cast to intmax_t.
2815         * rt/tst-cpuclock1.c: Include <stdint.h>.
2816         (do_test): Replace %lu with %ju and cast to uintmax_t.
2817         * rt/tst-cpuclock2.c: Include <stdint.h>.
2818         (do_test): Replace %lu with %ju and cast to uintmax_t.
2819         * rt/tst-mqueue1.c: Include <stdint.h>.
2820         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2821         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2822         intmax_t.
2823         * rt/tst-mqueue4.c (do_test): Likewise.
2824         * rt/tst-timer4.c: Include <stdint.h>.
2825         (check_ts): Replace %ld with %jd and cast to intmax_t.
2826         (do_test): Likewise.
2827         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2828         and cast to intmax_t.
2829         * sysdeps/pthread/tst-timer.c (main): Likewise.
2830         * time/clocktest.c (main): Likewise.
2831         * time/tst-posixtz.c (do_test): Likewise.
2832         * timezone/tst-timezone.c (main): Likewise.
2834 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2835             H.J. Lu  <hongjiu.lu@intel.com>
2837         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2838         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2839         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2840         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2841         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2842         version if bit_Fast_Unaligned_Load is set.
2843         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2844         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2845         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2846         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2847         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2848         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2850         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2851         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2852         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2853         to 4.
2854         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2855         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2856         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2857         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2859 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2861         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2862         instead of #if to avoid a Wundef warning.
2863         * stdlib/tst-limits.c (do_test): Likewise.
2865         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2866         parallel other exception macros.
2867         (fegetenv): Convert from macro to extern inline so that it applies
2868         retroactively to inline functions already seen by the compiler.
2869         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2871         * posix/Makefile (before-compile): Use $(objpfx) for
2872         posix-conf-vars-def.h.
2874 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2876         * posix/getconf.c (main): Use size_t for type of I.
2877         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2878         NSPEC.
2880         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2881         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2882         * posix/posix-envs.def: Likewise.
2883         * sysdeps/posix/sysconf.c: Likewise.
2884         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2885         (specs): Remove array.
2886         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2887         array.
2889         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2890         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2891         (__sysconf): Use CONF_IS_* macros.
2893         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2894         ($(objpfx)posix-conf-vars-def.h): New target.
2895         * posix/posix-conf-vars.list: New file.
2896         * posix/posix-conf-vars.h: New file.
2897         * posix/confstr.c: Include posix-conf-vars.h.
2898         (confstr): Use CONF_IS_* macros.
2899         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2900         CONF_IS_* macros.
2901         * scripts/gen-posix-conf-vars.awk: New file.
2903 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2905         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2906         fegetround): Add no-op macros to avoid linknamespace issues.
2908         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2909         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2911         * sysdeps/unix/sysv/linux/tile/sysdep.h
2912         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2913         assembly-specific section to avoid a redefinition warning.
2915         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2916         long before casting to pointer to avoid a cast warning.
2918 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2920         * sysdeps/tile/tilegx/Implies: New file.
2922 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2924         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2926 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2928         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2930 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2932         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2933         not define.
2934         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2935         <kernel-features.h>.
2936         (__utimes) [__NR_utimes]: Make code unconditional.
2937         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2938         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2939         (__ASSUME_UTIMES): Do not undefine.
2940         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2941         (__ASSUME_UTIMES): Likewise.
2942         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2943         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2944         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2945         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2947 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2949         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2951 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2953         [BZ #17747]
2954         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2955         alias to weak alias for j0l, y0l.
2956         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2957         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2959         [BZ #17746]
2960         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2961         conversion.
2963 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2965         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2966         to zero if not already defined.
2968 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2970         [BZ #17724]
2971         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2972         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2973         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2974         (char *) casts added.
2975         * sysdeps/ieee754/k_standardf.c: New file.
2976         * sysdeps/ieee754/k_standardl.c: Likewise.
2977         * math/Makefile (libm-support): Remove k_standard.
2978         (libm-calls): Add k_standard.
2980 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2982         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2983         Optimize to avoid an unnecessary FPCR read.
2985 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2987         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2988         Optimize to reduce FPCR/FPSR accesses.
2990 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2992         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2993         Call libc_fetestexcept_aarch64.
2995 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2997         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2998         Call libc_fesetround_aarch64.
3000 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3002         [BZ #17733]
3003         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3004         (__bind): Do not define as weak alias.
3005         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3006         define.
3007         (__getsockname): Do not define as weak alias.
3009 2014-12-22  Will Newton  <will.newton@linaro.org>
3011         * manual/install.texi: Document that we require bison 2.7
3012         or above.
3013         * INSTALL: Regenerate.
3014         * configure.ac: Use AC_CHECK_PROG_VER instead of
3015         AC_PATH_PROG when checking for bison and check for
3016         version 2.7 or above.
3017         * configure: Regenerate.
3019 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3021         [BZ #17745]
3022         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3023         * sysdeps/tile/ffsll.c (ffsll): To here.
3025         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3027 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3029         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3030         if not defined.
3031         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3032         definition.
3033         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3034         hidden ___tls_get_addr.
3035         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3036         hidden __tls_get_addr.
3037         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3038         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3039         Likewise.
3041 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3043         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3044         _dl_init call.
3046 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3048         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3049         from "call _dl_init@PLT".
3050         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3052 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3054         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3055         guarantees.
3057 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3059         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3061 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3063         [BZ #17744]
3064         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3065         strnlen.
3067 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3069         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3070         of multu on MIPSr6.
3071         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3072         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3073         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3074         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3075         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3077 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3079         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3080         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3081         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3082         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3083         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3084         mips32r6/mips64r6.
3085         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3087 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3089         * string/strncat.c (STRNCAT): Simplify implementation.
3091 2014-12-19  David S. Miller  <davem@davemloft.net>
3093         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3094         access the quad as both a long double and as a series of 4 words.
3096         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3097         link_map->l_info array access.
3099 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3101         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3103         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3104         * math/atest-exp2.c (TIMEOUT): Likewise.
3105         * math/atest-sincos.c (TIMEOUT): Likewise.
3107 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3109         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3110         -Wno-error with -fno-builtin-lround.
3112 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3114         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3115         Contains futex constants and functions moved over from ...
3116         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3117         <lowlevellock-futex.h>.
3118         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3119         (lll_timedwait_tid): Add comments and parentheses around macro
3120         arguments.
3122 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3124         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3125         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3126         (__lll_private_flag): Remove.
3127         (lll_futex_wait): Likewise.
3128         (lll_futex_timed_wait): Likewise.
3129         (lll_futex_wake): Likewise.
3130         (lll_futex_requeue): Likewise.
3131         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3132         (__lll_timedwait_tid): Spell out argument names.
3133         (lll_timedwait_tid): Add comments and parentheses around macro
3134         arguments.
3135         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3136         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3138 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3140         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3141         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3142         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3143         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3144         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3145         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3146         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3147         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3148         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3149         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3150         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3151         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3152         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3153         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3154         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3155         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3156         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3157         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3158         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3160 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3162         * sysdeps/x86_64/x32/Makefile: New file.
3164 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3166         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3167         1L with (mp_limb_t) 1.
3169 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3171         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3172         * nptl/libc_pthread_init.c: ... here.
3173         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3174         * nptl/register-atfork.c: ... here.
3176         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3177         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3178         Use assert_perror to check its return value.
3179         (__gai_create_helper_thread): Likewise.
3181         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3183         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3185 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3187         [BZ #17725]
3188         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3189         __profil_counter.
3190         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3191         Likewise.
3192         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3193         Likewise.
3194         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3195         Likewise.
3196         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3197         (profil_counter): Likewise.
3198         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3199         (profil_counter): Likewise.
3200         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3201         Likewise.
3202         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3203         Likewise.
3204         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3205         (profil_counter): Likewise.
3206         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3207         Likewise.
3208         [!__profil_counter] (profil_counter): Define as weak alias of
3209         __profil_counter.
3210         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3211         (profil_counter): Rename to __profil_counter.
3212         [!__profil_counter] (profil_counter): Define as weak alias of
3213         __profil_counter.
3214         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3215         (profil_counter): Rename to __profil_counter.
3216         [!__profil_counter] (profil_counter): Define as weak alias of
3217         __profil_counter.
3218         * sysdeps/posix/profil.c: Update comment referring to
3219         profil_counter.
3220         (__profil): Use __profil_counter instead of profil_counter.
3221         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3222         __profil_counter.  Use __profil_counter_ushort and
3223         __profil_counter_uint in definitions.
3224         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3225         instead of profil_counter_uint and profil_counter_ushort.
3227         [BZ #17722]
3228         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3229         define as weak alias of __inet_makeaddr.
3230         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3231         as weak alias of __inet_addr.
3232         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3233         as weak alias of __inet_pton.  Use libc_hidden_weak.
3234         * include/arpa/inet.h (__inet_pton): Declare.  Use
3235         libc_hidden_proto.
3236         (inet_makeaddr): Don't use libc_hidden_proto.
3237         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3238         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3239         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3240         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3241         Remove variable.
3242         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3243         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3245 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3247         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3249 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3251         * stdio-common/bug-vfprintf-nargs.c (do_test):
3252         Cast value to intptr_t to avoid format warning
3253         for usage with PRIdPTR printing macro.
3255 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3257         * libio/tst-widetext.c (do_test):
3258         Use format type %td instead of %Zd for ptrdiff_t
3259         in order to avoid format warning.
3261 2014-12-17  Andreas Schwab  <schwab@suse.de>
3263         * nscd/mem.c (gc): Add size_t cast to match printf format.
3265 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3267         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3268         (init): Apply PTR_MANGLE to pointers before storing them.
3269         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3270         before using them.
3272 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3274         [BZ #17719]
3275         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3276         define as weak alias of __memrchr.
3277         (__memrchr): Do not define as strong alias of memrchr.
3278         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3279         Remove variable.
3280         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3281         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3282         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3284         [BZ #17717]
3285         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3286         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3287         (if_indextoname): Rename to __if_indextoname and define as weak
3288         alias of __if_indextoname.  Use libc_hidden_weak.
3289         (if_freenameindex): Rename to __if_freenameindex and define as
3290         weak alias of __if_freenameindex.
3291         (if_nameindex): Rename to __if_nameindex and define as weak alias
3292         of __if_nameindex.
3293         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3294         __if_nametoindex and define as weak alias of __if_nametoindex.
3295         Use libc_hidden_weak.
3296         (if_freenameindex): Rename to __if_freenameindex and define as
3297         weak alias of __if_freenameindex.
3298         (if_nameindex): Rename to __if_nameindex and define as weak alias
3299         of __if_nameindex.
3300         (if_indextoname): Rename to __if_indextoname and define as weak
3301         alias of __if_indextoname.  Use libc_hidden_weak.
3302         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3303         __if_nametoindex and define as weak alias of __if_nametoindex.
3304         Use libc_hidden_weak.
3305         (if_freenameindex): Rename to __if_freenameindex and define as
3306         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3307         (if_nameindex_netlink): Use __if_freenameindex instead of
3308         if_freenameindex.
3309         (if_nameindex): Rename to __if_nameindex and define as weak alias
3310         of __if_nameindex.  Use libc_hidden_weak.
3311         (if_indextoname): Rename to __if_indextoname and define as weak
3312         alias of __if_indextoname.  Use libc_hidden_weak.
3313         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3314         libc_hidden_proto.
3315         [!_ISOMAC] (__if_freenameindex): Likewise.
3316         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3317         if_nametoindex.
3318         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3319         variable.
3320         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3321         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3322         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3323         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3324         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3325         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3326         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3328         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3329         Remove variable.
3330         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3331         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3333 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3335         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3336         subscript above bounds'
3338         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3339         bounds.
3341 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3343         * libio/tst-fopenloc.c: Use test-skeleton.c.
3345         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3346         (entry): Rename to ITEM.
3347         (do_test, comp): Adjust.
3349         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3351 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3353         * string/tester.c: Include <libc-internal.h>.
3354         (test_memset): Ignore -Wmemset-transposed-args.
3356 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3358         * misc/tst-mntent2.c (do_test): Fix warning.
3360 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3362         * elf/tst-unique4lib.cc(a): Mark as used.
3364 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3366         [BZ #17630]
3367         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3368         names.
3370 2014-12-16  Allan McRae  <allan@archlinux.org>
3372         * stdio-common/Makefile (tests): Re-add bug26.
3374 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3376         [BZ #17657]
3377         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3378         static array.
3380 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3382         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3383         (__lll_lock_wait): Likewise.
3384         (__lll_timedlock_wait): Likewise.
3385         (__lll_timedwait_tid): Likewise.
3386         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3387         (__lll_robust_timedlock_wait): Likewise.
3388         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3389         (lll_cond_trylock): Likewise.
3390         (__lll_lock): Likewise.
3391         (__lll_robust_lock): Likewise.
3392         (__lll_cond_lock): Likewise.
3393         (lll_robust_cond_lock): Likewise.
3394         (__lll_timedlock): Likewise.
3395         (__lll_robust_timedlock): Likewise.
3396         (__lll_unlock): Likewise.
3397         (__lll_robust_unlock): Likewise.
3398         (lll_wait_tid): Likewise.
3399         (lll_timedwait_tid): Likewise.
3401 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3403         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3405 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3407         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3409 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3411         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3412         * stdio-common/tst-sprintf.c: Likewise.
3414 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3416         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3418 2014-12-15  Jeff Law  <law@redhat.com>
3420         [BZ #16617]
3421         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3422         on the heap.  (CVE-2012-3406)
3423         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3424         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3425         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3427 2014-12-15  Will Newton  <will.newton@linaro.org>
3429         * manual/install.texi: Bump required version of texinfo
3430         to 4.7 from 4.5.
3431         * INSTALL: Regenerated.
3432         * configure.ac: Check for makeinfo version 4.7 and above.
3433         * configure: Regenerated.
3435 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3437         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3438         PREFIX, string constant to insert between directory and name.
3439         * sysdeps/posix/shm_open.c: Update caller.
3440         * sysdeps/posix/shm_unlink.c: Likewise.
3441         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3442         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3443         (SEM_SHM_PREFIX): New macro.
3444         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3445         [$(have-thread-library) = no].
3446         * nptl/Makefile (libpthread-routines): Add shm-directory.
3447         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3448         * sysdeps/nptl/shm-directory.h: New file.
3449         * sysdeps/posix/shm-directory.c
3450         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3451         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3452         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3453         INTERNAL_SYSCALL.
3454         (__where_is_shmfs): Function removed.
3455         (mountpoint, defaultmount, defaultdir, __namedsem_once):
3456         Variables removed.
3457         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3458         Use SHM_GET_NAME.
3459         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
3461         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3462         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3463         unconditional for use inside libpthread.
3464         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3466 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3468         * nptl/pthread_getaffinity.c: New file.
3469         * nptl/pthread_setaffinity.c: New file.
3470         * nptl/pthread_getname.c: New file.
3471         * nptl/pthread_setname.c: New file.
3473         * nptl/pthread_create.c (START_THREAD_DEFN)
3474         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3476 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3477             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3479         * resolv/res_send.c (send_vc): Disable warning resplen may
3480         be used uninitialized.
3482 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3484         * nptl/tst-mutex6.c
3485         (ATTR_NULL): New define checks ATTR against NULL.
3486         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3487         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3489 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
3491         [BZ #17581]
3492         * malloc/hooks.c
3493         (mem2mem_check): Revert my previous change.
3494         (malloc_check_get_size): Revert my previous change.
3495         (mem2chunk_check): Revert my previous change.
3497 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3499         * sysdeps/posix/shm-directory.c: New file.
3500         * sysdeps/posix/shm-directory.h: New file.
3501         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3502         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3503         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
3504         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3505         Transmute EPERM to EACCES.
3506         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3507         from ...
3508         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
3509         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3511 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3513         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3514         pointer and cast to uintptr_t.
3515         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3516         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3517         Add cast to avoid warning.
3518         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3520 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3522         * nptl/semaphore.h: Move to ...
3523         * sysdeps/pthread/semaphore.h: ... here.
3524         * Makefile (installed-headers): Change nptl/semaphore.h to
3525         sysdeps/pthread/semaphore.h.
3527 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3529         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3530         generated error format strings.
3532         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3533         -Wformat-extra-args warnings for scanf formats.
3534         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3535         test of zero-length format (duh).
3536         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3537         corner-case scanf format test.
3538         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3539         generated fprintf format string.
3540         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3541         corner-case sprintf format tests.
3542         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3543         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3544         -Wformat-extra-args warnings throughout.
3545         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3546         (CFLAGS-scanf4.c): Likewise.
3547         (CFLAGS-scanf7.c): Likewise.
3548         (CFLAGS-tst-sprintf.c): Likewise.
3549         (CFLAGS-tst-printf.c): Likewise.
3550         (CFLAGS-tst-printfsz.c): Likewise.
3552 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3554         * include/cpio.h: New file.
3555         * include/fmtmsg.h: Likewise.
3557         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
3558         corresponding format argument to size_t.
3559         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
3560         arguments.
3561         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
3562         corresponding format argument to size_t.
3563         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
3564         arguments.
3565         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
3566         corresponding format argument to size_t.
3567         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3568         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3569         (CFLAGS-tst-mbswcs2.c): Likewise.
3570         (CFLAGS-tst-mbswcs3.c): Likewise.
3571         (CFLAGS-tst-mbswcs4.c): Likewise.
3572         (CFLAGS-tst-mbswcs5.c): Likewise.
3573         (CFLAGS-tst-trans.c): Likewise
3575 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3577         * posix/regexbug1.c (main): Use "%s" format with regerror results,
3578         rather than assuming they won't contain any '%'s.
3580 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
3582         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3583         inhibit_loop_to_libcall to avoid recursive calls.
3584         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3585         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3587 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3589         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3590         prototype.
3592 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3594         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3595         integer value instead of boolean.
3597 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3599         * malloc/malloc.c: Fix powerof2 check.
3601 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3603         * locale/programs/locfile.h (maybe_swap_uint32):
3604         Remove inline and add unused attribute.
3606 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3608         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3609         Truncating assembler expression to a .long expression.
3611 2014-12-11  Andreas Schwab  <schwab@suse.de>
3613         * elf/rtld.c (struct map_args): Constify str member.
3614         (do_preload): Constify fname argument.
3616 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3618         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3619         constants definition.
3621 2014-12-11  Andreas Schwab  <schwab@suse.de>
3623         [BZ #16657]
3624         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3625         FORCE_ELISION instead of DO_ELISION.
3626         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3627         Remove.
3628         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3629         Likewise.
3631         * iconvdata/gconv-modules: Remove duplicate entry.
3633 2014-12-11  Will Newton  <will.newton@linaro.org>
3635         Merge gettext 0.19.3 into intl/.
3637         This involves a number of cosmetic changes to comments
3638         and ANSI function definitions and prototypes throughout
3639         all the files. The gettext copyright header is used but
3640         with the date ranges taken from the glibc copy.
3642         * NEWS: Add gettext merge to 2.21.
3643         * intl/bindtextdom.c: Switch to gettext copyright.
3644         Use ANSI definitions and prototypes.
3645         Use gl_* locking primitives rather than __libc_* ones.
3646         Use __builtin_expect rather than __glibc_likely/unlikely.
3647         * intl/dcgettext.c: Switch to gettext copyright.
3648         Use ANSI definitions and prototypes.
3649         * intl/dcigettext.c: Switch to gettext copyright.
3650         Use ANSI definitions and prototypes.
3651         (INTDIV0_RAISES_SIGFPE): New define.
3652         Use gl_* locking primitives rather than __libc_* ones.
3653         Include eval-plural.h instead of plural-eval.c.
3654         Use __builtin_expect rather than __glibc_likely/unlikely.
3655         * intl/dcngettext.c: Switch to gettext copyright.
3656         Use ANSI definitions and prototypes.
3657         * intl/dgettext.c: Likewise.
3658         * intl/dngettext.c: Likewise.
3659         * intl/plural-eval.c: Renamed to...
3660         * intl/eval-plural.h: ...this.
3661         * intl/explodename.c: Switch to gettext copyright.
3662         Use ANSI definitions and prototypes.
3663         (_nl_explode_name): Use strchr instead of __rawmemchr.
3664         * intl/finddomain.c: Switch to gettext copyright.
3665         Use ANSI definitions and prototypes.
3666         Use gl_* locking primitives rather than __libc_* ones.
3667         (_nl_find_domain): Use malloc rather than alloca for
3668         allocation of temporary locale name.
3669         * intl/gettext.c: Switch to gettext copyright.
3670         Use ANSI definitions and prototypes.
3671         * intl/gettextP.h: Switch to gettext copyright.
3672         Use ANSI definitions and prototypes.
3673         Use gl_* locking primitives rather than __libc_* ones.
3674         * intl/gmo.h: Switch to gettext copyright.
3675         (struct sysdep_string): Move struct segment_pair outside of
3676         struct definition.
3677         * intl/hash-string.c: Use ANSI definitions and prototypes.
3678         * intl/hash-string.h: Switch to gettext copyright.
3679         Use ANSI definitions and prototypes.
3680         * intl/l10nflist.c: Switch to gettext copyright.
3681         Use ANSI definitions and prototypes.
3682         (_nl_normalize_codeset): Avoid integer overflow.
3683         * intl/loadinfo.h: Switch to gettext copyright.
3684         Use ANSI definitions and prototypes.
3685         (LIBINTL_DLL_EXPORTED): New define.
3686         (PATH_SEPARATOR): New define.
3687         * intl/loadmsgcat.c: Switch to gettext copyright.
3688         * intl/localealias.c: Switch to gettext copyright.
3689         Use ANSI definitions and prototypes.
3690         (_nl_expand_alias): Use PATH_SEPARATOR.
3691         * intl/ngettext.c: Switch to gettext copyright.
3692         Use ANSI definitions and prototypes.
3693         * intl/plural-exp.c: Likewise.
3694         * intl/plural-exp.h: Switch to gettext copyright.
3695         Use ANSI definitions and prototypes.
3696         (struct expression): Move definition of enum operator outside
3697         of struct definition.
3698         * intl/plural.c: Regenerate.
3699         * intl/plural.y: Switch to gettext copyright.
3700         Use ANSI definitions and prototypes.
3701         Port to bison 3.0.
3702         * intl/textdomain.c: Switch to gettext copyright.
3703         Use ANSI definitions and prototypes.
3704         Use gl_* locking primitives rather than __libc_* ones.
3706 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
3708         * debug/warning-nop.c: Add used atrribute.
3710 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3712         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3714         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3715         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3716         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3718 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3719             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3721         [BZ #17634]
3722         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3723         Undefine after defining function.  Define as weak alias of
3724         __wcschr.  Use libc_hidden_weak.
3725         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
3726         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3727         (libc_hidden_def): Also define __GI___wcschr alias.
3728         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3729         __wcschr and define as weak alias of __wcschr.
3730         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3731         __wcschr.
3732         [!WCSCHR] (DEFAULT_WCSCHR): Define.
3733         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3734         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
3735         libc_hidden_weak.  Do not use libc_hidden_def.
3736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3737         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3738         __GI___wcschr alias.
3739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3740         [IS_IN (libc)] (wcschr): Define as macro expanding to
3741         __redirect_wcschr.
3742         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3743         [IS_IN (libc)] (__wcschr_power6): Likewise.
3744         [IS_IN (libc)] (__wcschr_power7): Likewise.
3745         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
3746         instead of wcschr.
3747         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3748         __libc_wcschr.
3749         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3750         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3751         __wcschr and define as weak alias of __wcschr.  Use
3752         libc_hidden_builtin_def.
3753         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3754         as weak alias of __wcschr.  Use libc_hidden_weak.
3755         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3756         wcschr.
3757         * time/era.c (_nl_init_era_entries): Likewise.
3758         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3759         variable.
3760         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3761         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3763 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3765         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3766         format for long int variable.
3768 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
3770         [BZ #10672]
3771         * manual/search.texi: (Array Sort Function): Remove claim how to make
3772         qsort stable.
3774 2014-12-10  Andreas Schwab  <schwab@suse.de>
3776         [BZ #12847]
3777         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3778         user-controlled locks.
3780 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
3782         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3783         register.
3785 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3787         * configure.ac (--disable-werror): New configure option.
3788         (enable_werror): New AC_SUBST.
3789         * configure: Regenerated.
3790         * config.make.in (enable-werror): New variable.
3791         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3792         -Wno-error=undef.
3793         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3794         * manual/install.texi (Configuring and compiling): Document
3795         --disable-werror.
3796         * INSTALL: Regenerated.
3797         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3798         (CFLAGS-tst-chk2.c): Likewise.
3799         (CFLAGS-tst-chk3.c): Likewise.
3800         (CFLAGS-tst-chk4.cc): Likewise.
3801         (CFLAGS-tst-chk5.cc): Likewise.
3802         (CFLAGS-tst-chk6.cc): Likewise.
3803         (CFLAGS-tst-lfschk1.c): Likewise.
3804         (CFLAGS-tst-lfschk2.c): Likewise.
3805         (CFLAGS-tst-lfschk3.c): Likewise.
3806         (CFLAGS-tst-lfschk4.cc): Likewise.
3807         (CFLAGS-tst-lfschk5.cc): Likewise.
3808         (CFLAGS-tst-lfschk6.cc): Likewise.
3810         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3811         (main): Disable -Wdeprecated-declarations around calls to
3812         register_printf_function.
3814         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3815         (do_test): Disable -Wdiv-by-zero around some calls to
3816         fwrite_unlocked and fread_unlocked.
3818         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3819         (DIAG_POP_NEEDS_COMMENT): Likewise.
3820         (_DIAG_STR1): Likewise.
3821         (_DIAG_STR): Likewise.
3822         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3823         * stdio-common/bug21.c: Include <libc-internal.h>.
3824         (do_test): Disable -Wformat around call to sscanf.
3825         * stdio-common/scanf14.c: Include <libc-internal.h>.
3826         (main): Disable -Wformat around some calls to scanf functions.
3828 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3830         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3832 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3834         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3835         stack variable alignment.
3837 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3839         [BZ #17682]
3840         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3841         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3842         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3843         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3844         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3845         __getrlimit instead of getrlimit.
3846         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3847         __gettimeofday instead of gettimeofday.
3848         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3849         Likewise.
3850         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3851         Likewise.
3852         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3853         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3854         Remove variable.
3855         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3856         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3858 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3860         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3861         for wide-character tests.
3863 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3865         * io/openat64.c: #include <libc-internal.h>
3866         (__openat64): Prototypify.  Use ignore_value on MODE.
3867         * io/openat.c: Likewise.
3868         * misc/reboot.c: #include <libc-internal.h>
3869         (reboot): Prototypify.  Use ignore_value on HOWTO.
3870         * misc/ptrace.c: #include <libc-internal.h>
3871         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3873 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3875         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3876         XPG4, UNIX98 and XOPEN2K.
3877         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3878         Remove variable.
3879         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3881 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3883         * libio/fileops.c: Use ISO C style for function definitions.
3884         * libio/iofopen.c: Likewise.
3885         * libio/wfileops.c: Likewise.
3887         [BZ #17653]
3888         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3889         offset on EOF.
3890         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3891         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3892         (fgets_func): Function pointer to fgets and fgetws.
3893         (do_ftell_test): Add test to verify ftell value after read
3894         EOF.
3895         (do_test): Set fgets_func.
3897         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3898         O_TRUNC flag for w and w+ modes.
3899         (do_rewind_test): Likewise.
3900         (do_ftell_test): Likewise.
3901         (do_write_test): Likewise.
3903         [BZ #17647]
3904         * libio/fileops.c (do_ftell): Seek only when there are
3905         unflushed writes.
3906         * libio/wfileops.c (do_ftell_wide): Likewise.
3907         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3908         test case.
3909         (do_one_test): Call it.
3911 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3913         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3914         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3915         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3916         Remove variable.
3917         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3918         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3919         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3921 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3923         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3924         Remove variable.
3925         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3927         [BZ #17668]
3928         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3929         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3930         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3931         __freeifaddrs.  Use libc_hidden_weak.
3932         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3933         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3934         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3935         __freeifaddrs.  Use libc_hidden_weak.
3936         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3937         __getifaddrs and define as weak alias of __getifaddrs.  Use
3938         libc_hidden_weak.
3939         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3940         __freeifaddrs.  Use libc_hidden_weak.
3941         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3942         Remove variable.
3943         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3944         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3946 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3948         [BZ #17601]
3949         * sysdeps/mips/start.S (__start): Use indirect jump to call
3950         __libc_start_main.
3952 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3954         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3956         * nptl/tst-mutex1.c: Include <stdbool.h>.
3957         [!ATTR] (ATTR_NULL): New macro.
3958         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3959         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3960         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3962         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3963         to char *.
3965         [BZ #17665]
3966         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3967         Change conditional to [__USE_MISC].
3969         [BZ #17664]
3970         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3971         fgets_unlocked.
3972         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3973         __fgets_unlocked.
3974         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3975         fgets_unlocked.
3976         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3977         Remove variable.
3978         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3979         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3980         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3981         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3982         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3983         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3984         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3985         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3986         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3988         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3990 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3992         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3993         Remove strpbrk objects.
3994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3995         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3996         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3997         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3998         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3999         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4001         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4002         Remove strcspn objects.
4003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4004         (__libc_ifunc_impl_list): Remove strcspn implementation.
4005         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4006         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4007         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4008         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4010         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4011         Remove strspn objetcs.
4012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4013         (__libc_ifunc_impl_list): Remove strspn implementation.
4014         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4015         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4016         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4017         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4019 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4021         [BZ #17581]
4022         * malloc/hooks.c
4023         (mem2mem_check): Add a terminator to the chain of checking blocks.
4024         (malloc_check_get_size): Use it here.
4025         (mem2chunk_check): Ditto.
4027 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4029         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4030         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4032 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4034         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4036         * nptl/nptl-init.c: Include libc-internal.h.
4037         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4039         * elf/ldconfig.c (search_dir): Expand comment.
4041 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4043         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4044         variable.
4045         (linknamespace-symlist-stdlibs-tests): Likewise.
4046         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4047         instead of $(objpfx)symlist-stdlibs.
4048         (linknamespace-libs-isoc): New variable.
4049         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4050         (linknamespace-libs-ISO): New variable.
4051         (linknamespace-libs-ISO99): Likewise.
4052         (linknamespace-libs-ISO11): Likewise.
4053         (linknamespace-libs-XPG3): Likewise.
4054         (linknamespace-libs-XPG4): Likewise.
4055         (linknamespace-libs-POSIX): Likewise.
4056         (linknamespace-libs-UNIX98): Likewise.
4057         (linknamespace-libs-XOPEN2K): Likewise.
4058         (linknamespace-libs-POSIX2008): Likewise.
4059         (linknamespace-libs-XOPEN2K8): Likewise.
4060         ($(objpfx)symlist-stdlibs): Replace by
4061         $(linknamespace-symlist-stdlibs-tests).  Use
4062         $(linknamespace-libs-$*) as set of libraries.
4063         ($(linknamespace-header-tests)): Update dependencies.  Use
4064         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4065         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4066         * conform/linknamespace.pl: Remove comment about considering
4067         definitions of symbols from irrelevant libraries.
4069 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4071         [BZ #13862]
4072         * elf/dl-tls.c: Include <atomic.h>.
4073         (oom): Remove #ifdef SHARED/#endif.
4074         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4075         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4076         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4077         big enough.
4078         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4079         * nptl/Makefile (tests): Add tst-stack4.
4080         (modules-names): Add tst-stack4mod.
4081         ($(objpfx)tst-stack4): New.
4082         (tst-stack4mod.sos): Likewise.
4083         ($(objpfx)tst-stack4.out): Likewise.
4084         ($(tst-stack4mod.sos)): Likewise.
4085         (clean): Likewise.
4086         * nptl/tst-stack4.c: New file.
4087         * nptl/tst-stack4mod.c: Likewise.
4089 2014-11-27  J. Brown  <jb999@gmx.de>
4091         * sysdeps/x86/bits/string.h: Add recent CPUs.
4093 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4095         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4096         sigblock.
4098         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4099         feof.
4101         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4102         variable.
4104 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4106         * nscd/connections.c: Include libc-internal.h because of macro
4107         usage ignore_value.
4109 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4111         * string/bits/string3.h (__warn_memset_zero_len): Don't
4112         declare for gcc newer than 5.0.
4113         (memset): Don't test for zero-length __LEN for gcc newer than
4114         5.0.
4116 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4118         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4119         size_t for %zu format.
4121         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4122         difference, not %ju.
4124 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4126         * include/libc-internal.h (ignore_value): New macro.
4127         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4128         with ignore_value.
4130         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4131         definition.
4133         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4134         pthread_cleanup_push to void *.
4136         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4137         Undefine.
4139         [BZ #16619]
4140         [BZ #16740]
4141         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4142         instead of 1L << 52.
4144         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4145         * libio/bug-rewind2.c (do_test): Likewise.
4147         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4148         * debug/test-strcpy_chk-ifunc.c: Likewise.
4149         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4150         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4151         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4152         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4153         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4154         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4155         * Rules [$(multi-arch) = no] (tests): Do not filter out
4156         $(tests-ifunc).
4157         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4158         * debug/Makefile (tests-ifunc): Remove variable.
4159         (tests): Do not add $(tests-ifunc).
4160         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4161         (tests): Do not add $(tests-ifunc).
4162         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4163         [TEST_IFUNC]: Remove conditionals.
4164         * string/test-string.h (TEST_IFUNC): Remove macro.
4165         [TEST_IFUNC]: Remove conditionals.
4167         * string/test-strchr.c [!WIDE] (L): New macro.
4168         [WIDE] (L): Likewise.
4169         (check1): Use CHAR instead of char.  Use L on string and character
4170         constants.
4172 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4174         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4175         tests.
4176         * sysdeps/powerpc/bits/atomic.h
4177         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4178         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4179         (atomic_exchange_and_add_acq): Likewise.
4180         (atomic_exchange_and_add_rel): Likewise.
4181         * sysdeps/powerpc/powerpc32/bits/atomic.h
4182         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4183         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4184         * sysdeps/powerpc/powerpc64/bits/atomic.h
4185         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4186         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4188 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4190         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4191         Change synchronization of __sched_fifo_min_prio and
4192         __sched_fifo_max_prio.
4193         * nptl/pthread_mutexattr_getprioceiling.c
4194         (pthread_mutexattr_getprioceiling): Likewise.
4195         * nptl/pthread_mutexattr_setprioceiling.c
4196         (pthread_mutexattr_setprioceiling): Likewise.
4197         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4198         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4199         Likewise.
4201 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4203         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4204         void.
4206 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4208         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4209         third argument const.
4211 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4213         fnmatch: work around GCC compiler warning bug with uninit var
4214         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4215         This works around a bug with x86-64 GCC 4.9.2 and earlier
4216         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4217         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4218         used uninitialized in this function [-Wmaybe-uninitialized]".
4220 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4222         * posix/bug-regex31.c (main): Return RES not 0.
4224 2014-11-25  Anton Blanchard <anton@samba.org>
4226         * sysdeps/powerpc/bits/atomic.h
4227         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4229 2014-11-24  Sterling Augustine  <saugustine@google.com>
4231         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4233 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4235         [BZ #17608]
4236         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4238 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4240         [BZ #17633]
4241         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4242         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4243         variable.
4244         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4245         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4247 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4249         * string/strncpy.c (strncpy): Improve performance by using memset.
4251 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4253         * string/strcpy.c (strcpy):
4254         Improve performance by using strlen and memcpy.
4256 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4258         * string/strcoll_l.c (get_next_seq): __always_inline.
4259         * string/strcoll_l.c (do_compare): __always_inline.
4261 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4263         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4264         defined.
4265         * include/mqueue.h: Likewise.
4266         * include/stdlib.h: Likewise.
4268         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4269         (get_null_defines): Adjust.
4270         * sunrpc/Makefile: Adjust comment.
4271         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4272         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4273         (CFLAGS-interp.c): Likewise.
4274         (CFLAGS-ldconfig.c): Likewise.
4275         (CPPFLAGS-.os): Likewise.
4276         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4277         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4278         * extra-modules.mk (extra-modules.mk): Likewise.
4279         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4280         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4281         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4282         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4283         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4284         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4285         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4286         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4287         * iconvdata/Makefile (CPPFLAGS): Likewise.
4288         (cpp-srcs-left): Add libof for all iconvdata routines.
4289         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4290         * include/assert.h: Likewise.
4291         * include/ctype.h: Likewise.
4292         * include/errno.h: Likewise.
4293         * include/libc-symbols.h: Likewise.
4294         * include/math.h: Likewise.
4295         * include/netdb.h: Likewise.
4296         * include/resolv.h: Likewise.
4297         * include/stdio.h: Likewise.
4298         * include/stdlib.h: Likewise.
4299         * include/string.h: Likewise.
4300         * include/sys/stat.h: Likewise.
4301         * include/wctype.h: Likewise.
4302         * intl/l10nflist.c: Likewise.
4303         * libidn/idn-stub.c: Likewise.
4304         * libio/libioP.h: Likewise.
4305         * nptl/libc_multiple_threads.c: Likewise.
4306         * nptl/pthreadP.h: Likewise.
4307         * posix/regex_internal.h: Likewise.
4308         * resolv/res_hconf.c: Likewise.
4309         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4310         * sysdeps/arm/memmove.S: Likewise.
4311         * sysdeps/arm/sysdep.h: Likewise.
4312         * sysdeps/generic/_itoa.h: Likewise.
4313         * sysdeps/generic/symbol-hacks.h: Likewise.
4314         * sysdeps/gnu/errlist.awk: Likewise.
4315         * sysdeps/gnu/errlist.c: Likewise.
4316         * sysdeps/i386/i586/memcpy.S: Likewise.
4317         * sysdeps/i386/i586/memset.S: Likewise.
4318         * sysdeps/i386/i686/memcpy.S: Likewise.
4319         * sysdeps/i386/i686/memmove.S: Likewise.
4320         * sysdeps/i386/i686/mempcpy.S: Likewise.
4321         * sysdeps/i386/i686/memset.S: Likewise.
4322         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4323         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4324         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4325         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4326         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4327         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4328         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4329         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4330         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4331         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4332         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4333         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4334         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4335         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4336         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4337         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4338         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4339         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4340         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4341         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4342         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4343         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4344         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4345         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4346         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4347         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4348         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4349         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4350         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4351         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4352         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4353         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4355         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4356         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4357         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4358         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4359         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4360         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4361         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4362         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4363         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4364         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4365         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4366         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4367         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4368         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4369         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4370         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4371         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4372         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4373         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4374         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4375         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4376         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4377         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4378         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4379         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4380         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4381         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4382         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4383         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4384         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4385         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4386         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4387         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4388         * sysdeps/posix/closedir.c: Likewise.
4389         * sysdeps/posix/opendir.c: Likewise.
4390         * sysdeps/posix/readdir.c: Likewise.
4391         * sysdeps/posix/rewinddir.c: Likewise.
4392         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4393         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4394         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4395         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4396         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4397         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4398         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4400         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4402         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4403         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4404         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4405         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4406         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4407         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4408         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4409         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4410         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4411         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4412         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4413         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4414         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4415         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4419         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4420         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4427         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4428         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4429         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4430         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4431         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4432         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4433         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4434         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4435         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4436         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4437         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4438         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4439         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4440         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4441         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4442         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4443         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4445         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4446         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4447         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4448         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4449         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4450         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4451         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4452         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4453         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4454         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4455         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4456         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4457         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4458         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4459         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4460         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4461         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4462         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4463         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4464         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4465         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4466         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4467         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4468         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4469         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4470         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4471         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4472         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4473         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4474         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4475         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4476         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4477         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4478         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4479         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4480         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4481         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4482         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4483         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4484         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4487         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4488         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4489         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4490         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4491         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4492         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4493         * sysdeps/unix/alpha/sysdep.S: Likewise.
4494         * sysdeps/unix/alpha/sysdep.h: Likewise.
4495         * sysdeps/unix/make-syscalls.sh: Likewise.
4496         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4498         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4499         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4500         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4501         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4502         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4503         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4504         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4505         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4506         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4507         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4508         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4509         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4510         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4511         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4512         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4513         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4514         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4515         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4516         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4517         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4518         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4519         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4520         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4521         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4522         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4525         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4527         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4530         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4533         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4534         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4535         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4536         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4537         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4538         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4539         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4540         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4542         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4543         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4546         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4547         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4548         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4549         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4550         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4552         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4554         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4555         * sysdeps/x86_64/memcpy.S: Likewise.
4556         * sysdeps/x86_64/memmove.c: Likewise.
4557         * sysdeps/x86_64/memset.S: Likewise.
4558         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4559         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4560         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4561         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4562         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4563         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4564         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4565         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4566         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4567         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4568         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4569         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4570         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4571         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4572         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4573         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4574         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4575         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4576         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4577         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4578         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4579         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4580         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4581         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4582         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4583         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4584         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4585         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4586         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4587         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4588         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4589         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4590         * sysdeps/x86_64/strcmp.S: Likewise.
4592         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4594         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4595         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4596         * elf/rtld-Rules: Likewise.
4597         * elf/setup-vdso.h: Likewise.
4598         * include/assert.h: Likewise.
4599         * include/bits/stdlib-float.h: Likewise.
4600         * include/errno.h: Likewise.
4601         * include/sys/stat.h: Likewise.
4602         * include/unistd.h: Likewise.
4603         * sysdeps/aarch64/setjmp.S: Likewise.
4604         * sysdeps/alpha/setjmp.S: Likewise.
4605         * sysdeps/arm/__longjmp.S: Likewise.
4606         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4607         * sysdeps/arm/setjmp.S: Likewise.
4608         * sysdeps/arm/sysdep.h: Likewise.
4609         * sysdeps/generic/_itoa.h: Likewise.
4610         * sysdeps/generic/dl-sysdep.h: Likewise.
4611         * sysdeps/generic/ldsodefs.h: Likewise.
4612         * sysdeps/i386/dl-tls.h: Likewise.
4613         * sysdeps/i386/setjmp.S: Likewise.
4614         * sysdeps/m68k/setjmp.c: Likewise.
4615         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4616         * sysdeps/mach/hurd/opendir.c: Likewise.
4617         * sysdeps/posix/getcwd.c: Likewise.
4618         * sysdeps/posix/opendir.c: Likewise.
4619         * sysdeps/posix/profil.c: Likewise.
4620         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4621         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4622         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4623         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4624         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4625         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4626         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4627         * sysdeps/s390/dl-tls.h: Likewise.
4628         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4629         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4630         * sysdeps/sh/sh3/setjmp.S: Likewise.
4631         * sysdeps/sh/sh4/setjmp.S: Likewise.
4632         * sysdeps/unix/alpha/sysdep.h: Likewise.
4633         * sysdeps/unix/arm/sysdep.S: Likewise.
4634         * sysdeps/unix/i386/sysdep.S: Likewise.
4635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4636         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4637         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4638         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4639         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4640         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4641         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4642         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4643         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4644         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4645         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4646         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4647         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4650         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4653         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4654         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4655         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.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.h: Likewise.
4660         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4662         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4663         * sysdeps/x86_64/setjmp.S: Likewise.
4665         * include/math.h: Use IS_IN instead of IS_IN_libm.
4666         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4667         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4669         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4670         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4671         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4672         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4673         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4674         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4675         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4676         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4677         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4678         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4679         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4680         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4681         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4682         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4683         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4684         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4685         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4686         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4687         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4688         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4689         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4690         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4691         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4692         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4693         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4694         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4695         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4696         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4697         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4698         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4700         Likewise.
4701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4702         Likewise.
4703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4704         Likewise.
4705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4706         Likewise.
4707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4708         Likewise.
4709         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4710         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4711         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4712         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4713         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4714         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4720         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4721         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4722         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4723         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4724         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4725         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4726         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4727         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4728         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4729         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4730         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4732         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4733         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4735         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4737         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4738         * nptl/pthreadP.h: Likewise.
4739         * nptl_db/structs.def: Likewise.
4740         * sysdeps/arm/sysdep.h: Likewise.
4741         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4742         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4743         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4744         * sysdeps/unix/alpha/sysdep.h: Likewise.
4745         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4747         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4748         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4749         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4750         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4752         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4753         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4754         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4755         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4756         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4757         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4758         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4763         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4766         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4767         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4768         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4769         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4770         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4772         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4773         * nptl/pthreadP.h: Likewise.
4774         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4775         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4776         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4777         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4778         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4779         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4780         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4781         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4782         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4783         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4784         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4785         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4787         Likewise.
4788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4789         Likewise.
4790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4792         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4794         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4795         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4796         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4797         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4799         * dlfcn/dladdr.c: Use IS_IN.
4800         * dlfcn/dladdr1.c: Likewise.
4801         * dlfcn/dlclose.c: Likewise.
4802         * dlfcn/dlerror.c: Likewise.
4803         * dlfcn/dlinfo.c: Likewise.
4804         * dlfcn/dlmopen.c: Likewise.
4805         * dlfcn/dlopen.c: Likewise.
4806         * dlfcn/dlsym.c: Likewise.
4807         * dlfcn/dlvsym.c: Likewise.
4809         * include/ifaddrs.h: Use IS_IN.
4810         * inet/check_pf.c: Likewise.
4811         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4812         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4814         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4815         IS_IN_ldconfig.
4816         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4817         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4819         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4820         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4821         IS_IN (libc).
4823         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4825         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4826         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4827         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4828         * include/libc-symbols.h (IS_IN_LIB): New macro.
4829         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4830         * include/netdb.h: Likewise.
4831         * include/stap-probe.h: Remove all uses of IN_LIB.
4833         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4834         instead of IN_MODULE.
4835         * include/libc-symbols.h (IN_MODULE): Define using
4836         MODULE_NAME.
4837         (PASTE_NAME, PASTE_NAME1): New macros.
4838         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4839         of IN_LIB.
4840         (STAP_PROBE_ASM): Likewise.
4842 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4844         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4845         __mach_init in dlopened libc.
4847 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4849         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4850         * sysdeps/arm/preconfigure: Regenerate.
4852 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4854         * nptl/pthread_create.c (__pthread_create_2_1): Set
4855         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4856         when copying values from IATTR into PD.
4858 2014-11-21  Will Newton  <will.newton@linaro.org>
4859             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4861         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4862         Refactor inline-asm.  Also add comment.
4864         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4865         ElfW macro instead of hardcoded Elf64 types.
4866         (la_aarch64_gnu_pltenter): Likewise.
4867         * sysdeps/aarch64/dl-machine.h
4868         (elf_machine_runtime_setup): Use ElfW(Addr).
4870         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4871         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4872         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4873         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4874         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4875         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4876         (R_AARCH64_TLS_DTPMOD): This.
4877         (R_AARCH64_TLS_DTPREL64): Rename to ...
4878         (R_AARCH64_TLS_DTPREL): This.
4879         (R_AARCH64_TLS_TPREL64): Rename to ...
4880         (R_AARCH64_TLS_TPREL): This.
4881         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4882         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4883         R_AARCH64_TLS_TPREL64.
4884         (elf_machine_rela): Likewise.
4886 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4888         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4889         by setting it to 0.  64b atomics are not supported currently.
4891 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4893         [BZ #16469]
4894         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4895         search domain names.
4897 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4899         [BZ #16469]
4900         * NEWS: Update.
4901         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4902         trailing dot.
4903         * posix/tst-getaddrinfo5.c: New.
4904         * posix/Makefile (tests): Add it.
4906 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4908         [BZ #14498]
4909         * NEWS: Fixed.
4910         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4911         after parsing line but before break_if_match.
4912         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4913         if there is a protocol mismatch.
4915 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4917         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4918         because the potential race is on the user-supplied stream.
4920 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4922         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4923         string literal if not passed a buffer.
4924         * manual/job.texi (ctermid): Update reasoning, note deviation
4925         from posix, suggest mtasurace when not passed a buffer, for
4926         future non-preliminary safety notes.
4928 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4930         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4931         of not passing it a buffer.
4932         Reported by Peng Haitao.
4934 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4936         * manual/Makefile ($(objpfx)stamp-summary): Require
4937         check-safety.sh to pass.
4938         * manual/check-safety.sh: Wish for verification that every
4939         @deftypefn and @deftypefun is followed by a @safety remark.
4941 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4943         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4945         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4946         PTHREAD_CANCEL_ASYNCHRONOUS.
4947         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4948         send SIGCANCEL.
4950         * nptl/default-sched.h: New file.
4951         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4952         * nptl/pthread_create.c: Include it.
4953         (__pthread_create_2_1): Use collect_default_sched instead of making
4954         Linux syscalls here directly.
4956 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4958         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4959         __pthread_once): Use C11 atomics.
4961 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4963         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4965 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4967         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4968         atomic_thread_fence_acquire, atomic_thread_fence_release,
4969         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4970         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4971         atomic_compare_exchange_weak_relaxed,
4972         atomic_compare_exchange_weak_acquire,
4973         atomic_compare_exchange_weak_release,
4974         atomic_exchange_acquire, atomic_exchange_release,
4975         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4976         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4977         atomic_fetch_and_acquire,
4978         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4980 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4982         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4983         USE_ATOMIC_COMPILER_BUILTINS): Define.
4984         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4986         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4988         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4990         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4992         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4994         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4996         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4998         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4999         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5000         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5002         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5004         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5006         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5008         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5010         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5012         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5014         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5016         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5018         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5019         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5020         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5022         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5023         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5025 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5027         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5028         the sched_priority value here.  It was already checked when the user
5029         called pthread_attr_setschedparam.
5031         * nptl/tst-bad-schedattr.c: New file.
5032         * nptl/Makefile (tests): Add it.
5034 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5035             Florian Weimer  <fweimer@redhat.com>
5036             Joseph Myers  <joseph@codesourcery.com>
5037             Adam Conrad  <adconrad@0c3.net>
5038             Andreas Schwab  <schwab@suse.de>
5039             Brooks  <bmoses@google.com>
5041         [BZ #17625]
5042         * wordexp-test.c (__dso_handle): Add prototype.
5043         (__register_atfork): Likewise.
5044         (__app_register_atfork): New function.
5045         (registered_forks): New global.
5046         (register_fork): New function.
5047         (test_case): Add 3 new tests for WRDE_CMDSUB.
5048         (main): Call __app_register_atfork.
5049         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5050         fork count is non-zero fail the test.
5051         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5052         is set.
5053         (parse_dollars): Remove check for WRDE_NOCMD.
5054         (parse_dquote): Likewise.
5056 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5058         * Makeconfig (built-modules): List non-library modules to be
5059         built.
5060         (module-cppflags): Include libc-modules.h for
5061         everything except shlib-versions.v.i.
5062         (CPPFLAGS): Use it.
5063         (before-compile): Add libc-modules.h.
5064         ($(common-objpfx)libc-modules.h,
5065         $(common-objpfx)libc-modules.stmp): New targets.
5066         (common-generated): Add libc-modules.h and libc-modules.stmp.
5067         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5068         * include/libc-symbols.h: Don't include libc-modules.h.
5069         * include/libc-modules.h: Remove file.
5070         * scripts/gen-libc-modules.awk: New script to generate
5071         libc-modules.h.
5072         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5073         Depend on libc-modules.stmp.
5075         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5077         * Makeconfig (in-module): Get value of libof set for the
5078         translation unit.
5079         (CPPFLAGS): Use $(in-module).
5080         * Makerules: Don't suffix routine names for nonlib.
5081         * include/libc-modules.h: New file.
5082         * include/libc-symbols.h: Include libc-modules.h
5083         (IS_IN): New macro to replace IS_IN_* macros.
5084         * elf/Makefile: Set libof-* for each routine.
5085         * elf/rtld-Rules: Likewise.
5086         * extra-modules.mk: Likewise.
5087         * iconv/Makefile: Likewise.
5088         * iconvdata/Makefile: Likewise.
5089         * locale/Makefile: Likewise.
5090         * malloc/Makefile: Likewise.
5091         * nss/Makefile: Likewise.
5092         * sysdeps/gnu/Makefile: Likewise.
5093         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5094         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5095         * sysdeps/s390/s390-64/Makefile: Likewise.
5096         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5097         CPPFLAGS for nscd instead of nonlib.
5099 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5101         * nptl/createthread.c: New file.
5103         * nptl/createthread.c: Moved ...
5104         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5106         * nptl/createthread.c: Add proper top-line comment.
5107         (do_clone): Folded into ...
5108         (create_thread): ... here.  Take new arguments STOPPED_START and
5109         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5110         increment __nptl_threads, do event-reporting logic, do
5111         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5112         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5113         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5114         just send SIGCANCEL.
5115         * nptl/pthread_create.c: Forward-declare create_thread before
5116         including createthread.c.
5117         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5118         declaration, and new macro START_THREAD_SELF to replace argument.
5119         Remove return statement.
5120         (report_thread_creation): New function.
5121         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5122         synchronization logic, and __nptl_nthreads increment here, around
5123         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5124         PD->parent_cancelhandling here, before create_thread.  When
5125         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5126         __deallocate_stack, and ENOMEM translation here.
5128 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5130         [BZ #17616]
5131         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5132         (mptwo): Rename to __mptwo.
5133         (__inv): Use __mptwo instead of mptwo.
5134         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5135         (mptwo): Rename to __mptwo.
5136         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5137         of mpone and __mptwo instead of mptwo.
5138         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5139         instead of mpone.
5140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5141         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5142         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5143         of mpone and __mptwo instead of mptwo.
5144         (__mpranred): Use __mpone instead of mpone.
5145         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5146         variable.
5147         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5148         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5149         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5150         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5151         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5152         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5153         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5154         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5155         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5156         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5157         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5158         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5159         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5160         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5161         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5162         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5163         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5164         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5165         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5167 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5169         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5170         replace BSD Handler xref with BSD Signal Handling.
5172 2014-11-17  Richard Henderson  <rth@redhat.com>
5174         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5175         (_FP_PACK_RAW_2): Remove.
5176         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5177         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5178         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5179         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5180         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5181         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5182         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5183         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5184         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5185         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5186         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5187         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5188         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5189         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5190         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5191         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5193 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5195         * signal/signal.h [__USE_MISC]
5196         (struct sigvec): Remove type.
5197         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5198         (sigvec): Remove declaration.
5199         * sysdeps/posix/sigvec.c: Moved ...
5200         * signal/sigvec.c: ... here, replacing old file.
5201         (struct sigvec): New type, copied from old signal.h definition.
5202         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5203         (__sigvec): Convert definition to prototype.
5204         (sigvec): Replace weak_alias with compat_symbol.
5205         * signal/Versions (libc: GLIBC_2.21): New version set.
5206         * include/signal.h: Remove __sigvec declaration.
5207         * sysdeps/unix/bsd/sigvec.c: Remove file.
5208         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5209         * manual/signal.texi (BSD Handler): Remove subsection.
5210         Move siginterrupt up to ...
5211         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5212         (Blocking in BSD): Fold subsection into its parent.
5213         * NEWS: Mention sigvec removal.
5215 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5217         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5218         (DLA_FMS): Make definition conditional only on [__FMA4__].
5219         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5220         definition.
5222         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5223         Make definition conditional only on [PROF].
5224         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5225         definition.
5226         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5227         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5229         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5230         !__GNUC__].
5231         * include/signal.h (__sigpause): Move declaration above call to
5232         libc_hidden_proto.
5233         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5234         variable.
5235         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5236         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5238 2014-11-14  David S. Miller  <davem@davemloft.net>
5240         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5241         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5243 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5245         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5246         * configure: Regenerated.
5247         * manual/install.texi (Tools for Compilation): Document a
5248         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5249         compiler verified to work.
5250         * INSTALL: Regenerated.
5252         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5253         redeclare with asm name.
5254         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5255         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5256         including <string.h>.
5257         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5258         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5259         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5260         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5261         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5263         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5265 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5267         * stdlib/strtol.c (__strtol): Use prototype definition.
5269         [BZ #17594]
5270         * stdlib/strtol.c (SYM__): New macro.
5271         (SYM__1): Likewise.
5272         (__strtol): Likewise.
5273         (strtol): Rename to __strtol and define as weak alias of
5274         __strtol.  Use libc_hidden_weak.
5276 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5278         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5279         Use numbered labels in inline assembly.
5281 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5283         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5284         Add setjmp LIBC_PROBE.
5285         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5286         Likewise.
5287         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5288         Add longjmp, longjmp_target LIBC_PROBE.
5289         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5290         Likewise.
5292 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5294         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5295         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5296         to get rid of unused variable warning.
5298 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5300         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5301         Check for unwind_backtrace ==  NULL only in SHARED case.
5302         (__backchain_backtrace): Compile only in SHARED case.
5303         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5304         Likewise.
5305         (__backchain_backtrace): Declare as static.
5307 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5309         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5310         (__libc_multiple_threads_ptr): Variable moved ...
5311         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5313 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5315         * conform/GlibcConform.pm: New file.
5316         * conform/conformtest.pl: Use GlibcConform module.
5317         * conform/linknamespace.pl: New file.
5318         * conform/list-header-symbols.pl: Likewise.
5319         * conform/Makefile (linknamespace-symlists-base): New variable.
5320         (linknamespace-symlists-tests): Likewise.
5321         (linknamespace-header-base): Likewise.
5322         (linknamespace-header-tests): Likewise.
5323         (tests-special): Add new tests.
5324         ($(linknamespace-symlists-tests)): New rule.
5325         (linknamespace-libs): New variable.
5326         ($(objpfx)symlist-stdlibs): New rule.
5327         ($(linknamespace-header-tests)): Likewise.
5328         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5329         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5330         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5331         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5332         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5333         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5334         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5335         (test-xfail-ISO/math.h/linknamespace): Likewise.
5336         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5337         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5338         (test-xfail-ISO/time.h/linknamespace): Likewise.
5339         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5340         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5341         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5342         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5343         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5344         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5345         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5346         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5347         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5348         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5349         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5350         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5351         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5352         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5353         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5354         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5355         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5356         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5357         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5358         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5359         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5360         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5361         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5362         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5363         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5364         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5365         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5366         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5367         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5368         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5369         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5370         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5371         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5372         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5373         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5374         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5375         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5376         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5377         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5378         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5379         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5380         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5381         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5382         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5383         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5384         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5385         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5386         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5387         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5388         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5389         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5390         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5391         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5392         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5393         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5394         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5395         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5396         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5397         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5398         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5399         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5400         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5401         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5402         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5403         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5404         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5405         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5406         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5407         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5408         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5409         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5410         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5411         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5412         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5413         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5414         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5415         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5416         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5417         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5418         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5419         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5420         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5421         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5422         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5423         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5424         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5425         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5426         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5427         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5428         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5429         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5430         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5431         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5432         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5433         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5434         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5435         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5436         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5437         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5438         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5439         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5440         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5441         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5442         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5443         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5444         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5445         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5446         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5447         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5448         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5449         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5450         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5451         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5452         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5453         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5454         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5455         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5456         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5457         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5458         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5459         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5460         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5461         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5462         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5463         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5464         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5465         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5466         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5467         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5468         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5469         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5470         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5471         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5472         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5473         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5474         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5475         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5476         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5477         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5478         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5479         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5480         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5481         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5482         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5483         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5484         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5485         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5486         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5487         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5488         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5490         [BZ #17589]
5491         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5492         of fgets_unlocked.
5494         [BZ #17585]
5495         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5496         (memmem): Rename to __memmem and define as weak alias of
5497         __memmem.  Use libc_hidden_weak.
5498         (__memmem): Use libc_hidden_def.
5499         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
5500         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5501         memmem.
5503         [BZ #17582]
5504         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5505         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
5506         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5507         and define as weak alias of __fgets_unlocked.  Use
5508         libc_hidden_weak.
5509         (__fgets_unlocked): Use libc_hidden_def.
5510         * include/stdio.h (__fgets_unlocked): Declare.  Use
5511         libc_hidden_proto.
5512         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5513         __fgets_unlocked instead of fgets_unlocked.
5514         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5515         (GET_NPROCS_CONF_PARSER): Likewise.
5516         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5517         (GET_NPROCS_CONF_PARSER): Likewise.
5519         [BZ #17574]
5520         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5521         weak alias of __wmemset.  Use libc_hidden_weak.
5522         (__wmemset): Use libc_hidden_def.
5523         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
5524         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5525         of wmemset.
5527         [BZ #17573]
5528         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5529         with asm name __mempcpy.
5530         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5532         [BZ #17572]
5533         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5534         and define as weak alias of __rawmemchr.
5535         (__rawmemchr): Do not define as strong alias of rawmemchr.
5537         [BZ #17571]
5538         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5539         alias of __qsort_r.
5540         (qsort): Call __qsort_r instead of qsort_r.
5541         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5542         (__qsort_r): Declare.  Call libc_hidden_proto.
5543         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5544         instead of qsort_r.
5545         * nscd/gai.c (__qsort_r): Define to qsort_r.
5546         * posix/tst-rfc3484.c (__qsort_r): Likewise.
5547         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5548         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5550         [BZ #17570]
5551         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5552         define as weak alias of __malloc_info.
5554         [BZ #17584]
5555         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5556         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5557         (__rewinddir): Use libc_hidden_def.
5558         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5559         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5560         (__rewinddir): Use libc_hidden_def.
5561         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5562         weak alias of __rewinddir.  Don't use libc_hidden_def.
5563         (__rewinddir): Use libc_hidden_def.
5564         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5565         (__rewinddir): Use libc_hidden_proto.
5566         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5567         rewinddir.
5568         (__getcwd): Use __rewinddir instead of rewinddir.
5570         [BZ #17583]
5571         * libio/fileno.c (fileno): Rename to __fileno and define as weak
5572         alias of __fileno.  Use libc_hidden_weak.
5573         (__fileno): Use libc_hidden_def.
5574         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5575         * libio/ftello.c (ftello): Rename to __ftello and define as weak
5576         alias of __ftello.
5577         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5578         __ftello.
5579         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5580         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
5581         libc_hidden_def.
5582         (fread_unlocked): Don't use libc_hidden_ver.
5583         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5584         and define as weak alias of __fread_unlocked.  Don't use
5585         libc_hidden_def.
5586         (__fread_unlocked): Use libc_hidden_def.
5587         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
5588         (ftello): Don't use libc_hidden_proto.
5589         (__ftello): Declare.  Use libc_hidden_proto.
5590         (fread_unlocked): Don't use libc_hidden_proto.
5591         (__fread_unlocked): Declare.  Use libc_hidden_proto.
5592         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5593         and __ftello instead of fileno, fread_unlocked and ftello.
5595 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5597         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5598         GOT12.
5599         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5600         Likewise.
5601         (_dl_start_user): Likewise.
5602         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5604 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
5605             Siddhesh Poyarekar  <siddhesh@redhat.com>
5607         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5608         Move argv and envp down instead of moving argc up.
5609         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5611 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
5613         [BZ #17506]
5614         * test-skeleton.c (main): Return successful if one of
5615         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5616         * string/tst-strcoll-overflow.c: Define expected status.
5618 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
5620         [BZ #17475]
5621         * locale/iso-639.def: Define Bhili and Tulu language codes.
5623 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
5625         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5627 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
5629         [BZ #17555]
5630         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5632 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5634         * configure.ac: Updated check of minimal required version to
5635         2.22.
5636         * manual/install.texi (Tools for Compilation): Updated version
5637         number.
5638         * configure: Regenerated.
5639         * INSTALL: Likewise.
5641 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
5643         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5644         __tls_get_addr.
5646 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
5648         * include/sys/wait.h (__libc_waitpid): Remove declaration.
5649         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5650         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5651         libc_hidden_weak.
5652         (waitpid): Define as alias of __waitpid.
5653         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5654         __waitpid.
5655         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5656         libc_hidden_weak.
5657         (waitpid): Define as alias of __waitpid.
5658         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5659         __libc_waitpid alias.
5660         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5661         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5662         Likewise.
5663         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5664         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5665         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5666         alias.
5667         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5668         __waitpid.
5669         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5670         libc_hidden_weak.
5671         (waitpid): Define as alias of __waitpid.
5673 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
5675         * manual/llio.texi: Add comment that write safety has been
5676         fixed in Linux.
5678         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5679         (localplt-build-dso): Add elf/ld.so.
5680         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5681         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5682         and free for ld.so.
5683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5684         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5686         Likewise.
5687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5688         Likewise.
5689         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5690         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5691         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5692         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5693         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5694         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5695         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5696         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5697         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5698         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5699         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5701 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
5703         [BZ #14132]
5704         * include/libc-symbols.h (INTUSE): Remove macro.
5705         (INTDEF): Likewise.
5706         (INTVARDEF): Likewise.
5707         (_INTVARDEF): Likewise.
5708         (INTDEF2): Likewise.
5709         (INTVARDEF2): Likewise.
5710         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5711         rtld_hidden_def instead of INTVARDEF.
5712         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5713         (_dl_starting_up_internal): Remove declaration.
5714         (_dl_starting_up): Use rtld_hidden_proto.
5715         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5716         declaration.
5717         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5718         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5719         _dl_starting_up.
5720         * elf/dl-writev.h (_dl_writev): Likewise.
5721         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5722         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5723         _dl_starting_up_internal.
5725 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5727         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5728         test-skeleton.c.
5730 2014-11-05  Will Newton  <will.newton@linaro.org>
5732         * benchtests/Makefile: (bench-malloc): Add malloc thread
5733         scalability benchmark.
5734         * benchtests/bench-malloc-threads.c: New file.
5736 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
5738         * sysdeps/aarch64/strchrnul.S: New file.
5740 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5742         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5743         definition.
5744         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5745         Likwise.
5746         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5747         Likewise.
5748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5749         Likewise.
5750         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5751         Likewise.
5752         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5753         Likewise.
5755 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
5757         * catgets/test-gencat.c: Use test-skeleton.c.
5758         * catgets/tst-catgets.c: Likewise.
5759         * csu/tst-empty.c: Likewise.
5760         * elf/tst-audit2.c: Likewise.
5761         * elf/tst-global1.c: Likewise.
5762         * elf/tst-pathopt.c: Likewise.
5763         * elf/tst-piemod1.c: Likewise.
5764         * elf/tst-tls10.c: Likewise.
5765         * elf/tst-tls11.c: Likewise.
5766         * elf/tst-tls12.c: Likewise.
5767         * gnulib/tst-gcc.c: Likewise.
5768         * iconvdata/tst-e2big.c: Likewise.
5769         * iconvdata/tst-loading.c: Likewise.
5770         * iconv/tst-iconv1.c: Likewise.
5771         * iconv/tst-iconv2.c: Likewise.
5772         * inet/test-inet6_opt.c: Likewise.
5773         * inet/tst-gethnm.c: Likewise.
5774         * inet/tst-network.c: Likewise.
5775         * inet/tst-ntoa.c: Likewise.
5776         * intl/tst-codeset.c: Likewise.
5777         * intl/tst-gettext2.c: Likewise.
5778         * intl/tst-gettext3.c: Likewise.
5779         * intl/tst-ngettext.c: Likewise.
5780         * intl/tst-translit.c: Likewise.
5781         * io/test-stat.c: Likewise.
5782         * libio/test-fmemopen.c: Likewise.
5783         * libio/tst-freopen.c: Likewise.
5784         * libio/tst-sscanf.c: Likewise.
5785         * libio/tst-ungetwc1.c: Likewise.
5786         * libio/tst-ungetwc2.c: Likewise.
5787         * libio/tst-widetext.c: Likewise.
5788         * localedata/tst-ctype.c: Likewise.
5789         * localedata/tst-digits.c: Likewise.
5790         * localedata/tst-leaks.c: Likewise.
5791         * localedata/tst-mbswcs1.c: Likewise.
5792         * localedata/tst-mbswcs2.c: Likewise.
5793         * localedata/tst-mbswcs3.c: Likewise.
5794         * localedata/tst-mbswcs4.c: Likewise.
5795         * localedata/tst-mbswcs5.c: Likewise.
5796         * localedata/tst-setlocale.c: Likewise.
5797         * localedata/tst-trans.c: Likewise.
5798         * localedata/tst-wctype.c: Likewise.
5799         * localedata/tst-xlocale1.c: Likewise.
5800         * login/tst-grantpt.c: Likewise.
5801         * malloc/tst-calloc.c: Likewise.
5802         * malloc/tst-malloc.c: Likewise.
5803         * malloc/tst-mallocstate.c: Likewise.
5804         * malloc/tst-mcheck.c: Likewise.
5805         * malloc/tst-mtrace.c: Likewise.
5806         * malloc/tst-obstack.c: Likewise.
5807         * math/atest-exp2.c: Likewise.
5808         * math/atest-exp.c: Likewise.
5809         * math/atest-sincos.c: Likewise.
5810         * math/test-matherr.c: Likewise.
5811         * math/test-misc.c: Likewise.
5812         * math/test-powl.c: Likewise.
5813         * math/tst-definitions.c: Likewise.
5814         * misc/tst-dirname.c: Likewise.
5815         * misc/tst-efgcvt.c: Likewise.
5816         * misc/tst-fdset.c: Likewise.
5817         * misc/tst-hsearch.c: Likewise.
5818         * misc/tst-mntent2.c: Likewise.
5819         * nptl/tst-sem7.c: Likewise.
5820         * nptl/tst-sem8.c: Likewise.
5821         * nptl/tst-sem9.c: Likewise.
5822         * nss/test-netdb.c: Likewise.
5823         * posix/tst-fnmatch.c: Likewise.
5824         * posix/tst-getlogin.c: Likewise.
5825         * posix/tst-gnuglob.c: Likewise.
5826         * posix/tst-mmap.c: Likewise.
5827         * pwd/tst-getpw.c: Likewise.
5828         * resolv/tst-inet_ntop.c: Likewise.
5829         * rt/tst-timer.c: Likewise.
5830         * stdio-common/test-fseek.c: Likewise.
5831         * stdio-common/test-popen.c: Likewise.
5832         * stdio-common/test-vfprintf.c: Likewise.
5833         * stdio-common/tst-cookie.c: Likewise.
5834         * stdio-common/tst-fileno.c: Likewise.
5835         * stdio-common/tst-gets.c: Likewise.
5836         * stdio-common/tst-obprintf.c: Likewise.
5837         * stdio-common/tst-perror.c: Likewise.
5838         * stdio-common/tst-sprintf2.c: Likewise.
5839         * stdio-common/tst-sprintf3.c: Likewise.
5840         * stdio-common/tst-sprintf.c: Likewise.
5841         * stdio-common/tst-swprintf.c: Likewise.
5842         * stdio-common/tst-tmpnam.c: Likewise.
5843         * stdio-common/tst-unbputc.c: Likewise.
5844         * stdio-common/tst-wc-printf.c: Likewise.
5845         * stdlib/tst-environ.c: Likewise.
5846         * stdlib/tst-fmtmsg.c: Likewise.
5847         * stdlib/tst-limits.c: Likewise.
5848         * stdlib/tst-rand48-2.c: Likewise.
5849         * stdlib/tst-rand48.c: Likewise.
5850         * stdlib/tst-random2.c: Likewise.
5851         * stdlib/tst-random.c: Likewise.
5852         * stdlib/tst-strtol.c: Likewise.
5853         * stdlib/tst-strtoll.c: Likewise.
5854         * stdlib/tst-tls-atexit.c: Likewise.
5855         * stdlib/tst-xpg-basename.c: Likewise.
5856         * string/test-ffs.c: Likewise.
5857         * string/tst-bswap.c: Likewise.
5858         * string/tst-inlcall.c: Likewise.
5859         * string/tst-strtok.c: Likewise.
5860         * string/tst-strxfrm.c: Likewise.
5861         * sysdeps/x86_64/tst-audit10.c: Likewise.
5862         * sysdeps/x86_64/tst-audit3.c: Likewise.
5863         * sysdeps/x86_64/tst-audit4.c: Likewise.
5864         * sysdeps/x86_64/tst-audit5.c: Likewise.
5865         * time/tst-ftime_l.c: Likewise.
5866         * time/tst-getdate.c: Likewise.
5867         * time/tst-mktime3.c: Likewise.
5868         * time/tst-mktime.c: Likewise.
5869         * time/tst-posixtz.c: Likewise.
5870         * time/tst-strptime2.c: Likewise.
5871         * time/tst-strptime3.c: Likewise.
5872         * wcsmbs/tst-btowc.c: Likewise.
5873         * wcsmbs/tst-mbrtowc.c: Likewise.
5874         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5875         * wcsmbs/tst-wchar-h.c: Likewise.
5876         * wcsmbs/tst-wcpncpy.c: Likewise.
5877         * wcsmbs/tst-wcrtomb.c: Likewise.
5878         * wcsmbs/tst-wcsnlen.c: Likewise.
5879         * wcsmbs/tst-wcstof.c: Likewise.
5881 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5883         [BZ #14132]
5884         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5885         INTDEF.
5886         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5887         declaration.
5888         (_dl_mcount): Use rtld_hidden_proto.
5889         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5890         _dl_mcount.
5891         * elf/rtld.c (_rtld_global_ro): Likewise.
5893         [BZ #14132]
5894         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5895         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5896         of _dl_init_internal.
5897         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5898         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5899         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5900         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5901         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5902         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5903         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5904         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5905         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5906         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5907         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5908         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5909         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5910         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5911         * sysdeps/tile/dl-start.S (_start): Likewise.
5912         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5913         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5915         [BZ #14132]
5916         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5917         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5918         (rtld_progname): Make macro definition unconditional.
5919         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5920         INTDEF.
5921         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5922         (dl_main): Likewise.
5923         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5924         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5925         instead of _dl_argv_internal.
5926         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5927         __GI__dl_argv instead of INTUSE(_dl_argv).
5928         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5929         __GI__dl_argv instead of _dl_argv_internal.
5931         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5932         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5933         macro.
5934         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5935         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5936         New macro.
5937         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5938         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5939         macro.
5940         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5941         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5943 2014-11-04  Andreas Schwab  <schwab@suse.de>
5945         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5947 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5949         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5950         mtvsrd instruction in binary form.
5952 2014-11-03  Andreas Schwab  <schwab@suse.de>
5954         [BZ #17522]
5955         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5956         for less than MB_LEN_MAX use a local buffer of that size.
5957         * libio/tst-fputws.c: New file.
5958         * libio/Makefile (tests): Add tst-fputws.
5960 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5962         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5963         the size of the fpu_fr.fpu_dregs[] array.
5965 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5967         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5968         (__nanosleep): Do not define as alias.
5969         (nanosleep): Define as alias of __nanosleep.
5970         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5971         __libc_nanosleep name.
5973 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5975         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5976         install.texi in comment.
5978 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5980         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5981         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5982         ... add here and use lwsync or sync ...
5983         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5984         ... and add here using lwsync.
5986 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5988         * elf/dl-machine-reject-phdr.h: New file.
5989         * elf/dl-load.c: #include that.
5990         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5991         if that returned true.
5993 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5995         [BZ #17496]
5996         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5997         gen-as-const-headers chunk.  Add a big scare comment after the last
5998         safe place to touch before-compile.
6000 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6002         * manual/install.texi (Tools for Compilation): Update autoconf
6003         version requirements.
6004         * INSTALL: Regenerated.
6006         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6007         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6008         (__libc_pselect): Likewise.
6010         [BZ #14138]
6011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6016 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6018         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6019         correct barrier instruction.
6020         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6021         Likewise.
6022         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6023         Likewise.
6025 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6027         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6028         after defining inlines.  Instead, just use parens to defeat macro
6029         expansion of __isctype in its declaration.
6031 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6033         * include/sys/uio.h (__libc_readv): Remove declaration.
6034         (__libc_writev): Likewise.
6035         * misc/readv.c (__libc_readv): Rename to __readv.
6036         (__readv): Do not define as alias.
6037         (readv): Define as alias of __readv.
6038         * misc/writev.c (__libc_writev): Rename to __writev.
6039         (__writev): Do not define as alias.
6040         (writev): Define as alias of __writev.
6041         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6042         (__readv): Do not define as alias.
6043         (readv): Define unconditionally as alias of __readv.
6044         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6045         (__writev): Do not define as alias.
6046         (writev): Define unconditionally as alias of __writev.
6047         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6048         name.
6049         (writev): Do not define __libc_writev name.
6051 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6053         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6054         (convert_charseq): New function, broken out of ...
6055         (use_from_charmap): ... here.  Call it.
6056         (use_to_charmap): Use convert_charseq and free instead of duplicating
6057         its code with a variable-length stack struct.
6059 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6061         * include/fcntl.h (__libc_creat): Remove declaration.
6062         * io/creat.c (__libc_creat): Rename to creat.
6063         (creat): Do not define as alias.
6064         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6065         of creat instead of __libc_creat.
6066         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6067         to creat.
6068         (creat): Do not define as alias.
6069         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6070         __libc_creat.
6071         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6072         __libc_creat name.
6073         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6074         Likewise.
6076 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6078         * manual/llio.texi: Add comments discussing why write() may be
6079         considered MT-unsafe on Linux.
6081 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6083         * dl-load.c (local_strdup): Remove.
6084         (expand_dynamic_string_token): Use __strdup.
6085         (decompose_rpath): Likewise.
6086         (_dl_map_object): Likewise.
6088 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6090         [BZ #14132]
6091         * sysdeps/generic/unwind-dw2-fde.c
6092         (__register_frame_info_bases_internal): Do not declare.
6093         (__register_frame_info_table_bases_internal): Likewise.
6094         (__deregister_frame_info_bases_internal): Likewise.
6095         (__register_frame_info_bases): Declare and use hidden_proto before
6096         definition.  Use hidden_def instead of INTDEF.
6097         (__register_frame_info_table_bases): Likewise.
6098         (__deregister_frame_info_bases): Likewise.
6099         (__register_frame_info): Do not use INTUSE.
6100         (__register_frame): Likewise.
6101         (__register_frame_info_table): Likewise.
6102         (__register_frame_table): Likewise.
6103         (__deregister_frame_info): Likewise.
6104         (__deregister_frame): Likewise.
6106 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6109         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6110         not undefine.
6111         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6112         Likewise.
6113         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6114         Likewise.
6116 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6118         [BZ #14138]
6119         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6120         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6121         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6122         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6123         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6124         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6125         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6126         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6127         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6128         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6129         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6130         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6131         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6132         syscall.
6133         (setfsuid): Likewise.
6134         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6135         (setfsuid): Likewise.
6136         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6137         (setfsuid): Likewise.
6138         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6139         Likewise.
6140         (setfsuid): Likewise.
6141         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6142         (setfsuid): Likewise.
6143         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6144         Likewise.
6145         (setfsuid): Likewise.
6147 2014-10-27  Andreas Schwab  <schwab@suse.de>
6149         [BZ #17501]
6150         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6151         check for Slow_SSE4_2 feature bit.
6152         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6153         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6154         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6155         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6157 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6159         * configure.ac: Validate compiler version with a empirical test of
6160         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6161         $CC -v output.
6162         * configure: Regenerated.
6164         * inet/htons.c (htons): Prototypify.
6165         * inet/htonl.c (htonl): Likewise.
6167 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6169         * string/strncat.c (strncat): Improve performance by using strlen.
6171 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6173         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6175 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6177         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6178         Call libc_fetestexcept_aarch64.
6180 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6182         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6183         Call libc_feholdexcept_aarch64.
6185 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6187         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6188         Call get_rounding_mode.
6190 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6192         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6193         Simplify logic.
6195 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6197         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6198         Simplify logic.
6200 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6202         [BZ #14138]
6203         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6204         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6205         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6206         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6207         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6208         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6209         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6210         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6211         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6212         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6213         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6214         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6215         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6216         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6217         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6218         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6219         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6220         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6221         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6222         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6223         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6224         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6225         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6226         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6227         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6228         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6229         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6230         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6231         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6232         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6233         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6234         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6235         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6236         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6237         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6238         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6239         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6240         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6241         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6242         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6243         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6244         syscall.
6245         (geteuid): Likewise.
6246         (getgid): Likewise.
6247         (getuid): Likewise.
6248         (getresgid): Likewise.
6249         (getresuid): Likewise.
6250         (getgroups): Likewise.
6251         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6252         (geteuid): Likewise.
6253         (getgid): Likewise.
6254         (getuid): Likewise.
6255         (getresgid): Likewise.
6256         (getresuid): Likewise.
6257         (getgroups): Likewise.
6258         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6259         (geteuid): Likewise.
6260         (getgid): Likewise.
6261         (getuid): Likewise.
6262         (getresgid): Likewise.
6263         (getresuid): Likewise.
6264         (getgroups): Likewise.
6265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6266         Likewise.
6267         (geteuid): Likewise.
6268         (getgid): Likewise.
6269         (getuid): Likewise.
6270         (getresgid): Likewise.
6271         (getresuid): Likewise.
6272         (getgroups): Likewise.
6273         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6274         (geteuid): Likewise.
6275         (getgid): Likewise.
6276         (getuid): Likewise.
6277         (getresgid): Likewise.
6278         (getresuid): Likewise.
6279         (getgroups): Likewise.
6280         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6281         Likewise.
6282         (geteuid): Likewise.
6283         (getgid): Likewise.
6284         (getuid): Likewise.
6285         (getgroups): Likewise.
6287         [BZ #14138]
6288         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6289         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6290         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6291         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6292         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6293         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6294         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6295         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6296         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6297         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6298         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6299         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6300         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6301         __chown.
6302         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6303         (lchown): Likewise.
6304         (fchown): Likewise.
6305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6306         Likewise.
6307         (lchown): Likewise.
6308         (fchown): Likewise.
6309         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6310         (lchown): Likewise.
6311         (fchown): Likewise.
6312         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6313         Likewise.
6314         (lchown): Likewise.
6315         (fchown): Likewise.
6317 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6319         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6320         Simplify logic.
6322 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6324         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6325         Cleanup logic.
6327 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6329         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6330         Remove unused include.
6332 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6334         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6335         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6336         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6337         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6339 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6340             Helge Deller <deller@gmx.de>
6342         [BZ #17508]
6343         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6344         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6345         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6347 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6349         [BZ #14132]
6350         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6351         Remove macro definition.
6352         (__ashrdi3_v_glibc20): Likewise.
6353         (__lshrdi3_v_glibc20): Likewise.
6354         (__cmpdi2_v_glibc20): Likewise.
6355         (__ucmpdi2_v_glibc20): Likewise.
6356         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6357         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6358         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6359         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6360         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6361         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6363 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6365         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6366         old GNU extension [0] syntax.
6367         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6368         alloca rather than an array member with variable length.
6369         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6370         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6371         (parse_opt): ... here.  Likewise use alloca there.
6372         Validate the -i argument before checking for rootness.
6373         (send_shutdown): New function, broken out of ...
6374         (parse_opt): ... here.
6376 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6378         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6379         macro to get at the _rt_local_ro field.
6380         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6381         ([PIC] case) or _dl_hwcap ([!PIC] case).
6382         * sysdeps/arm/setjmp.S: Likewise.
6384         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6385         * sysdeps/arm/configure.ac: New check to define it.
6386         * sysdeps/arm/configure: Regenerated.
6387         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6388         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6389         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6390         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6391         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6392         Use move/movt pair instead of a load.
6393         (LDST_GLOBAL): Macro removed.
6394         (LDR_GLOBAL): New macro replaces it.
6395         (LDR_HIDDEN): New macro.
6396         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6397         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6399         * setjmp/tst-setjmp-static.c: New file.
6400         * setjmp/Makefile (tests): Add it.
6401         (tests-static): New variable.
6403 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6405         [BZ #17485]
6406         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6408 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6410         [BZ #14132]
6411         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6413 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6415         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6417 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6419         * io/fts.c (dirent_not_directory): New function.
6420         (fts_build): Call it.
6422 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6424         * nptl/version.c (__nptl_main): Use normal __write rather than
6425         INTERNAL_SYSCALL.
6426         (banner): Update copyright years.
6428         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6429         gettimeofday.
6430         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6431         * nptl/pthread_cond_timedwait.c: Likewise.
6432         * nptl/pthread_mutex_timedlock.c: Likewise.
6433         * nptl/sem_timedwait.c: Likewise.
6435         * sysdeps/nptl/bits/libc-lock.h
6436         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6437         (__libc_lock_init_recursive): Return void, not 0.
6438         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6439         (__libc_rwlock_init): Likewise.
6440         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6442 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6444         [BZ #15215]
6445         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6446         (__pthread_once_slow): ... here.
6447         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6448         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6450 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6452         [BZ #15215]
6453         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6454         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6455         * sysdeps/nptl/fork.c (__libc_fork): Use them.
6456         * nptl/pthread_once.c (__pthread_once): Likewise.
6457         Update comments.
6459 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
6461         [BZ #14138]
6462         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6463         name.
6464         (writev): Use __libc_writev as strong name.
6465         * sysdeps/unix/sysv/linux/readv.c: Remove file.
6466         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6468 2014-10-17  Roland McGrath  <roland@hack.frob.com>
6470         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6472         * sysdeps/i386/nptl/tls.h
6473         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6474         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6475         New macros.
6476         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6477         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6478         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6479         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6480         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6481         Call CHECK_THREAD_SYSINFO instead of doing an assert.
6483         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6484         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6485         on [__NR_futex].
6486         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6487         broken out of ...
6488         (__pthread_mutex_init): ... here.  Call it.
6489         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6490         Conditionalize PI cases on [__NR_futex].
6491         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6492         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6493         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6495         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6496         conditional on [SIGSETXID].
6497         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6498         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6499         is defined.  Likewise for SIGSETXID.
6500         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6501         Conditionalize definitions on [SIGSETXID].
6502         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6503         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6504         unblocking on [SIGCANCEL].
6506         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6507         [__NR_set_robust_list].
6509 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6511         * string/strcoll_l.c (get_next_seq): Fix up formatting.
6512         (do_compare): Likewise.
6514 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
6516         [BZ #15884]
6517         * string/strcoll_l.c: Don't include stdio.h.
6518         (coll_seq): Remove members idxarr and rulearr.
6519         (get_next_seq_cached): Remove function.
6520         (get_next_seq): Likewise.
6521         (get_next_seq_nocache): Rename to get_next_seq.
6522         (do_compare): Remove function.
6523         (do_compare_nocache): Rename to do_compare.
6524         (STRCOLL): Remove weight and rules cache.
6526 2014-10-16  Roland McGrath  <roland@hack.frob.com>
6528         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6529         * sysdeps/arm/sfp-machine.h: ... to here.
6530         * sysdeps/arm/Implies: Remove arm/soft-fp.
6532 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
6534         * conform/data/sys/utsname.h-data (*_t): Allow.
6535         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6536         [POSIX] (WEXITED): Do not expect constant.
6537         [POSIX] (WSTOPPED): Likewise.
6538         [POSIX] (WNOHANG): Likewise.
6539         [POSIX] (WNOWAIT): Likewise.
6540         [POSIX] (siginfo_t): Do not expect type or elements.
6541         [POSIX] (pid_t): Do not expect type.
6542         [POSIX] (signal.h): Do not allow header.
6543         [POSIX] (sys/resource.h): Likewise.
6544         [POSIX] (si_*): Do not allow pattern.
6545         [POSIX] (W*): Likewise.
6546         [POSIX] (P_*): Likewise.
6547         [POSIX] (BUS_*): Likewise.
6548         [POSIX] (CLD_*): Likewise.
6549         [POSIX] (FPE_*): Likewise.
6550         [POSIX] (ILL_*): Likewise.
6551         [POSIX] (POLL_*): Likewise.
6552         [POSIX] (SEGV_*): Likewise.
6553         [POSIX] (SI_*): Likewise.
6554         [POSIX] (TRAP_*): Likewise.
6555         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6556         variable.
6558 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6560         [BZ #12926]
6561         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6562         infinite loop when __recvmsg returns 0.
6564 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
6566         * CANCEL-FCT-WAIVE: Remove file.
6567         * CANCEL-FILE-WAIVE: Likewise.
6569         [BZ #14132]
6570         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6571         instead of INTVARDEF.
6572         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6573         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6574         rtld_hidden_data_def instead of INTVARDEF.
6575         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6576         * elf/dl-deps.c (expand_dst): Likewise.
6577         * elf/dl-load.c (_dl_dst_count): Likewise.
6578         (_dl_dst_substitute): Likewise.
6579         (decompose_rpath): Likewise.
6580         (_dl_init_paths): Likewise.
6581         (open_path): Likewise.
6582         (_dl_map_object): Likewise.
6583         * elf/rtld.c (dl_main): Likewise.
6584         (process_dl_audit): Likewise.
6585         (process_envvars): Likewise.
6586         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6587         Remove declaration.
6588         (__libc_enable_secure): Use rtld_hidden_proto.
6590 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6592         * elf/dl-load.c
6593         (add_path): New function broken out of _dl_rtld_di_serinfo.
6594         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
6596 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6598         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6599         parentheses around macro arguments.
6600         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6603         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6611         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6612         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6615         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6616         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6618         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6625         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6628         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6629         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6630         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6632         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6633         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6634         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6635         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6636         Likewise.
6637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6639         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6640         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6644         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6645         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6647         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6648         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6649         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6658         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6659         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6660         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6661         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6662         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6663         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6664         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6665         (_FP_FRAC_SRS_1): Likewise.
6666         (_FP_FRAC_CLZ_1): Likewise.
6667         (_FP_MUL_MEAT_1_imm): Likewise.
6668         (_FP_MUL_MEAT_1_wide): Likewise.
6669         (_FP_MUL_MEAT_1_hard): Likewise.
6670         (_FP_SQRT_MEAT_1): Likewise.
6671         (_FP_FRAC_ASSEMBLE_1): Likewise.
6672         (_FP_FRAC_DISASSEMBLE_1): Likewise.
6673         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6674         (__FP_CLZ_2): Likewise.
6675         (_FP_MUL_MEAT_2_wide): Likewise.
6676         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6677         (_FP_MUL_MEAT_2_gmp): Likewise.
6678         (_FP_MUL_MEAT_2_120_240_double): Likewise.
6679         (_FP_SQRT_MEAT_2): Likewise.
6680         (_FP_FRAC_ASSEMBLE_2): Likewise.
6681         (_FP_FRAC_DISASSEMBLE_2): Likewise.
6682         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6683         (_FP_FRAC_CLZ_4): Likewise.
6684         (_FP_MUL_MEAT_4_wide): Likewise.
6685         (_FP_MUL_MEAT_4_gmp): Likewise.
6686         (_FP_SQRT_MEAT_4): Likewise.
6687         (_FP_FRAC_ASSEMBLE_4): Likewise.
6688         (_FP_FRAC_DISASSEMBLE_4): Likewise.
6689         * soft-fp/op-common.h (_FP_CMP): Likewise.
6690         (_FP_CMP_EQ): Likewise.
6691         (_FP_CMP_UNORD): Likewise.
6692         (_FP_TO_INT): Likewise.
6693         (_FP_FROM_INT): Likewise.
6694         [!__FP_CLZ] (__FP_CLZ): Likewise.
6695         (_FP_DIV_HELP_imm): Likewise.
6696         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6697         Likewise.
6698         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6700         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6701         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6703         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6704         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6705         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6708         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6709         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6710         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6711         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6712         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6713         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6714         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6715         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6716         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6719         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6721         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6722         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6723         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6726         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6727         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6728         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6729         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6730         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6731         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6732         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6733         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6734         (FP_UNPACK_RAW_SP): Likewise.
6735         (FP_PACK_RAW_S): Likewise.
6736         (FP_PACK_RAW_SP): Likewise.
6737         (FP_UNPACK_S): Likewise.
6738         (FP_UNPACK_SP): Likewise.
6739         (FP_UNPACK_SEMIRAW_S): Likewise.
6740         (FP_UNPACK_SEMIRAW_SP): Likewise.
6741         (FP_PACK_S): Likewise.
6742         (FP_PACK_SP): Likewise.
6743         (FP_PACK_SEMIRAW_S): Likewise.
6744         (FP_PACK_SEMIRAW_SP): Likewise.
6745         (_FP_SQRT_MEAT_S): Likewise.
6746         (FP_CMP_S): Likewise.
6747         (FP_CMP_EQ_S): Likewise.
6748         (FP_CMP_UNORD_S): Likewise.
6749         (FP_TO_INT_S): Likewise.
6750         (FP_FROM_INT_S): Likewise.
6752         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6754         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6755         (FP_EX_INVALID_IMZ): Likewise.
6756         (FP_EX_INVALID_IMZ_FMA): Likewise.
6757         (FP_EX_INVALID_ISI): Likewise.
6758         (FP_EX_INVALID_ZDZ): Likewise.
6759         (FP_EX_INVALID_IDI): Likewise.
6760         (FP_EX_INVALID_SQRT): Likewise.
6761         (FP_EX_INVALID_CVI): Likewise.
6762         (FP_EX_INVALID_VC): Likewise.
6763         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6764         "invalid" exceptions.
6765         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6766         (_FP_ADD_INTERNAL): Likewise.
6767         (_FP_MUL): Likewise.
6768         (_FP_FMA): Likewise.
6769         (_FP_DIV): Likewise.
6770         (_FP_CMP_CHECK_NAN): Likewise.
6771         (_FP_SQRT): Likewise.
6772         (_FP_TO_INT): Likewise.
6773         (FP_EXTEND): Likewise.
6775 2014-10-09  Allan McRae  <allan@archlinux.org>
6777         * po/fr.po: Update French translation from translation project.
6779 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6781         [BZ #14132]
6782         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6783         of INTDEF.
6784         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6785         (__cxa_atexit): Use libc_hidden_proto.
6786         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6788         [BZ #14132]
6789         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6790         declaration.
6791         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6792         [!_ISOMAC] (__iswspace_l_internal): Likewise.
6793         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6794         [!_ISOMAC] (__iswctype_internal): Likewise.
6795         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6796         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6797         alias.
6798         (fcntl): Remove __fcntl_internal alias.
6799         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6800         __connect_internal alias.
6801         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6802         Likewise.
6804         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6805         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6806         FP_DENORM_ZERO.
6807         (_FP_CHECK_FLUSH_ZERO): New macro.
6808         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6809         (_FP_CMP): Likewise.
6810         (_FP_CMP_EQ): Likewise.
6811         (_FP_TO_INT): Do not set inexact for subnormal arguments if
6812         FP_DENORM_ZERO.
6813         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6814         (FP_TRUNC): Likewise.
6816         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6817         treated as invalid conversion, not as normal exponent.
6819         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6820         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6821         (_FP_CMP_EQ): Likewise.
6822         (_FP_CMP_UNORD): Likewise.
6823         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6824         (FP_CMP_EQ_D): Likewise.
6825         (FP_CMP_UNORD_D): Likewise.
6826         * soft-fp/extended.h (FP_CMP_E): Likewise.
6827         (FP_CMP_EQ_E): Likewise.
6828         (FP_CMP_UNORD_E): Likewise.
6829         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6830         (FP_CMP_EQ_Q): Likewise.
6831         (FP_CMP_UNORD_Q): Likewise.
6832         * soft-fp/single.h (FP_CMP_S): Likewise.
6833         (FP_CMP_EQ_S): Likewise.
6834         (FP_CMP_UNORD_S): Likewise.
6835         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6836         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6837         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6838         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6839         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6840         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6841         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6842         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6843         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6844         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6845         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6846         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6847         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6848         to FP_CMP_Q.
6849         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6850         FP_CMP_Q.
6851         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6852         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6853         FP_CMP_EQ_Q.
6854         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6855         FP_CMP_Q.
6856         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6857         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6858         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6859         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6860         FP_CMP_EQ_Q.
6861         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6862         FP_CMP_Q.
6863         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6864         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6865         FP_CMP_EQ_Q.
6866         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6867         FP_CMP_Q.
6868         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6869         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6870         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6871         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6872         FP_CMP_EQ_Q.
6874         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6875         a subnormal result, set the underflow exception if trapping on
6876         underflow is enabled.
6877         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6878         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6879         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6880         redefine to 0.
6881         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6882         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6883         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6884         * soft-fp/extendxftf2.c (__extendxftf2): Use
6885         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6887         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6888         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6889         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6890         FP_HANDLE_EXCEPTIONS.
6891         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6892         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6893         FP_HANDLE_EXCEPTIONS.
6894         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6895         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6896         FP_HANDLE_EXCEPTIONS.
6897         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6898         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6899         FP_HANDLE_EXCEPTIONS.
6901 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6903         [BZ #14132]
6904         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6905         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6906         use INTUSE.
6907         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6908         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6909         Remove alias.
6910         (__adjtimex): Define using libc_hidden_ver.
6911         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6912         Remove declaration.
6913         (ntp_gettime): Call __adjtimex directly.
6914         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6915         Remove declaration.
6916         (ntp_gettimex): Call __adjtimex directly.
6917         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6918         __adjtimex_internal alias.
6920 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6922         [BZ #17460]
6923         * nscd/nscd.c (more_help): Rewrite list of tables collection
6924         using xstrdup and asprintf.
6926         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6928 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6929             Roland McGrath  <roland@hack.frob.com>
6931         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6932         (do_lookup_unique): ... local function 'enter' here; update callers.
6934 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6936         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6937         compat_symbol calls on [SHARED].
6938         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6939         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6940         Remove.
6941         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6942         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6943         (oldsetrlimit): Remove.
6944         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6946         (lchown): New syscall entry.
6947         (oldsetrlimit): Remove.
6948         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6949         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6950         (oldsetrlimit): Remove.
6951         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6953         [BZ #14138]
6954         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6955         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6956         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6957         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6958         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6959         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6960         (fchown): Likewise.
6961         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6962         (fchown): Likewise.
6963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6964         Likewise.
6966 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6968         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6969         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6970         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6971         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6972         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6973         Likewise.
6974         (__old_sem_post): Likewise.
6976 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6978         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6979         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6980         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6981         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6982         Use INLINE_VSYSCALL macro.
6983         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6984         __vdso_clock_gettime.
6985         * sysdeps/unix/sysv/linux/tile/init-first.c
6986         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6987         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6988         __vdso_clock_gettime.
6990         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6991         to set up frame more cleanly.
6993         * sysdeps/tile/memcmp.c: New file.
6995         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6997         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6998         * sysdeps/tile/tilegx/strcasestr.c: New file.
6999         * sysdeps/tile/tilegx/strnlen.c: New file.
7000         * sysdeps/tile/tilegx/strstr.c: New file.
7002         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7004 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7006         * nptl/tst-setuid3.c: Write errors to stdout.
7008 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7010         * elf/dl-deps.c
7011         (preload): New functions broken out of _dl_map_object_deps.
7012         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7014 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7016         [BZ #14138]
7017         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7018         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7020 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7022         * sysdeps/mips/strcmp.S: New.
7024 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7026         [BZ #14138]
7027         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7028         (linkat): Likewise.
7029         (mkdirat): Likewise.
7030         (readlinkat): Likewise.
7031         (renameat): Likewise.
7032         (symlinkat): Likewise.
7033         (unlinkat): Likewise.
7034         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7035         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7036         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7037         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7038         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7039         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7040         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7042 2014-09-30  Will Newton  <will.newton@linaro.org>
7044         * math/math.h: Define long double math functions if
7045         _LIBC_TEST is defined.
7046         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7048         * localedata/Makefile: Move assignment to tests-special
7049         into an ifdef testing run-built-tests.
7050         * timezone/Makefile: Likewise.
7052 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7054         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7055         with $(BASH) not $(SHELL).
7057 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7058             Matthew LeGendre  <legendre1@llnl.gov>
7060         [BZ #17411]
7061         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7062         l_reloc_result.
7064 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7066         * stdio-common/printf_fp.c
7067         (hack_digit): New function, broken out of ...
7068         (__printf_fp): ... local function here.  Update call sites.
7069         hack_digit now takes an additional parameter that is a pointer
7070         to a struct of the referenced locals.  Those locals moved inside
7071         the struct and references updated.
7073 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7075         * aclocal.m4: Require autoconf 2.69.
7076         * configure: Regenerated.
7077         * sysdeps/aarch64/configure: Likewise.
7078         * sysdeps/alpha/configure: Likewise.
7079         * sysdeps/arm/armv7/configure: Likewise.
7080         * sysdeps/arm/configure: Likewise.
7081         * sysdeps/ia64/configure: Likewise.
7082         * sysdeps/mach/configure: Likewise.
7083         * sysdeps/mips/configure: Likewise.
7084         * sysdeps/s390/configure: Likewise.
7085         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7088         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7089         file.
7090         * sysdeps/ia64/configure.ac: Likewise.
7092 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7095         specify symbol version for ld.so.  Do not include entry for
7096         libpthread.
7097         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7098         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7099         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7101         [BZ #14171]
7102         * Makeconfig [$(build-shared) = yes]
7103         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7104         makefiles.
7105         [$(build-shared) = yes && $(soversions.mk-done) = t]
7106         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7107         [$(build-shared) = yes && $(soversions.mk-done) = t]
7108         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7109         to Makerules.
7110         [$(build-shared) = yes && $(soversions.mk-done) = t]
7111         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7112         here.
7113         [$(build-shared) = yes && $(soversions.mk-done) = t]
7114         (common-generated): Don't append gnu/lib-names.h and
7115         gnu/lib-names.stmp here.
7116         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7117         (lib-names-h-abi): New variable.
7118         [$(build-shared) = yes && $(soversions.mk-done) = t]
7119         (lib-names-stmp-abi): Likewise.
7120         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7121         abi-variants] (before-compile): Append
7122         $(common-objpfx)$(lib-names-h-abi).
7123         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7124         abi-variants] (common-generated): Append gnu/lib-names.h.
7125         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7126         abi-variants] (install-others-nosubdir): Depend on
7127         $(inst_includedir)/$(lib-names-h-abi).
7128         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7129         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7130         [$(build-shared) = yes && $(soversions.mk-done) = t]
7131         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7132         [$(build-shared) = yes && $(soversions.mk-done) = t]
7133         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7134         [$(build-shared) = yes && $(soversions.mk-done) = t]
7135         (common-generated): Append $(lib-names-h-abi) and
7136         $(lib-names-stmp-abi).
7137         * scripts/lib-names.awk: Do not handle multi being set.
7138         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7139         Remove variable.
7140         (abi-lp64_be-ld-soname): Likewise.
7141         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7142         Likewise.
7143         (abi-hard-ld-soname): Likewise.
7144         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7145         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7146         Remove variable.
7147         (abi-o32_hard-ld-soname): Likewise.
7148         (abi-o32_soft_2008-ld-soname): Likewise.
7149         (abi-o32_hard_2008-ld-soname): Likewise.
7150         (abi-n32_soft-ld-soname): Likewise.
7151         (abi-n32_hard-ld-soname): Likewise.
7152         (abi-n32_soft_2008-ld-soname): Likewise.
7153         (abi-n32_hard_2008-ld-soname): Likewise.
7154         (abi-n64_soft-ld-soname): Likewise.
7155         (abi-n64_hard-ld-soname): Likewise.
7156         (abi-n64_soft_2008-ld-soname): Likewise.
7157         (abi-n64_hard_2008-ld-soname): Likewise.
7158         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7159         Likewise.
7160         (abi-64-v2-ld-soname): Likewise.
7161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7162         ld.so entries.
7163         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7164         variable.
7165         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7166         entry.
7167         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7168         variable.
7169         (abi-64-ld-soname): Likewise.
7170         (abi-x32-ld-soname): Likewise.
7171         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7172         entry.
7173         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7175 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7177         [BZ #14138]
7178         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7179         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7180         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7181         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7182         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7183         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7184         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7185         syscall entry for GLIBC_2.2 symbol version.
7186         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7187         Likewise.
7188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7189         (setrlimit): Likewise.
7190         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7191         Likewise.
7193 2014-09-23  Will Newton  <will.newton@linaro.org>
7195         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7196         _LINUX_ARM_SYSDEP_H include guard too.
7197         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7198         define.
7200 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7202         * sysdeps/unix/sysv/linux/eventfd.c:
7203         Make first argument unsigned.
7204         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7205         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7207 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7209         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7210         * socket/sys/socket.h: Likewise
7211         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7213 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7215         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7217 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7219         * time/tst-ftime.c: New test.
7220         * time/Makefile (tests): Add tst-ftime.
7222 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7224         * soft-fp/extended.h: Fix comment formatting.
7225         * soft-fp/op-1.h: Likewise.
7226         * soft-fp/op-2.h: Likewise.
7227         * soft-fp/op-4.h: Likewise.
7228         * soft-fp/op-8.h: Likewise.
7229         * soft-fp/op-common.h: Likewise.
7230         * soft-fp/soft-fp.h: Likewise.
7232         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7234 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7236         [BZ #6652]
7237         * Makeconfig (soversions-default-setname): Remove variable.
7238         ($(common-objpfx)soversions.i): Don't pass default_setname to
7239         soversions.awk.
7240         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7241         oldest_abi to abi-versions.awk.
7242         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7243         * config.make.in (oldest-abi): Remove variable.
7244         * configure.ac (--enable-oldest-abi): Remove configure option.
7245         * configure: Regenerated.
7246         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7247         text.
7248         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7249         * scripts/soversions.awk: Do not handle default_setname variable.
7250         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7251         variable.
7252         * sysdeps/mach/hurd/configure: Regenerated.
7253         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7254         variable.
7255         * sysdeps/unix/sysv/linux/configure: Regenerated.
7257 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7259         * elf/Makefile (CFLAGS-interp.c): Remove.
7260         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7261         path string.
7262         * elf/interp.c: Include generated runtime-linker.h
7264         * Makerules (lib%.so): Don't include $(+interp) in
7265         prerequisites.
7266         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7267         * dlfcn/eval.c: Remove file.
7269         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7270         macros.
7272         [BZ #17266]
7273         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7274         4.2 and newer.
7276         [BZ #17370]
7277         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7279 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7280             Jakub Jelinek  <jakub@redhat.com>
7282         [BZ #17266]
7283         * libio/stdio.h: Check definition of __fortify_function
7284         instead of __extern_always_inline to include bits/stdio2.h.
7285         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7286         check if __extern_always_inline is defined.
7287         [__USE_MISC || __USE_XOPEN]: Likewise.
7288         [__USE_ISOC99] Likewise.
7289         * misc/sys/cdefs.h (__fortify_function): Define only if
7290         __extern_always_inline is defined.
7291         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7292         __extern_always_inline and __extern_inline only for g++-4.3
7293         and newer or a compatible gcc.
7295 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7297         [BZ #17371]
7298         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7299         last change to handle zero prefix length.
7301 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7303         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7304         _SC_REGEX_VERSION.
7306         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7307         _POSIX_RAW_SOCKETS.
7309 2014-09-13  Allan McRae  <allan@archlinux.org>
7311         * po/ru.po: Update Russian translation from translation project.
7313 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7315         * locale/programs/locale.c (show_locale_vars): Inline local function
7316         into its sole call site.  Clean up some style nits.
7317         (print_item): New function, broken out of ...
7318         (show_info): ... local function here.  Clean up style nits.
7320         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7321         out of ...
7322         (set_class_defaults): ... local function set_default here.
7323         Define set_default as a macro locally to pass constant parameters.
7324         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7325         rather than a shared local.
7327         * stdlib/rpmatch.c (try): New function, broken out of ...
7328         (rpmatch): ... local function here.  Also, prototypify definition.
7330 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7332         * scripts/soversions.awk: Do not handle configuration names.
7333         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7334         vendor and os variables to soversions.awk.
7335         * configure.ac: Do not modify gnu-* host_os.
7336         * configure: Regenerated
7337         * shlib-versions: Remove first column with configuration names.
7338         * nptl/shlib-versions: Likewise.
7339         * nptl_db/shlib-versions: Likewise.
7340         * sysdeps/hppa/shlib-versions: Likewise.
7341         * sysdeps/m68k/shlib-versions: Likewise.
7342         * sysdeps/mach/hurd/shlib-versions: Likewise.
7343         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7344         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7345         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7346         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7347         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7348         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7349         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7350         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7352         Likewise.
7353         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7354         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7355         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7356         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7357         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7358         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7359         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7360         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7363         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7365         Regenerated.
7366         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7368         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7370         * shlib-versions: Remove OS-specific entries.  Moved to files in
7371         sysdeps.
7372         * sysdeps/mach/hurd/shlib-versions: New file.
7373         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7375         * nptl/shlib-versions: Remove architecture-specific entries.
7376         Moved to files in sysdeps.
7377         * shlib-versions: Likewise.
7378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7379         file.
7380         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7381         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7382         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7383         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7385         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7386         (UDP_NO_CHECK6_RX): Likewise.
7388 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7390         * sysdeps/posix/sysconf.c (__sysconf): Spell
7391         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7393 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7395         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7396         loading.
7397         * iconv/Versions (__gconv_transliterate): Export for use from
7398         gconv modules.
7399         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7400         (struct __gconv_trans_data, __gconv_trans_fct,
7401         __gconv_trans_context_fct, __gconv_trans_query_fct,
7402         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7403         definitions.
7404         (struct __gconv_step_data): Remove __trans member.
7405         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7406         longer hidden.  Remove unused trans_data argument.
7407         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7408         (__gconv_translit_find): Remove declaration.
7409         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7410         prototype.
7411         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7412         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7413         trans_data argument.  Add hidden definition.
7414         (__gconv_translit_find): Remove.
7415         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7416         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7417         * iconv/skeleton.c: Remove transliteration initialization.
7418         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7419         __gconv_step_data initialization.
7420         * libio/iofwide.c (__libio_translit_): Remove.
7421         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7422         * wcsmbs/btowc.c (__btowc): Likewise.
7423         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7424         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7425         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7426         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7427         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7428         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7429         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7430         * wcsmbs/wctob.c (wctob): Likewise.
7432 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7434         [BZ #16194]
7435         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7436         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7437         register usage.
7438         * sysdeps/x86/Makefile: Adjust.
7440 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7441             Roland McGrath  <roland@hack.frob.com>
7443         * locale/weight.h: Add include guard.
7444         (findidx): Make static rather than auto; take new parameters
7445         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7446         * locale/weightwc.h: Likewise.
7447         * posix/fnmatch_loop.c
7448         (FCT): Change type of EXTRA from int32_t to wint_t.
7449         Don't include either header inside the function.
7450         Call FINDIDX rather than findidx, and pass new arguments.
7451         #undef FINDIDX at the end of the file.
7452         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7453         FINDIDX before including fnmatch_loop.c for the non-wide version.
7454         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7455         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7456         for the wide version.
7457         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7458         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7459         Pass new arguments to findidx.
7460         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7461         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7462         Don't #include it inside the function.  Pass new arguments to findidx.
7463         * posix/regex_internal.h
7464         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7465         (re_string_elem_size_at): Don't #include it inside the function.
7466         Pass new arguments to findidx.
7467         * string/strcoll_l.c: #include WEIGHT_H at top level.
7468         (get_next_seq): Don't #include it inside the function.
7469         Pass new arguments to findidx.
7470         (get_next_seq_nocache): Likewise.
7471         * string/strxfrm_l.c: #include WEIGHT_H at top level.
7472         (STRXFRM): Don't #include it inside the function.
7473         Pass new arguments to findidx.
7475 2014-09-11  Florian Weimer  <fweimer@redhat.com>
7477         [BZ #17344]
7478         * malloc/malloc.c (unlink): Turn asserts into a call to
7479         malloc_printerr.
7481 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
7483         [BZ #17370]
7484         * libio/wfileops (do_ftell_wide): Free OUT.
7486 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
7488         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7490 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7492         [BZ #17363]
7493         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7494         group if the current group is empty.
7496 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7498         * benchtests/bench-memset.c (test_main): Add more test from size
7499         from 32 to 512 bytes.
7500         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7501         Add POWER8 memset object.
7502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7503         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7504         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7505         implementation.
7506         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7507         Likewise.
7508         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7509         multiarch POWER8 memset optimization.
7510         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7511         POWER8 memset optimization.
7513         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7514         Remove bzero multiarch objects.
7515         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7516         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7517         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7518         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7519         Remove define.
7520         [__bzero]: Redefine to specific name.
7521         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7522         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7523         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7524         define.
7525         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7526         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7528 2014-09-10  Florian Weimer  <fweimer@redhat.com>
7530         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7531         warnings into errors.
7533         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7534         __cxa_thread_atexit_impl prototype.
7536 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7538         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7539         Fix capitalization of error message.
7541 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7543         * sysdeps/mips/preconfigure: Modify ABI tests.
7545 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
7547         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7549 2014-09-07  Roland McGrath  <roland@hack.frob.com>
7550             Carlos O'Donell  <carlos@systemhalted.org>
7552         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7553         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7554         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7555         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7556         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7557         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7558         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7559         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7560         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7561         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7562         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7563         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7564         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7565         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7566         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7567         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7568         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7569         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7570         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7571         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7572         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7573         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7574         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7575         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7576         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7577         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7578         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7579         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7580         Deconditionalize the code that was previously under [RESET_PID].
7581         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7582         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7583         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7584         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7585         include sysdep.h.
7587 2014-09-08  Allan McRae  <allan@archlinux.org>
7589         * version.h (RELEASE): Set to "development".
7590         (VERSION): Set to "2.20.90"
7592 2014-09-07  Allan McRae  <allan@archlinux.org
7594         * version.h (RELEASE): Set to "stable".
7595         (VERSION): Set to "2.20"
7596         * include/features.h (__GLIBC_MINOR__): Set to 20.
7598         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7599         Liebler.
7601         * po/ko.po: Update Korean translation from translation project.
7603 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
7605         [BZ #17354]
7606         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7607         macro for handling signed relocations.
7609 2014-09-03  Florian Weimer  <fweimer@redhat.com>
7611         [BZ #17325]
7612         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7613         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7614         assert.
7615         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7616         * iconvdata/ibm935.c (BODY): Likewise.
7617         * iconvdata/ibm937.c (BODY): Likewise.
7618         * iconvdata/ibm939.c (BODY): Likewise.
7619         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7620         assert.
7621         * iconvdata/Makefile (iconv-test.out): Pass module list to test
7622         script.
7623         * iconvdata/run-iconv-test.sh: New test loop for checking for
7624         decoder crashers.
7626 2014-09-02  Khem Raj  <raj.khem@gmail.com>
7628         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7629         libm_hidden_ver.
7631 2014-09-01  Allan McRae  <allan@archlinux.org>
7633         * po/eo.po: Update Esperanto translation from translation project.
7635         * po/ca.po: Update Catalan translation from translation project.
7637 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7639         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7640         __proc_dostop call.
7642 2014-08-27  Mark Wielaard  <mjw@redhat.com>
7644         [BZ #17319]
7645         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7646         to call set_thread_area instead of hand written asm.
7647         (__NR_set_thread_area): Removed define.
7648         (TLS_FLAG_WRITABLE): Likewise.
7649         (__ASSUME_SET_THREAD_AREA): Remove check.
7650         (TLS_EBX_ARG): Remove define.
7651         (TLS_LOAD_EBX): Likewise.
7653 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7655         Simplify atomicity of socket creation in bind.
7657         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7658         looking up the name after linking the file.
7660 2014-08-27  Allan McRae  <allan@archlinux.org>
7662         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7664 2014-08-26  Florian Weimer  <fweimer@redhat.com>
7666         [BZ #17187]
7667         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7668         trans_compare, open_translit, __gconv_translit_find):
7669         Remove module loading code.
7671 2014-08-26  Allan McRae  <allan@archlinux.org>
7673         * po/vi.po: Update Vietnamese translation from translation project.
7675         * po/uk.po: Update Ukrainian translation from translation project.
7677         * po/fr.po: Update French translation from translation project.
7679         * po/ru.po: Update Russian translation from translation project.
7681         * po/pl.po: Update Polish translation from translation project.
7683         * po/cs.po: Update Czech translation from translation project.
7685         * po/de.po: Update German translation from translation project.
7687         * po/bg.po: Update Bulgarian translation from translation project.
7689         * po/sv.po: Update Sweedish translation from translation project.
7691         * po/nl.po: Update Dutch translation from translation project.
7693         * po/es.po: Update Spanish translation from translation project.
7695 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7697         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7699         * catgets/Makefile (CPPFLAGS-gencat): Remove.
7700         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7701         (CPPFLAGS-iconvconfig): Likewise.
7702         * timezone/Makefile (CPPFLAGS-zic): Likewise.
7704         * include/libc-symbols.h: Remove unnecessary check for
7705         NOT_IN_libc.
7706         * nptl/pthreadP.h: Likewise.
7707         * sysdeps/aarch64/setjmp.S: Likewise.
7708         * sysdeps/alpha/setjmp.S: Likewise.
7709         * sysdeps/arm/sysdep.h: Likewise.
7710         * sysdeps/i386/setjmp.S: Likewise.
7711         * sysdeps/m68k/setjmp.c: Likewise.
7712         * sysdeps/posix/getcwd.c: Likewise.
7713         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7714         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7715         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7716         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7717         * sysdeps/sh/sh3/setjmp.S: Likewise.
7718         * sysdeps/sh/sh4/setjmp.S: Likewise.
7719         * sysdeps/unix/alpha/sysdep.h: Likewise.
7720         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7721         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7722         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7723         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7726         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7727         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7728         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7730         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7731         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7733         * sysdeps/x86_64/setjmp.S: Likewise.
7735 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
7737         [BZ #17263]
7738         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7739         <stdint.h>.
7740         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7741         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7743 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7745         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7747         [BZ #17262]
7748         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7749         and __x86_64__ when disabling x87 inline functions.
7751 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7753         [BZ #17259]
7754         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7755         asm statement with __cpuid_count.
7757 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
7759         * configure.ac: Change __ehdr_start code to dereference the struct.
7760         Run readelf on the output to look for relocations.
7761         * configure: Regenerated.
7763 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
7765         [BZ #17261]
7766         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7767         value to 0.
7768         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7770 2014-08-12  Roland McGrath  <roland@hack.frob.com>
7772         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7774 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
7776         [BZ #16892]
7777         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7778         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7780 2014-08-12  Sean Anderson  <seanga2@gmail.com>
7782         * malloc/malloc.c: Fix typo in comment.
7784 2014-08-09  Allan McRae  <allan@archlinux.org>
7786         * Regenerate libc.po.
7788 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
7790         * intl/tst-gettext2.sh: Check every lang file for creation.
7792 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7794         * sysdeps/aarch64/fpu/math_private.h
7795         (libc_feholdsetround_noex_aarch64_ctx): New function.
7797 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7799         * sysdeps/arm/armv6/strcpy.S (strcpy):
7800         Fix performance issue in misaligned cases.
7802 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7804         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7805         Move definition from termios.h.
7806         (struct termio): Likewise.
7807         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7808         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7809         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7810         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7811         Likewise.
7812         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7813         Move definition to ioctl-types.h
7814         (struct termio): Likewise.
7815         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7816         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7817         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7818         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7819         Likewise.
7821 2014-08-05  Richard Henderson  <rth@redhat.com>
7823         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7824         exceptions.
7825         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7826         Add fraiseexcpt.
7827         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7828         Use __feraiseexcept.
7829         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7830         Protect libm symbols with IS_IN_libm.
7832         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7834 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7836         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7838 2014-08-04  Will Newton  <will.newton@linaro.org>
7840         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7841         file.
7843 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7845         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7846         variants for each function.
7848 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7850         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7851         appended ...
7852         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7853         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7854         appended ...
7855         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7856         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7857         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7858         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7859         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7860         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7861         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7862         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7863         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7864         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7865         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7866         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7867         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7868         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7869         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7870         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7871         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7872         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7873         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7874         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7875         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7876         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7877         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7878         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7879         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7880         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7881         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7882         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7883         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7884         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7885         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7886         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7887         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7888         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7889         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7890         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7891         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7892         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7893         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7894         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7895         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7896         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7897         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7898         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7899         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7900         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7901         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7902         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7903         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7904         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7905         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7906         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7907         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7908         Update #include.
7909         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7910         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7912 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7914         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7915         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7916         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7917         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7918         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7919         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7921 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7923         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7924         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7925         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7926         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7928 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7930         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7931         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7932         (__libc_vfork): Define function under this name.
7933         (__vfork): Define as an alias.
7934         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7935         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7937 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7939         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7940         that was previously under [RESET_PID].
7941         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7943 2014-08-04  Andreas Schwab  <schwab@suse.de>
7945         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7947 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7949         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7950         (main): Likewise.
7952 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7954         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7956 2014-08-01  Richard Henderon  <rth@redhat.com>
7958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7959         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7960         typo in exact zero test.
7961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7962         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7963         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7965 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7967         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7968         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7969         * sysdeps/arm/sysdep.h: ... here.
7970         [!__ASSEMBLER__]: Include <stdint.h>.
7972 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7974         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7975         (HAVE_WCTYPE_H): Likewise.
7976         (HAVE_ISWCTYPE): Likewise.
7977         (ENABLE_NLS): Likewise.
7978         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7979         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7981         * posix/regex_internal.c: Check if DEBUG is defined and is
7982         set.
7984         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7985         (HAVE_MBSRTOWCS): Likewise.
7986         * posix/fnmatch.c: Include string.h unconditionally.
7988 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7990         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7991         reversal.
7993 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7995         * sysdeps/generic/safe-fatal.h: New file.
7996         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7997         * nptl/forward.c: Include it.
7998         (__pthread_unwind): Use __safe_fatal as default action, rather
7999         than a bogus use of INTERNAL_SYSCALL that could never work.
8001         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8002         * configure.ac (libc_cv_builtin_trap): New test.
8003         * configure: Regenerated.
8004         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8005         (ABORT_INSTRUCTION): Define using __builtin_trap.
8007         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8008         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8009         * sysdeps/nptl/nptl-signals.h: New file.
8010         * nptl/pthreadP.h: Include <nptl-signals.h>.
8012 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8014         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8015         (ONE_DIRECTION): Define.
8016         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8017         (ONE_DIRECTION): Define.
8018         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8019         (ONE_DIRECTION): Define.
8021 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8023         * sysdeps/s390/Makefile: Delete file.
8024         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8025         * sysdeps/s390/__longjmp.c: Delete file.
8026         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8027         Remove fields __flags and __reserved.
8028         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8029         and add versioning.
8030         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8031         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8032         * sysdeps/s390/rtld-setjmp.S: Likewise.
8033         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8034         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8035         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8036         * sysdeps/s390/s390-32/setjmp.S: ... here.
8037         Add versioning.
8038         (__sigsetjmp): Remove setting __flags field.
8039         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8040         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8041         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8042         * sysdeps/s390/s390-64/setjmp.S: ... here.
8043         Add versioning.
8044         (__sigsetjmp): Remove setting __flags field.
8045         * sysdeps/s390/setjmp.S: Delete file.
8046         * sysdeps/s390/sigjmp.c: Likewise.
8047         * sysdeps/s390/v1-longjmp.c: Likewise.
8048         * sysdeps/s390/v1-setjmp.h: Likewise.
8049         * sysdeps/s390/v1-sigjmp.c: Likewise.
8050         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8051         Remove v1-longjmp_chk.
8052         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8053         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8054         Include debug/longjmp_chk.c and add versioning.
8055         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8056         Include nptl/pt-longjmp.c and add versioning.
8057         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8058         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8059         Include __longjmp.c.
8060         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8061         Move to ...
8062         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8063         (__getcontext): Remove setting __flags field.
8064         Add versioning.
8065         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8066         Don't restore upper high grps.
8067         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8068         Likewise.
8069         (__swapcontext): Remove setting uc_flags field.
8070         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8071         Delete file.
8072         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8073         Include __longjmp.c.
8074         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8075         Move to ...
8076         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8077         (__getcontext): Remove setting __flags field.
8078         Add versioning.
8079         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8080         (__swapcontext): Remove setting uc_flags field.
8081         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8082         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8083         Remove fields uc_high_gprs and __reserved.
8084         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8085         New file with reverted content.
8086         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8087         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8088         Regenerated.
8089         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8090         Regenerated.
8092 2014-07-31  Andreas Schwab  <schwab@suse.de>
8094         * config.h.in (HAVE_IFUNC): Define to 0.
8095         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8096         definedness.
8098 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8100         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8101         memmove-avx-unaligned, memcpy-avx-unaligned and
8102         mempcpy-avx-unaligned.
8103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8104         Add tests for AVX memcpy functions.
8105         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8106         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8107         memcpy_chk.
8108         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8109         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8110         memmove_chk.
8111         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8112         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8113         mempcpy_chk.
8114         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8115         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8116         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8118 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8120         [BZ #17213]
8121         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8122         powerpc64le.
8124 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8126         [BZ #16839]
8127         * manual/llio.texi: Add section about open file description locks.
8128         * manual/examples/ofdlocks.c: Example of open file description
8129         lock usage.
8130         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8131         F_OFD_SETLK, and F_OFD_SETLKW.
8133 2014-07-23  Allan McRae  <allan@archlinux.org>
8135         * po/es.po: Update Spanish translation from translation project.
8137 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8139         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8141 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8143         [BZ #17078]
8144         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8145         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8146         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8148 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8150         [BZ #17088]
8151         * math/fesetenv.c (__fesetenv)
8152         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8153         * math/feupdateenv.c (__feupdateenv)
8154         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8156         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8157         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8158         (__ASSUME_SOCKETCALL): Do not define.
8160         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8161         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8162         (__ASSUME_SOCKETCALL): Do not define.
8163         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8164         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8165         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8166         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8167         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8168         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8169         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8170         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8172         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8173         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8174         (__ASSUME_SOCKETCALL): Do not define.
8175         (__ASSUME_IPC64): Define unconditionally.
8176         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8177         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8178         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8179         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8180         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8181         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8182         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8183         Likewise.
8185         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8186         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8187         (__ASSUME_SOCKETCALL): Do not define.
8188         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8189         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8190         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8191         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8192         (__ASSUME_REQUEUE_PI): Define unconditionally.
8193         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8194         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8195         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8196         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8197         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8198         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8200         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8201         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8202         (__ASSUME_SOCKETCALL): Do not define.
8203         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8204         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8205         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8206         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8207         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8208         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8210         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8211         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8212         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8213         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8214         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8215         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8216         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8217         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8218         (__ASSUME_GETCPU_SYSCALL): Likewise.
8220         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8221         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8222         cases for individual architectures.
8223         * sysdeps/gnu/configure: Regenerated.
8224         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8225         LIBC_SLIBDIR_RTLDDIR.
8226         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8227         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8228         LIBC_SLIBDIR_RTLDDIR.
8229         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8231         LIBC_SLIBDIR_RTLDDIR.
8232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8233         Regenerated.
8234         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8235         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8236         file.
8237         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8238         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8239         file.
8240         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8241         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8242         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8243         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8245         * sysdeps/aarch64/shlib-versions: Move to ...
8246         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8247         * sysdeps/alpha/shlib-versions: Move to ...
8248         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8249         * sysdeps/arm/shlib-versions: Move to ...
8250         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8251         * sysdeps/hppa/shlib-versions: Move all contents except for
8252         libgcc_s entry to ...
8253         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8254         entry from ...
8255         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8256         * sysdeps/ia64/shlib-versions: Move to ...
8257         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8258         entry from ...
8259         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8260         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8261         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8262         * sysdeps/microblaze/shlib-versions: Move to ...
8263         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8264         * sysdeps/mips/shlib-versions: Move to ...
8265         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8266         entry from ...
8267         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8268         * sysdeps/tile/shlib-versions: Move to ...
8269         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8270         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8271         from ...
8272         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8273         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8274         entry from ...
8275         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8277 2014-07-17  Will Newton  <will.newton@linaro.org>
8279         * sysdeps/arm/bits/atomic.h
8280         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8281         (__arch_compare_and_exchange_bool_16_int): Likewise.
8282         (__arch_compare_and_exchange_bool_64_int): Likewise.
8284         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8285         into an #else block.
8287 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8289         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8290         just Linux configurations.  Test empirically that the compiler sets
8291         __ARM_EABI__, rather than using the tuple to decide.
8292         * sysdeps/arm/preconfigure: Regenerated.
8293         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8294         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8295         contents appended ...
8296         * sysdeps/arm/configure.ac: ... here.
8297         * sysdeps/arm/configure: Regenerated.
8299 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8301         * nptl/pthread_kill.c: New file.
8302         * nptl/pthread_sigmask.c: New file.
8303         * nptl/pthread_sigqueue.c: New file.
8305         * sysdeps/nptl/lowlevellock.h: New file.
8306         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8307         * sysdeps/nptl/lowlevellock-futex.h: New file.
8309         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8310         Remove dead declarations.
8312 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8314         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8315         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8316         config-cflags-avx2.
8317         * sysdeps/x86_64/configure.ac: Likewise.
8318         * sysdeps/i386/configure: Regenerated.
8319         * sysdeps/x86_64/configure: Likewise.
8320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8321         memset-avx2 only if config-cflags-avx2 is yes.
8322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8323         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8324         defined.
8325         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8326         only if HAVE_AVX2_SUPPORT is defined.
8327         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8329 2014-07-14  Alan Modra  <amodra@gmail.com>
8331         [BZ #17153]
8332         * elf/elf.h (DT_PPC64_NUM): Correct value.
8333         * NEWS: Add to fixed bug list.
8335 2014-07-13  Jim Meyering  <meyering@fb.com>
8337         [BZ 17150]
8338         regex: don't deref NULL upon heap allocation failure
8339         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8340         failure in one more place.
8341         To trigger the segfault, configure grep -with-included-regex,
8342         build it, and run these commands:
8343         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8345 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8347         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8349 2014-07-11  Richard Henderson  <rth@redhat.com>
8351         * sysdeps/aarch64/libm-test-ulps: Update.
8353 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8355         [BZ #17135]
8356         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8357         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8358         (__nptl_setxid): Initialize error member.  Call
8359         __nptl_setxid_error.
8360         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8361         * nptl/descr.h (struct xid_command): Add error member.
8362         * nptl/tst-setuid3.c: New file.
8363         * nptl/Makefile (tests): Add it.
8365 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8367         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8368         New define.
8369         (__lll_trylock): Use __lll_base_trylock.
8370         (__lll_cond_trylock): Likewise.
8372 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8374         * nptl/pthread_create.c (start_thread): Use atomic_or and
8375         lll_futex_wake directly rather than lll_robust_dead.
8376         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8377         (lll_robust_dead): Macro removed.
8378         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8379         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8380         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8381         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8382         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8383         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8384         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8385         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8386         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8387         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8388         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8389         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8390         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8391         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8392         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8394         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8395         Use atomic_compare_and_exchange_val_acq directly rather than
8396         lll_robust_trylock.
8397         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8398         (__lll_robust_trylock, lll_robust_trylock): Removed.
8399         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8400         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8401         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8402         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8403         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8404         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8405         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8406         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8407         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8408         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8409         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8410         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8411         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8414 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8416         * manual/locale.texi (Locale Names): New section documenting
8417         locale name syntax.  Adjust menu and node chaining accordingly.
8418         (Choosing Locale): Reference Locale Names, Locale Categories.
8419         Mention setting LC_ALL=C.  Reflect that name syntax is now
8420         documented.
8421         (Locale Categories): New section title.  Reference Locale Names.
8422         LC_ALL is an environment variable, but not a category.
8423         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8424         description, now in Locale Name.  Reference that section.  Locale
8425         name syntax is now documented.
8427 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8429         [BZ #17137]
8430         * locale/findlocale.c (name_present, valid_locale_name): New
8431         functions.
8432         (_nl_find_locale): Use the loc_name variable to store name
8433         candidates.  Call name_present and valid_locale_name to check and
8434         validate locale names.  Return an error if the locale is invalid.
8436 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8438         * locale/setlocale.c (setlocale): Use strdup for allocating
8439         composite name copy.
8441 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8443         Sync up with gnulib.
8444         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8445         [!_LIBC && ENABLE_NLS]: Include gettext.h.
8446         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8447         and _GL_ARG_NONNULL.
8448         [USE_UNLOCKED_IO]: Include unlocked-io.h.
8449         [!_LIBC]: Include code for Windows and Cygwin.
8450         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8451         Include prototype for int strerror_r.
8452         [!_LIBC] (is_open): New function.
8453         (flush_stdout): New function.
8454         (print_errno_message): Use it.
8455         (error): Likewise.
8456         (error_at_line): Likewise.
8457         (error_tail) Add function attribute macros.  Use
8458         __builtin_expect.
8460         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8462         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8464         * io/ftw.c: Include sys/param.h unconditionally.
8466         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8468         [BZ #17125]
8469         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8470         libc_freeres_ptr.
8471         (freecache): New function to free CACHE on exit.
8473         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8474         initialization.
8476 2014-07-09  David S. Miller  <davem@davemloft.net>
8478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8480         * sysdeps/sparc/nptl/internaltypes.h: Delete.
8481         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8482         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8483         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8484         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8485         * sysdeps/sparc/nptl/sem_init.c: Likewise.
8486         * sysdeps/sparc/nptl/sem_post.c: Likewise.
8487         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8488         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8489         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8490         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8491         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8492         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8494 2014-07-09  Andreas Schwab  <schwab@suse.de>
8496         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8497         output.
8498         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8499         (do_test): Likewise.
8501         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8503 2014-07-09  Will Newton  <will.newton@linaro.org>
8505         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8506         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8507         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8508         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8509         * sysdeps/hppa/start.S (_start): Likewise.
8511 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8513         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8515         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8516         defined.
8518 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8520         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8521         after checking that it is non-NULL.
8523         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8525 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8527         * sysdeps/powerpc/memmove.c: Remove file.
8528         * sysdeps/powerpc/powerpc32/power4/memcopy.h
8529         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8530         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8531         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8532         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8533         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8534         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8535         string memmove instead of removed powerpc one.
8537         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8538         [weak_alias]: Fix compiler warning due trailing data.
8539         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8540         [weak_alias]: Likewise.
8541         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8542         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8545         (__libc_ifunc_impl_list): Add memmove functions.
8547 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8549         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8550         Remove code.
8551         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8552         Likewise
8553         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8554         Likewise
8555         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8556         Likewise
8557         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8558         Likewise
8559         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8560         Likewise
8561         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8562         Likewise
8563         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8564         Likewise
8565         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8566         Likewise
8567         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8568         Likewise
8569         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8570         Likewise
8571         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8572         Likewise
8573         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8574         Likewise
8575         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8576         Likewise
8577         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8578         Likewise
8579         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8580         Likewise
8581         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8582         Likewise
8584 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8586         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8587         to avoid alignment traps in non-cacheable memory.
8588         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8590         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8591         multiarch objects.
8592         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8593         file: multiarch power7 memmove.
8594         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8595         multiarch default memmove.
8596         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8597         multiarch memove for powerpc32/power4.
8599         * string/bcopy.c: Use full path to include memmove.c.
8600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8601         multiarch objects.
8602         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8603         bcopy for powerpc64.
8604         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8605         bcopy for powerpc64.
8606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8607         and memmove implementations.
8608         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8609         optimized multiarch memmove for POWER7/powerpc64.
8610         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8611         default multiarch memmove for powerpc64.
8612         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8613         multiarch for powerpc64.
8614         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8615         for POWER7/powerpc64.
8616         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8617         memmove for POWER7/powerpc64.
8619         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8620         glibc default one.
8622         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8623         __ELF_NATIVE_CLASS equal to 64.
8625 2014-07-07  Roland McGrath  <roland@hack.frob.com>
8627         * sysdeps/nptl/lowlevellock.h: File removed.
8629         * NEWS: NPTL is no longer an add-on!
8630         * nptl/internaltypes.h: Moved ...
8631         * sysdeps/nptl/internaltypes.h: ... here.
8632         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8633         * sysdeps/nptl/fork.c: Likewise.
8634         * sysdeps/nptl/gai_misc.h: Likewise.
8635         * sysdeps/nptl/librt-cancellation.c: Likewise.
8636         * sysdeps/nptl/jmp-unwind.c: Likewise.
8637         * sysdeps/nptl/setxid.h: Likewise.
8638         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8639         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8640         * sysdeps/unix/sysv/linux/arm/Implies: New file.
8641         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8642         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8643         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8644         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8645         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8646         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8647         * sysdeps/unix/sysv/linux/mips/Implies: New file.
8648         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8649         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8650         * sysdeps/unix/sysv/linux/sh/Implies: New file.
8651         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8652         * sysdeps/unix/sysv/linux/tile/Implies: New file.
8653         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8654         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8655         * nptl/Makeconfig: Moved ...
8656         * sysdeps/nptl/Makeconfig: ... here.
8657         * nptl/configure: File removed.
8658         * nptl/ANNOUNCE: File removed.
8659         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8660         * sysdeps/unix/sysv/linux/configure: Regenerated.
8662         * nptl/Makefile (routines): Add libc_pthread_init,
8663         libc_multiple_threads, register-atfork and unregister-atfork.
8664         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8665         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8666         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8667         pthread-pi-defines.sym, structsem.sym.
8668         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8669         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8670         [$(subdir) = nptl] (tests): Add tst-setgetname.
8671         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8672         * sysdeps/unix/sysv/linux/sigaction.c: Just include
8673         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8674         [!LIBC_SIGACTION]: Remove aliases.
8675         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8676         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8677         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8678         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8679         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8680         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8681         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8682         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8683         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8684         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8685         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8686         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8687         __libc_allocate_rtsig_private.
8688         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8689         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8690         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8691         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8692         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8693         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8694         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8695         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8696         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8697         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8698         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8699         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8700         * nptl/internaltypes.h: ... here.
8701         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8702         * sysdeps/nptl/jmp-unwind.c: ... here.
8703         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8704         * nptl/libc-lowlevellock.c: ... here.
8705         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8706         * nptl/libc_multiple_threads.c: ... here.
8707         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8708         * nptl/libc_pthread_init.c: ... here.
8709         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8710         * nptl/lowlevelbarrier.sym: ... here.
8711         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8712         * nptl/lowlevelcond.sym: ... here.
8713         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8714         * nptl/lowlevellock.c: ... here.
8715         * nptl/lowlevellock.h: Moved ...
8716         * sysdeps/nptl/lowlevellock.h: ... here.
8717         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8718         * nptl/lowlevelrobustlock.c: ... here.
8719         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8720         * nptl/lowlevelrobustlock.sym: ... here.
8721         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8722         * nptl/lowlevelrwlock.sym: ... here.
8723         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8724         * nptl/pt-fork.c: ... here.
8725         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8726         * nptl/pthread-pi-defines.sym: ... here.
8727         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8728         * nptl/pthread_attr_getaffinity.c: ... here.
8729         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8730         * nptl/pthread_attr_setaffinity.c: ... here.
8731         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8732         * nptl/pthread_mutex_cond_lock.c: ... here.
8733         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8734         Update #include.
8735         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8736         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8737         * nptl/pthread_once.c: ... here, replacing old file.
8738         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8739         * nptl/pthread_yield.c: ... here.
8740         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8741         * nptl/register-atfork.c: ... here.
8742         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8743         * nptl/sem_post.c: ... here.
8744         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8745         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8746         * nptl/sem_timedwait.c: ... here.
8747         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8748         * nptl/sem_trywait.c: ... here.
8749         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8750         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8751         * nptl/sem_wait.c: ... here.
8752         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8753         * nptl/structsem.sym: ... here.
8754         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8755         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8756         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8757         * nptl/unregister-atfork.c: ... here.
8758         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8759         * nptl/unwindbuf.sym: ... here.
8760         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8761         * sysdeps/nptl/fork.c: ... here.
8762         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8763         * sysdeps/nptl/fork.h: ... here.
8764         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8765         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8766         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8767         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8768         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8769         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8770         * sysdeps/unix/sysv/linux/getpid.c: ... here.
8771         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8772         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8773         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8774         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8775         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8776         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8777         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8778         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8779         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8780         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8781         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8782         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8783         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8784         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8785         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8786         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8787         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8788         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8789         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8790         * sysdeps/unix/sysv/linux/raise.c: ... here.
8791         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8792         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8793         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8794         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8795         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8796         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8797         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8798         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8799         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8800         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8801         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8802         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8803         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8804         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8805         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8807 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8809         * sysdeps/generic/memcopy.h: Add comment for
8810         MEMCPY_OK_FOR_FWD_MEMMOVE.
8812 2014-07-04  Will Newton  <will.newton@linaro.org>
8814         * string/memchr.c: Merge from gnulib.
8815         [_LIBC]: Remove conditionals.
8816         (__ptr_t): Remove define.
8817         (LONG_MAX_32_BITS): Likewise.
8818         (LONG_MAX): Likewise.
8819         (MEMCHR): Use ANSI prototype and optimize algorithm.
8821         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8823 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8825         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8826         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8828         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8829         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8830         in a bare environment with no <stdlib.h> installed.
8831         * sysdeps/nptl/configure: Regenerated.
8833         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8835         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8836         AC_EGREP_CPP for kernel header checks, so they only succeed if
8837         including <linux/version.h> actually works right.
8838         * sysdeps/unix/sysv/linux/configure: Regenerated.
8840         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8841         value so it's not diagnosed as unused.
8843         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8844         thing) with "ifeq ($(subdir),rt)".
8846 2014-07-03  Richard Henderson  <rth@redhat.com>
8848         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8849         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8850         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8852         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8853         (math_force_eval): New.
8855         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8856         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8858         * sysdeps/alpha/fpu/s_round.c: Remove file.
8859         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8861         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8862         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8863         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8864         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8865         (_dl_start, print_statistics): Likewise.
8866         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8867         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8869         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8870         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8871         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8872         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8873         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8874         (HP_SMALL_TIMING_AVAIL): Define.
8875         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8876         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8877         (HP_SMALL_TIMING_AVAIL): Define.
8878         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8879         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8881         * sysdeps/aarch64/hp-timing.h: New file.
8883         * sysdeps/generic/hp-timing.h: Remove dead comment.
8884         * sysdeps/generic/hp-timing-common.h: New file.
8885         * sysdeps/alpha/hp-timing.h: Include it.
8886         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8887         * sysdeps/i386/i686/hp-timing.h: Likewise.
8888         * sysdeps/ia64/hp-timing.h: Likewise.
8889         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8890         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8891         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8892         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8893         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8894         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8895         (hp_timing_t): New.
8897         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8898         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8899         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8900         * elf/rtld.c (_dl_start_final): Likewise.
8901         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8902         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8903         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8904         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8905         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8906         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8907         (HP_TIMING_DIFF_INIT): Remove.
8908         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8909         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8910         (HP_TIMING_DIFF_INIT): Remove.
8911         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8912         * sysdeps/i386/i686/hp-timing.c: Remove file.
8913         * sysdeps/x86_64/hp-timing.c: Remove file.
8914         * sysdeps/ia64/hp-timing.c: Remove file.
8915         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8916         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8917         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8918         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8920         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8921         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8922         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8923         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8924         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8925         (HP_TIMING_ACCUM): Remove.
8926         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8927         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8928         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8930         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8931         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8932         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8933         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8934         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8935         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8936         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8937         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8939         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8941 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8943         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8945 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8947         Sync up with gettext.
8948         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8949         [_MSC_VER]: Include malloc.h
8950         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8951         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8952         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8953         TEMP_FAILURE_RETRY.  Cast return of alloca.
8954         [!_LIBC] Call gl_rwlock_init.
8955         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8957 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8959         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8960         before checking its value.
8962 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8964         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8966         * debug/memcpy_chk.c: Don't include pagecopy.h.
8967         * debug/mempcpy_chk.c: Likewise.
8968         * string/memcpy.c: Likewise.
8969         * string/memmove.c: Likewise.
8970         * sysdeps/powerpc/memmove.c: Likewise.
8971         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8972         definition of PAGE_COPY_FWD_MAYBE here...
8973         * sysdeps/generic/pagecopy.h: ... from here.
8974         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8976 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8977             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8979         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8981         optimizations.
8982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8983         (__libc_ifunc_impl_list): Likewise.
8984         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8985         multiarch strcat for PPC64.
8986         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8987         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8989 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8991         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8993 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8995         * intl/loadmsgcat.c: Remove declaration of
8996         get_sysdep_segment_value.
8997         (get_sysdep_segment_value): Use ISO C style.
8998         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8999         semicolon.  Fix typo and formatting in comment.
9000         (_nl_unload_domain): Use ISO C style.
9002         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9004 2014-07-02  Will Newton  <will.newton@linaro.org>
9006         * malloc/obstack.c: Merge from gnulib master.
9007         [HAVE_CONFIG_H]: Remove conditional code.
9008         [!_LIBC]: Include config.h.
9009         [!ELIDE_CODE]: Don't include inttypes.h, include
9010         stdint.h unconditionally.
9011         (print_and_abort): Mark as _Noreturn.
9012         (_obstack_allocated_p): Mark as __attribute_pure__.
9013         (obstack_free): Rename to __obstack_free.
9014         [!__attribute__]: Remove conditional code.
9015         * malloc/obstack.h: Merge from gnulib master.
9016         [__cplusplus]: Move conditional down.
9017         [!__attribute_pure__]: Define __attribute_pure__ here
9018         if it is not already defined.
9019         (_obstack_memory_used): Mark as __attribute_pure__.
9020         [!__obstack_free]: Define as obstack_free.
9021         [__GNUC__]: Remove check for ancient NeXT gcc.
9023 2014-07-02  Will Newton  <will.newton@linaro.org>
9024             Paul Eggert  <eggert@cs.ucla.edu>
9026         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9028 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9030         * resolv/gethnamaddr.c: Add comment warning that the file is
9031         not maintained.
9033 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9035         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9036         entries.
9038         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9039         entry for aio_cancel and aio_cancel64.
9040         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9041         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9042         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9043         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9044         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9045         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9046         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9047         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9048         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9049         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9050         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9051         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9052         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9054 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9056         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9057         * nptl/pthread_mutex_lock.c: Likewise.
9058         * nptl/pthread_mutex_timedlock.c: Likewise.
9059         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9061 2014-07-01  Richard henderson  <rth@redhat.com>
9063         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9064         (__isnan, __isnanl): Remove.
9065         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9067         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9069 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9071         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9073 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9075         * resolv/nss_dns/dns-host.c (getanswer_r)
9076         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9078 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9080         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9081         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9082         undefine.
9083         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9084         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9086 2014-07-01  Roland McGrath <roland@hack.frob.com>
9088         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9089         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9091         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9092         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9094         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9095         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9096         ... here.
9097         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9098         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9100         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9101         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9102         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9103         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9105         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9106         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9107         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9108         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9109         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9110         Moved ...
9111         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9112         ... here.
9113         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9114         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9115         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9116         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9117         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9118         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9119         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9120         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9121         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9122         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9123         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9124         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9125         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9126         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9127         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9128         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9129         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9130         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9131         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9132         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9133         ... here.
9134         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9135         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9136         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9137         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9138         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9139         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9140         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9141         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9143 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9145         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9146         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9147         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9148         Add sysdep.
9150 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9154 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9156         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9157         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9159         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9161         * sysdeps/arm/libm-test-ulps: Regenerated.
9163 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9164             Roland McGrath <roland@hack.frob.com>
9166         * test-skeleton.c (signal_handler): Kill the whole process group
9167         before killing the child individually.
9168         (main): Report any failure on `setpgid'.
9170 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9172         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9173         from _TLS_H to _ARM_NPTL_TLS_H.
9174         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9175         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9177 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9179         [BZ #16539]
9180         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9181         (__expm1l): Return argument unchanged when small but not
9182         subnormal.
9184         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9185         include macro name.
9186         (_FP_UNPACK_RAW_1_P): Likewise.
9187         (_FP_PACK_RAW_1): Likewise.
9188         (_FP_PACK_RAW_1_P): Likewise.
9189         (_FP_MUL_MEAT_1_wide): Likewise.
9190         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9191         (_FP_MUL_MEAT_1_hard): Likewise.
9192         (_FP_DIV_MEAT_1_imm): Likewise.
9193         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9194         (_FP_DIV_MEAT_1_udiv): Likewise.
9195         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9196         (_FP_UNPACK_RAW_2): Likewise.
9197         (_FP_UNPACK_RAW_2_P): Likewise.
9198         (_FP_PACK_RAW_2): Likewise.
9199         (_FP_PACK_RAW_2_P): Likewise.
9200         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9201         (_FP_MUL_MEAT_2_wide): Likewise.
9202         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9203         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9204         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9205         (_FP_MUL_MEAT_2_gmp): Likewise.
9206         (_FP_DIV_MEAT_2_udiv): Likewise.
9207         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9208         (_FP_FRAC_SRL_4): Likewise.
9209         (_FP_FRAC_SRST_4): Likewise.
9210         (_FP_FRAC_SRS_4): Likewise.
9211         (_FP_UNPACK_RAW_4): Likewise.
9212         (_FP_UNPACK_RAW_4_P): Likewise.
9213         (_FP_PACK_RAW_4): Likewise.
9214         (_FP_PACK_RAW_4_P): Likewise.
9215         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9216         (_FP_MUL_MEAT_4_wide): Likewise.
9217         (_FP_MUL_MEAT_4_gmp): Likewise.
9218         (umul_ppppmnnn): Likewise.
9219         (_FP_DIV_MEAT_4_udiv): Likewise.
9220         (__FP_FRAC_ADD_4): Likewise.
9221         (__FP_FRAC_SUB_3): Likewise.
9222         (__FP_FRAC_SUB_4): Likewise.
9223         (__FP_FRAC_DEC_3): Likewise.
9224         (__FP_FRAC_DEC_4): Likewise.
9225         (__FP_FRAC_ADDI_4): Likewise.
9226         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9227         (_FP_FRAC_SRL_8): Likewise.
9228         (_FP_FRAC_SRS_8): Likewise.
9230         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9231         include macro name.
9232         (FP_UNPACK_RAW_EP): Likewise.
9233         (FP_PACK_RAW_E): Likewise.
9234         (FP_PACK_RAW_EP): Likewise.
9235         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9236         (_FP_ISSIGNAN): Likewise.
9237         (_FP_ADD_INTERNAL): Likewise.
9238         (_FP_FMA): Likewise.
9239         (_FP_CMP): Likewise.
9240         (_FP_SQRT): Likewise.
9241         (_FP_TO_INT): Likewise.
9242         (_FP_FROM_INT): Likewise.
9243         (FP_EXTEND): Likewise.
9244         (_FP_DIV_MEAT_N_loop): Likewise.
9246 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9248         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9249         throughout.
9251 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9253         [BZ #17097]
9254         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9255         result with correct sign in case of exponents that produce
9256         overflow except for X very close to 1.
9258 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9260         mktime: merge #if/#ifdef usage from glibc
9261         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9262         as that works with both Glibc's and Gnulib's style.
9263         See thread starting at Siddhesh Poyarekar's bug report at:
9264         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9266 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9268         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9269         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9270         * sysdeps/tile/tilegx/memmove.c: Remove file.
9272 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9274         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9275         abi-name definition.
9276         * scripts/soversions.awk: Do not handle or generate ABI lines.
9277         * shlib-versions: Remove ABI entries.
9278         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9279         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9281 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9284         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9285         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9286         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9287         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9288         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9290         Moved ...
9291         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9292         ... here.
9293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9294         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9296         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9298         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9300         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9302         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9304         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9306         Moved ...
9307         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9309         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9311         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9313         Moved ...
9314         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9316         Moved ...
9317         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9319         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9321         Moved ...
9322         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9323         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9324         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9326         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9328         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9330         Moved ...
9331         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9333         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9334         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9335         Moved ...
9336         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9337         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9338         Moved ...
9339         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9341         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9342         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9343         Moved ...
9344         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9345         ... here.
9346         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9347         Identical file removed.
9348         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9349         Moved ...
9350         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9351         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9352         Identical file removed.
9353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9354         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9355         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9356         Moved ...
9357         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9359         Identical file removed.
9360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9361         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9362         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9363         Identical file removed.
9364         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9365         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9366         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9367         Identical file removed.
9368         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9369         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9371         Identical file removed.
9372         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9373         Moved ...
9374         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9375         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9376         Identical file removed.
9377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9378         Moved ...
9379         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9381         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9383         Identical file removed.
9384         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9385         Moved ...
9386         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9387         ... here.
9388         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9389         Identical file removed.
9390         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9391         Moved ...
9392         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9394         Identical file removed.
9395         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9396         Moved ...
9397         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9398         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9399         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9400         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9401         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9403         Moved ...
9404         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9405         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9406         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9408         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9409         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9410         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9411         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9412         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9414 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9416         [BZ #17092]
9417         * nscd/nscd.c (monitor_child): Return exit status of child
9418         instead of return value from wait syscall.
9420 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9422         * configure.ac (libc_commonpagesize): Remove variable.
9423         (libc_relro_required): Likewise.
9424         (libc_cv_z_relro): Remove configure test.
9425         * configure: Regenerated.
9426         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9427         variable.
9428         (libc_relro_required): Likewise.
9429         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9430         (libc_relro_required): Likewise.
9431         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9432         (libc_relro_required): Likewise.
9433         * sysdeps/arm/preconfigure: Regenerated.
9434         * sysdeps/ia64/preconfigure: Remove file.
9435         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9436         variable.
9437         (libc_relro_required): Likewise.
9439         [BZ #16561]
9440         [BZ #16562]
9441         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9442         (__ieee754_yn): Set FE_TONEAREST mode internally and then
9443         recompute overflowing results in original rounding mode.
9444         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9445         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9446         recompute overflowing results in original rounding mode.
9447         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9448         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9449         recompute overflowing results in original rounding mode.
9450         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9451         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9452         recompute overflowing results in original rounding mode.
9453         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9454         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9455         recompute overflowing results in original rounding mode.
9456         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9457         (libc_feholdsetround_ctx): New macro.
9458         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9459         * sysdeps/i386/fpu/libm-test-ulps: Update.
9460         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9462 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9464         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9465         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9466         corresponding .cpsetup call.
9468 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9470         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9471         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9472         * sysdeps/arm/Makefile [$(subdir) = csu]
9473         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9474         (static-only-routines): Add aeabi_read_tp here.
9475         (shared-only-routines): Add libc-aeabi_read_tp here.
9476         (CFLAGS-libc-start.c): Add -fexceptions here.
9477         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9478         (sysdep_routines, static-only-routines, shared-only-routines):
9479         Don't add to these here.
9480         (CFLAGS-libc-start.c): Likewise.
9482         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9483         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9484         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9485         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9486         * sysdeps/arm/Makefile [$(subdir) = rt]
9487         (librt-sysdep_routines, librt-shared-only-routines):
9488         Append rt-aeabi_unwind_cpp_pr1 here.
9489         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9490         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9491         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9492         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9493         Append nptl-aeabi_unwind_cpp_pr1 here.
9494         (tests): Filter out tst-cleanupx4 here.
9495         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9496         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9497         Don't do those here.
9499 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9501         * scripts/list-sources.sh: Do not handle ports specially.
9503 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9505         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9506         * sysdeps/arm/feupdateenv.c: Likewise.
9508         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9510 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9512         * manual/texinfo.tex: Update to version 2014-05-05.10 with
9513         trailing whitespace removed.
9514         * scripts/config.guess: Update to version 2014-03-23.
9515         * scripts/config.sub: Update to version 2014-05-01
9516         * scripts/install-sh: Update to version 2013-12-25.23.
9517         * scripts/move-if-change: Update from gnulib.
9519 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9521         * debug/memmove_chk.c: Remove pagecopy.h include.
9523 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
9525         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
9526         identical to gnulib mktime.
9528 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9530         * configure.ac: Do not test for machine being rs6000.  Do not test
9531         for powerpc*-*soft.
9532         * configure: Regenerated.
9534         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9535         test.
9536         * configure: Regenerated.
9537         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9538         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9539         Remove configure test.
9540         * sysdeps/arm/configure: Regenerated.
9541         * sysdeps/nptl/configure.ac: Do not check
9542         libc_cv_asm_cfi_directives.
9543         * sysdeps/nptl/configure: Regenerated.
9544         * sysdeps/x86_64/nptl/configure.ac: Remove file.
9545         * sysdeps/x86_64/nptl/configure: Remove generated file.
9546         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9547         unconditional.
9548         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9550 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9552         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9553         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9554         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9555         it is defined.
9557         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9558         instead of whether it is defined.
9559         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9560         * sysdeps/hppa/dl-machine.h: Likewise.
9561         * sysdeps/ia64/dl-machine.h: Likewise.
9562         * sysdeps/m68k/dl-machine.h: Likewise.
9563         * sysdeps/microblaze/dl-machine.h: Likewise.
9564         * sysdeps/mips/dl-machine.: Likewise.
9565         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9566         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9567         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9568         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9569         * sysdeps/sh/dl-machine.h: Likewise.
9570         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9571         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9572         * sysdeps/tile/dl-machine.h: Likewise.
9573         * sysdeps/x86_64/dl-machine.h: Likewise.
9575         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9576         code.
9577         (verify_persistent_db): Likewise.
9579 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9582         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9584         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9586         Moved ...
9587         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9588         ... here.
9589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9590         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9592         Identical file removed.
9593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9594         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9596         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9598         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9600         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9602         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9604         Moved ...
9605         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9607         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9609         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9611         Moved ...
9612         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9614         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9616         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9618         Identical file removed.
9619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9620         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9622         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9624         Moved ...
9625         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9626         ... here.
9627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9628         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9630         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9632         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9634         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9636         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9638         Moved ...
9639         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9641         Moved ...
9642         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9644         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9646         Moved ...
9647         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9649         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9651         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9652         folded into ...
9653         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9654         * sysdeps/unix/sysv/linux/s390/Versions
9655         (libpthread: GLIBC_2.19): New version set.
9656         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9657         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9658         (librt: GLIBC_2.3.3): New version set.
9659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9660         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9661         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9662         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9663         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9664         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9665         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9666         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9667         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9668         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9669         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9670         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9671         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9672         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9673         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9674         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9675         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9676         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9677         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9678         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9679         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9681         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9683         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9685         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9686         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9687         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9689         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9690         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9695         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9697         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9699         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9701         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9703         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9705         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9706         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9707         (__libc_vfork): Define the function under this name.
9708         [!NOT_IN_libc] (__vfork): Make this an alias.
9709         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9711         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9712         (__libc_vfork): Define the function under this name.
9713         [!NOT_IN_libc] (__vfork): Make this an alias.
9714         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9715         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9716         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9717         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9719         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9721         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9722         code that was previously under [RESET_PID].
9723         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9724         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9727         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9728         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9729         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9730         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9731         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9732         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9733         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9734         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9735         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9736         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9737         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9738         Moved ...
9739         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9740         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9741         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9742         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9743         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9744         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9745         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9746         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9747         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9748         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9750         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9751         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9752         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9753         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9754         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9755         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9756         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9757         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9758         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9759         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9760         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9761         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9762         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9763         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9764         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9765         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9767         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9769 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9771         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9772         that was previously under [RESET_PID].
9773         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9775 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9777         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9778         not undefine and redefine.
9779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9780         [O_CLOEXEC]: Make code unconditional.
9781         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9782         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9783         <kernel-features.h>.
9784         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9785         conditional variable definition.
9786         (shm_open) [O_CLOEXEC]: Make code unconditional.
9787         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9788         code.
9790         * configure.ac (USE_REGPARMS): Don't define here.
9791         * configure: Regenerated.
9792         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9793         * sysdeps/i386/configure: Regenerated.
9795         * nptl/createthread.c: Don't include kernel-features.h.
9796         * nptl/pthread_cancel.c: Likewise.
9797         * nptl/pthread_condattr_setclock.c: Likewise.
9798         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9799         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9800         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9801         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9802         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9803         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9804         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9805         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9807         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9808         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9809         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9810         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9811         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9812         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9813         * nscd/gai.c: Likewise.
9814         * nss/nss_db/db-open.c: Likewise.
9815         * sysdeps/generic/ldsodefs.h: Likewise.
9816         * sysdeps/sh/nptl/tls.h: Likewise.
9817         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9818         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9819         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9820         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9821         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9822         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9823         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9824         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9826         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9827         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9828         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9829         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9830         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9831         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9832         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9833         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9834         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9835         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9836         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9839         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9840         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9845         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9846         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9847         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9848         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9849         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9850         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9851         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9852         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9853         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9854         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9855         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9856         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9857         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9858         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9859         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9860         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9861         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9862         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9863         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9864         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9865         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9866         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9867         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9868         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9869         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9870         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9871         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9872         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9873         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9874         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9897         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9898         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9899         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9900         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9901         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9902         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9903         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9904         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9905         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9906         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9907         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9908         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9909         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9910         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9911         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9912         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9913         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9914         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9915         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9916         * sysdeps/unix/sysv/linux/system.c: Likewise.
9917         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9918         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9919         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9920         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9921         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9922         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9923         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9925         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9926         * configure: Regenerated.
9927         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9929         * configure.ac (base_machine): Do not set specially for particular
9930         machines here.
9931         * configure: Regenerated.
9932         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9933         settings from configure.ac.
9934         * sysdeps/i386/preconfigure: New file.
9935         * sysdeps/s390/preconfigure: Likewise.
9936         * sysdeps/sh/preconfigure: Likewise.
9937         * sysdeps/sparc/preconfigure: Likewise.
9939 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9941         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9942         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9943         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9944         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9945         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9946         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9947         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9948         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9949         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9950         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9951         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9952         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9953         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9954         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9955         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9958         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9959         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9961         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9962         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9963         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9964         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9965         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9966         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9967         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9968         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9969         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9970         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9971         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9972         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9973         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9974         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9975         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9976         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9977         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9978         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9979         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9980         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9981         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9982         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9984         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9985         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9986         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9988         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9990         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9992         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9994         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9995         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9996         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9997         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9998         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10001         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10003         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10005         Moved ...
10006         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10007         ... here.
10008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10009         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10011         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10013         Moved ...
10014         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10016         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10018         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10020         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10022         Moved ...
10023         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10025         Moved ...
10026         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10028         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10030         Moved ...
10031         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10033         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10035         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10037         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10039         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10041         Moved ...
10042         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10043         ... here.
10044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10045         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10047         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10049         Moved ...
10050         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10052         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10054         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10056         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10058         Moved ...
10059         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10061         Moved ...
10062         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10064         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10066         Moved ...
10067         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10069         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10071         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10073 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10075         * timezone/checktab.awk: Update from tzcode 2014e.
10076         * timezone/private.h: Likewise.
10077         * timezone/tzfile.h: Likewise.
10078         * timezone/zdump.c: Likewise.
10079         * timezone/zic.c: Likewise.
10081         * sysdeps/unix/sysv/linux/kernel-features.h
10082         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10083         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10084         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10085         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10086         Remove conditional code.
10088 2014-06-25  Will Newton  <will.newton@linaro.org>
10090         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10091         (_dl_arm_cap_flags): Add HWCAP2 values.
10092         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10093         (_DL_HWCAP_COUNT): Increase to 37.
10094         (_DL_HWCAP_LAST): New define.
10095         (_DL_HWCAP2_LAST): New define.
10096         (_dl_procinfo): Add support for printing
10097         AT_HWCAP2 entries.
10098         (_dl_string_hwcap): Use _dl_hwcap_string.
10100 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10104 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10106         * README: Do not mention ports directory.
10108         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10109         Remove macro.
10110         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10111         <kernel-features.h>.
10112         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10113         conditional variable definition.
10114         (__futimes): Update comment.
10115         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10116         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10118         [BZ #16560]
10119         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10120         arguments close to 0.
10121         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10122         Likewise.
10123         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10124         Likewise.
10125         * math/auto-libm-test-in: Add more tests of exp10.
10126         * math/auto-libm-test-out: Regenerated.
10127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10129         * sysdeps/unix/sysv/linux/kernel-features.h
10130         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10131         * sysdeps/unix/sysv/linux/readv.c: Do not include
10132         <kernel-features.h>.
10133         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10134         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10135         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10136         unconditional.
10137         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10138         conditional code.
10139         * sysdeps/unix/sysv/linux/writev.c: Do not include
10140         <kernel-features.h>.
10141         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10142         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10143         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10144         unconditional.
10145         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10146         conditional code.
10148 2014-06-25  Will Newton  <will.newton@linaro.org>
10150         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10151         comment changes throughout the file.  Remove checks
10152         for HAVE_*_H definitions that are not required.
10153         (__gen_tempname): Call abort if an unknown kind value is
10154         passed.
10156 2014-06-25  Andreas Schwab  <schwab@suse.de>
10158         [BZ #17086]
10159         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10160         scalbln, scalblnf, scalblnl in libc.
10162 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10164         [BZ #17086]
10165         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10166         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10167         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10169 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10171         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10172         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10173         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10174         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10175         Update #include.
10176         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10177         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10178         Update #include.
10179         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10180         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10181         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10182         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10183         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10184         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10185         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10186         * sysdeps/x86/bits/semaphore.h: ... here.
10187         * sysdeps/x86/nptl/elide.h: Moved ...
10188         * sysdeps/x86/elide.h: ... here.
10189         * sysdeps/x86_64/nptl/Implies: File removed.
10190         * sysdeps/i386/nptl/Implies: File removed.
10192 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10194         [BZ #16539]
10195         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10196         return the argument for normal arguments with exponent below -64.
10197         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10198         Likewise.
10199         * math/auto-libm-test-in: Add another test of expm1.
10200         * math/auto-libm-test-out: Regenerated.
10202         [BZ #16287]
10203         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10204         calling __erfcl for arguments at least 16.
10205         * math/auto-libm-test-in: Add more tests of erf.
10206         * math/auto-libm-test-out: Regenerated.
10208         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10209         individual architectures.
10210         * sysdeps/unix/sysv/linux/configure: Regenerated.
10211         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10212         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10213         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10214         (ldd_rewrite_script): Define variable.
10215         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10217         file.
10218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10219         generated file.
10220         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10221         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10222         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10223         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10224         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10225         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10226         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10227         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10229 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10231         [BZ #17084]
10232         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10233         Rename member __data.d to __data.__elision_data.
10235 2014-06-24  Wilco  <wdijkstr@arm.com>
10237         * NEWS: Add 16918 to fixed bug list.
10239 2014-06-24  Wilco  <wdijkstr@arm.com>
10241         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10243 2014-06-24  Wilco  <wdijkstr@arm.com>
10245         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10246         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10247         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10248         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10249         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10250         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10251         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10252         Use _FPU_MASK_RM.
10254 2014-06-24  Wilco  <wdijkstr@arm.com>
10256         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10258 2014-06-24  Wilco  <wdijkstr@arm.com>
10260         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10261         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10262         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10263         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10265 2014-06-24  Wilco  <wdijkstr@arm.com>
10267         [BZ #16918]
10268         * sysdeps/arm/feupdateenv.c (feupdateenv):
10269         Rewrite to reduce FPSCR accesses and fix return value.
10271 2014-06-24  Wilco  <wdijkstr@arm.com>
10273         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10274         Optimize to avoid unnecessary FPSCR writes.
10275         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10276         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10277         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10278         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10280 2014-06-24  Wilco  <wdijkstr@arm.com>
10282         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10283         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10284         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10285         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10286         Call libc_fetestexcept_vfp.
10287         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10288         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10289         __SOFTFP__ ifdef so that they can be built for softfp.
10291 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10293         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10294         argument type signed char.
10296         * Makerules (check-abi): Dump diff of symlist if the test
10297         fails.
10299 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10301         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10302         using abort.
10304         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10305         Remove unused variable ST.
10307 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10309         [BZ #16354]
10310         [BZ #17061]
10311         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10312         small arguments before calling __expm1.
10313         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10314         small arguments before calling __expm1f.
10315         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10316         small arguments before calling __expm1l.
10317         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10318         Likewise.
10319         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10320         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10321         spurious underflow for some cosh tests.
10322         * math/auto-libm-test-out: Regenerated.
10323         * sysdeps/i386/fpu/libm-test-ulps: Update.
10325         [BZ #17050]
10326         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10327         (__ieee754_y1): Set errno if return value overflows.
10328         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10329         (__ieee754_y1f): Set errno if return value overflows.
10330         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10331         (__ieee754_y1l): Set errno if return value overflows.
10332         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10333         (__ieee754_y1l): Set errno if return value overflows.
10334         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10335         * math/auto-libm-test-out: Regenerated.
10337         * math/gen-auto-libm-tests.c: Document use of
10338         ignore-zero-inf-sign.
10339         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10340         (input_flags): Add ignore-zero-inf-sign.
10341         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10342         * math/gen-libm-test.pl (generate_testfile): Handle
10343         ignore-zero-inf-sign.
10344         * math/auto-libm-test-in: Mark some cpow tests with
10345         ignore-zero-inf-sign and some with xfail-rounding.
10346         * math/auto-libm-test-out: Regenerated.
10347         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10348         * sysdeps/i386/fpu/libm-test-ulps: Update.
10349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10351         [BZ #16315]
10352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10353         overflowing or underflowing operations take place with sign of
10354         result.
10355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10356         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10357         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10358         (__ieee754_pow): Recompute overflowing and underflowing results in
10359         original rounding mode.
10360         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10361         (__powl_helper): Allow negative argument X and scale negated value
10362         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10363         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10364         overflowing or underflowing operations take place with sign of
10365         result.
10366         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10367         Include <math.h>.
10368         * math/auto-libm-test-in: Add more tests of pow.
10369         * math/auto-libm-test-out: Regenerated.
10370         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10371         (pow_tonearest_test_data): Remove.
10372         (pow_test_tonearest): Likewise.
10373         (pow_towardzero_test_data): Likewise.
10374         (pow_test_towardzero): Likewise.
10375         (pow_downward_test_data): Likewise.
10376         (pow_test_downward): Likewise.
10377         (pow_upward_test_data): Likewise.
10378         (pow_test_upward): Likewise.
10379         (main): Don't call removed functions.
10380         * sysdeps/i386/fpu/libm-test-ulps: Update.
10381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10383 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10386         Moved ...
10387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10389         Moved ...
10390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10392         Moved ...
10393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10395         Moved ...
10396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10398         File removed.
10399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10400         File removed.
10401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10402         File removed.
10403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10404         File removed.
10405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10406         File removed.
10407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10408         File removed.
10409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10410         File removed.
10411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10412         File removed.
10413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10414         File removed.
10415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10416         File removed.
10417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10418         File removed.
10419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10420         File removed.
10421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10422         Moved ...
10423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10425         Moved ...
10426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10427         ... here.
10428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10429         Moved ...
10430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10432         Moved ...
10433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10435         Moved ...
10436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10438         Moved ...
10439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10441         Moved ...
10442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10444         Moved ...
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10447         Moved ...
10448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10451         ... here.
10452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10453         Moved ...
10454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10456         Moved ...
10457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10458         ... here.
10459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10460         Moved ...
10461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10462         ... here.
10463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10464         Moved ...
10465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10466         ... here.
10467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10468         Moved ...
10469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10471         Moved ...
10472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10476         Moved ...
10477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10478         ... here.
10479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10480         Moved ...
10481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10482         ... here.
10483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10484         Moved ...
10485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10487         Moved ...
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10490         Moved ...
10491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10493         Moved ...
10494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10496         Moved ...
10497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10498         ... here.
10499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10500         Moved ...
10501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10503         Moved ...
10504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10506         Moved ...
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10509         Moved ...
10510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10514         Moved ...
10515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10517         Moved ...
10518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10520         Moved ...
10521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10522         ... here.
10523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10524         Moved ...
10525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10526         ... here.
10527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10528         Moved ...
10529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10530         ... here.
10531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10532         Moved ...
10533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10535         Moved ...
10536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10538         Moved ...
10539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10541         Moved ...
10542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10543         ... here.
10544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10545         Moved ...
10546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10547         ... here.
10548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10549         Moved ...
10550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10551         ... here.
10552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10553         Moved ...
10554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10556         Moved ...
10557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10559 2014-06-23  Will Newton  <will.newton@linaro.org>
10560             Wilco  <wdijkstr@arm.com>
10562         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10563         implementation.  Include get-rounding-mode.h.
10564         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10565         [!libc_feholdsetround_noex_ctx]: Define
10566         libc_feholdsetround_noex_ctx.
10567         [!libc_feholdsetround_noexf_ctx]: Define
10568         libc_feholdsetround_noexf_ctx.
10569         [!libc_feholdsetround_noexl_ctx]: Define
10570         libc_feholdsetround_noexl_ctx.
10571         (libc_feholdsetround_ctx): New function.
10572         (libc_feresetround_ctx): New function.
10573         (libc_feholdsetround_noex_ctx): New function.
10574         (libc_feresetround_noex_ctx): New function.
10576 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10578         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10579         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10580         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10581         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10582         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10583         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10585         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10586         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10587         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10588         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10589         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10590         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10592         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10593         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10594         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10596         Moved ...
10597         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10598         ... here.
10599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10600         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10602         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10604         Moved ...
10605         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10607         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10609         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10610         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10611         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10613         Moved ...
10614         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10615         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10616         Moved ...
10617         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10619         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10621         Moved ...
10622         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10624         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10625         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10626         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10627         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10628         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10629         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10630         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10632         Moved ...
10633         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10634         ... here.
10635         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10636         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10638         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10640         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10642         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10644         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10646         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10648         Moved ...
10649         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10651         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10652         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10653         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10654         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10655         Moved ...
10656         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10658         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10659         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10660         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10662         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10663         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10664         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10665         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10666         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10667         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10668         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10669         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10671         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10672         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10673         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10674         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10675         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10676         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10677         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10678         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10679         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10680         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10681         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10682         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10683         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10684         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10685         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10686         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10687         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10688         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10689         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10691 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10694         (FALLOC_FL_COLLAPSE_RANGE): New macro.
10695         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10696         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10697         (IPV6_PMTUDISC_INTERFACE): Likewise.
10698         (IPV6_PMTUDISC_OMIT): Likewise.
10700 2014-06-23  Andreas Schwab  <schwab@suse.de>
10702         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10703         Remove unused errout label.
10705 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10707         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10708         macro: hardware supports Vector Crypto instructions.
10710 2014-06-23  Will Newton  <will.newton@linaro.org>
10712         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10713         rather than __builtin_expect.
10715         * elf/dl-lookup.c (undefined_msg): Remove variable.
10716         (_dl_lookup_symbol_x): Replace undefined_msg with string
10717         literal.
10719         * elf/dl-lookup.c (do_lookup_unique): New function.
10720         (do_lookup_x): Move STB_GNU_UNIQUE handling code
10721         to a separate function.
10723 2014-06-23  Andreas Schwab  <schwab@suse.de>
10725         [BZ #17079]
10726         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10727         before reading the next line.
10729 2014-06-23  Will Newton  <will.newton@linaro.org>
10731         * test-skeleton.c (signal_handler): Use printf and %m
10732         rather than perror.  Use printf rather than fprintf to
10733         stderr.  Use puts rather than fputs to stderr.
10734         (main): Likewise.
10736 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
10738         * nscd/nscd.c (thread_info_t): Remove typedef.
10739         (thread_info): Remove variable.
10741 2014-06-21  Allan McRae  <allan@archlinux.org>
10743         * NEWS: Mention CVE-2014-4043.
10745 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10747         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10748         * nptl/smp.h: ... here.
10750         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10752         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10753         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10754         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10755         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10757         * nptl/allocatestack.c: Include <stack-aliasing.h>.
10758         * nptl/stack-aliasing.h: New file.
10759         * sysdeps/i386/i686/stack-aliasing.h: New file.
10760         * sysdeps/i386/i686/nptl/Makefile: File removed.
10761         * sysdeps/x86_64/stack-aliasing.h: New file.
10762         * sysdeps/x86_64/nptl/Makefile
10763         (CFLAGS-pthread_create.c): Variable removed.
10765         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10766         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10767         old file.
10768         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10769         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10770         old file.
10772 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
10774         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10775         (__ASSUME_SIGFRAME_V2): Remove macro.
10776         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10777         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10778         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10779         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10780         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10781         Declare as function.  Remove conditional macro definitions.
10782         (__default_rt_sa_restorer): Likewise.
10783         (__default_sa_restorer_v1): Remove declaration.
10784         (__default_sa_restorer_v2): Likewise.
10785         (__default_rt_sa_restorer_v1): Likewise.
10786         (__default_rt_sa_restorer_v2): Likewise.
10787         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10788         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10789         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10791 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10793         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10794         (libpthread-routines): Add sysdep.
10795         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10796         * sysdeps/unix/sysv/linux/sparc/Versions
10797         (libpthread: GLIBC_2.3.3): New version set.
10798         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10799         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10800         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10801         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10802         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
10803         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10804         Moved ...
10805         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10806         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10807         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10808         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10809         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10810         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10811         * sysdeps/sparc/nptl/sem_init.c: ... here.
10812         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10813         * sysdeps/sparc/nptl/sem_post.c: ... here.
10814         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10815         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10816         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10817         * sysdeps/sparc/nptl/sem_wait.c: ... here.
10818         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10819         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10820         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10821         (libpthread-routines): Add cpu_relax.
10822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10823         File removed.
10824         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10825         (librt: GLIBC_2.3.3): New version set.
10826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10827         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10828         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10829         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10832         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10834         Moved ...
10835         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10837         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10839         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10841         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10843         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10845         Moved ...
10846         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10847         Update #include.
10848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10849         Moved ...
10850         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10851         Update #include.
10852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10853         Moved ...
10854         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10855         Update #include.
10856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10857         Moved ...
10858         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10859         Update #include.
10860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10861         Moved ...
10862         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10863         Update #include.
10864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10865         Moved ...
10866         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10867         Update #include.
10868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10869         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10871         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10875         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10877         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10879         Moved ...
10880         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10882         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10884         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10886 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10888         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10889         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10890         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10891         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10892         * nscd/nscd.c: Likewise.
10893         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10894         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10895         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10896         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10898         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10899         <kernel-features.h>.
10900         (init_mq_netlink): Remove conditional have_sock_cloexec
10901         definitions.  Remove code conditional on have_sock_cloexec < 0.
10902         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10903         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10904         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10905         <kernel-features.h>.
10906         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10907         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10909 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10912         Add tests for memset_chk and memset.
10914         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10915         with AVX2_Usable.
10917 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10919         [BZ #16046]
10920         * elf/tst-dl-iter-static.c: New file.
10921         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10923         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10924         error.
10926 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10928         * sysdeps/unix/sysv/linux/kernel-features.h
10929         (__ASSUME_F_GETOWN_EX): Remove macro.
10930         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10931         <kernel-features.h>.
10932         (miss_F_GETOWN_EX): Remove variable or macro.
10933         (do_fcntl): Do not check miss_F_GETOWN_EX.
10934         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10936         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10937         Remove macro.
10938         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10939         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10940         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10942         * sysdeps/unix/sysv/linux/kernel-features.h
10943         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10944         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10945         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10946         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10948 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10950         [BZ #17075]
10951         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10952         Fix calculation of the symbol's value.
10953         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10954         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10955         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10956         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10957         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10958         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10959         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10960         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10961         (modules-names): Add `tst-armtlsdescmod',
10962         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10963         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10964         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10965         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10966         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10967         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10968         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10969         ($(objpfx)tst-armtlsdescloc): New dependency.
10970         ($(objpfx)tst-armtlsdescextnow): Likewise.
10971         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10972         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10973         TLS scheme support.
10974         * sysdeps/arm/configure: Regenerate.
10976 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10978         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10979         (__atfct_seterrno_2): Likewise.
10980         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10981         <kernel-features.h>.
10982         (__ASSUME_ATFCTS): Do not undefine and redefine.
10983         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10984         (__have_atfcts): Remove conditional definition.
10985         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10986         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10987         unreachable if [__ASSUME_ATFCTS].
10988         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10989         not undefine and redefine.
10990         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10991         <kernel-features.h>.
10992         (faccessat) [__NR_faccessat]: Make code unconditional.
10993         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10994         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10995         <kernel-features.h>.
10996         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10997         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10998         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10999         <kernel-features.h>.
11000         (fchownat) [__NR_fchownat]: Make code unconditional.
11001         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11002         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11003         <kernel-features.h>.
11004         (futimesat) [__NR_futimesat]: Make code unconditional.
11005         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11006         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11007         <kernel-features.h>.
11008         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11009         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11010         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11011         <kernel-features.h>.
11012         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11013         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11014         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11015         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11016         <kernel-features.h>.
11017         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11018         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11019         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11020         <kernel-features.h>.
11021         (linkat) [__NR_linkat]: Make code unconditional.
11022         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11023         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11024         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11025         <kernel-features.h>.
11026         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11027         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11028         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11029         <kernel-features.h>.
11030         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11031         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11032         * sysdeps/unix/sysv/linux/openat.c: Do not include
11033         <kernel-features.h>.
11034         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11035         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11036         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11037         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11038         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11039         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11040         <kernel-features.h>.
11041         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11042         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11043         result of INLINE_SYSCALL directly, not via int variable.
11044         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11045         <kernel-features.h>.
11046         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11047         (renameat) [__NR_renameat]: Make code unconditional.
11048         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11049         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11050         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11051         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11052         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11053         (__ASSUME_ATFCTS): Do not undefine and redefine.
11054         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11055         <kernel-features.h>.
11056         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11057         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11058         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11059         <kernel-features.h>.
11060         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11061         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11062         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11063         (__ASSUME_ATFCTS): Do not undefine and redefine.
11064         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11065         <kernel-features.h>.
11066         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11067         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11068         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11069         <kernel-features.h>.
11070         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11071         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11073 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11075         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11077 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11079         [BZ #17069]
11080         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11081         constructed tree before returning error.
11082         * posix/bug-regexp36.c: Expand test case.
11084 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11086         [BZ #6803]
11087         * math/libm-test.inc (scalbln_test_date):
11088         Add errno expectations.
11089         * math/w_scalblnf.c: New File.
11090         Add wrapper which checks for setting errno to ERANGE.
11091         Add weak_alias for corresponding scalbln function.
11092         * math/w_scalbln.c: Likewise.
11093         * math/w_scalblnl.c: Likewise.
11094         * math/Makefile (libm-calls): Add w_scalbln.
11095         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11096         Remove weak_alias for corresponding scalbln function.
11097         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11098         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11099         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11100         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11101         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11102         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11103         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11104         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11105         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11106         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11107         Remove long_double_symbol for scalblnl function in libm, libc.
11108         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11109         Add wrapper which checks for setting errno to ERANGE.
11110         Add long_double_symbol for scalblnl function in libm, libc.
11111         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11112         Remove long_double_symbol for scalblnl in libm.
11113         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11114         Add wrapper which checks for setting errno to ERANGE.
11115         Add long_double_symbol for scalblnl function in libm.
11116         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11117         Do not use wrapper because of own implementation.
11119 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11121         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11122         3 bytes for __pad1 for x32.
11123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11125 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11126             H.J. Lu  <hongjiu.lu@intel.com>
11128         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11129         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11130         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11131         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11132         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11134 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11136         [BZ #17069]
11137         * posix/regcomp.c (parse_expression): Deallocate partially
11138         constructed tree before returning error.
11139         * posix/Makefile.c (tests): Add bug-regex36.
11140         (generated): Add bug-regex36.mtrace.
11141         (tests-special): Add $(objpfx)bug-regex36-mem.out
11142         (bug-regex36-ENV): New variable.
11143         ($(objpfx)bug-regex36-mem.out): New rule.
11144         * posix/bug-regex36.c: New file.
11146 2014-06-19  Will Newton  <will.newton@linaro.org>
11148         * malloc/malloc.c (systrim): If extra is zero then return
11149         early.
11151 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11153         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11155 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11157         * sysdeps/aarch64/strchr.S: New file.
11159 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11161         [BZ #17022]
11162         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11163         from arguments -2 or below.
11164         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11165         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11167 2014-06-18  Andreas Schwab  <schwab@suse.de>
11169         [BZ #17062]
11170         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11171         of a bracket expr not to run off the end of the string.
11172         * posix/Makefile (tests): Add tst-fnmatch3.
11173         * posix/tst-fnmatch3.c: New file.
11175 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11177         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11178         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11179         [$(cross-compiling) = no]: Likewise.
11180         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11181         [$(cross-compiling) = no]: Likewise.
11183 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11185         [BZ #17031]
11186         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11187         double, adjusted for any remainder from the high double.
11188         * math/libm-test.inc (nearbyint): Add tests.
11189         (rint): Likewise.
11191 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11193         * nptl/sysdeps/powerpc/Makefile: Moved ...
11194         * sysdeps/powerpc/nptl/Makefile: ... here.
11195         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11196         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11197         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11198         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11199         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11200         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11201         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11202         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11203         * nptl/sysdeps/powerpc/tls.h: Moved ...
11204         * sysdeps/powerpc/nptl/tls.h: ... here.
11206 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11208         [BZ #16681]
11209         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11210         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11211         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11212         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11213         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11214         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11215         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11216         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11217         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11219 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11221         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11223 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11225         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11226         defined operator.
11228         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11229         $TIMEOUTFACTOR.
11231 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11233         [BZ #17058]
11234         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11235         non-executed part of the test.
11237 2014-06-16  Andreas Schwab  <schwab@suse.de>
11239         * string/bits/string2.h (strdup, strndup): Update feature guard.
11241 2014-06-14  David S. Miller  <davem@davemloft.net>
11243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11245 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11247         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11248         that was previously under [RESET_PID].
11249         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11251         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11252         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11253         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11254         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11255         (__libc_vfork): New strong alias.
11256         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11258 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11260         * sysdeps/generic/elide.h: New file.
11262 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11264         * Makefile (installed-headers): Adjust path of pthread.h header.
11266 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11268         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11269         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11270         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11271         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11273         * nptl/sysdeps/s390/Makefile: Moved ...
11274         * sysdeps/s390/nptl/Makefile: ... here.
11275         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11276         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11277         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11278         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11279         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11280         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11281         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11282         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11283         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11284         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11285         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11286         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11287         * nptl/sysdeps/s390/tls.h: Moved ...
11288         * sysdeps/s390/nptl/tls.h: ... here.
11290         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11291         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11293 2014-06-13  David S. Miller  <davem@davemloft.net>
11295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11298         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11302         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11303         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11304         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11305         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11306         Remove RESET_PID cpp guards.
11307         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11308         Remove RESET_PID cpp guards.
11309         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11311 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11313         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11314         __sp to uintptr_t.
11316 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11319         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11323         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11324         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11328         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11330         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11333         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11334         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11339         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11340         (pthread_rwlock_rdlock): Add elision.
11341         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11342         (pthread_rwlock_wrlock): Add elision.
11343         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11344         (pthread_rwlock_trywrlock): Add elision.
11345         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11346         (pthread_rwlock_tryrdlock): Add elision.
11347         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11348         (pthread_rwlock_tryrdlock): Add elision unlock.
11349         * nptl/sysdeps/pthread/pthread.h:
11350         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11351         (PTHREAD_RWLOCK_INITIALIZER,
11352         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11353         Handle new elision field.
11354         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11355         * sysdeps/arm/nptl/bits/pthreadtypes.h
11356         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11357         * sysdeps/sh/nptl/bits/pthreadtypes.h
11358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11359         * sysdeps/tile/nptl/bits/pthreadtypes.h
11360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11361         * sysdeps/a/nptl/bits/pthreadtypes.h
11362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11363         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11365         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11367         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11369         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11371         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11373         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11375         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11377         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11379         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11380         (elision_init): Set try_xbegin to zero when no RTM.
11381         * sysdeps/x86/nptl/bits/pthreadtypes.h
11382         (pthread_rwlock_t): Change __pad1 to __rwelision.
11383         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11385 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11387         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11388         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11389         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11390         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11392 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11394         [BZ #16996]
11395         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11396         that the cached result has been set before returning it.
11398 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11400         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11401         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11402         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11403         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11404         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11405         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11407         * nptl/sysdeps/sparc/Makefile: Moved ...
11408         * sysdeps/sparc/nptl/Makefile: ... here.
11409         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11410         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11411         * nptl/sysdeps/sparc/tls.h: Moved ...
11412         * sysdeps/sparc/nptl/tls.h: ... here.
11413         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11414         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11415         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11416         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11417         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11418         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11419         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11420         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11421         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11422         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11423         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11424         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11425         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11426         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11427         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11428         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11429         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11430         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11431         Update #include.
11432         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11433         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11434         Update #include.
11435         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11437         Update #include.
11438         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11440         Update #include.
11442         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11444         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11445         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11447         * sysdeps/pthread/posix-timer.h: Include <list.h>.
11448         (struct list_links): Type removed.
11449         (struct thread_node, struct timer_node): Replace struct list_links
11450         with struct list_head.
11451         (list_unlink_ip): Likewise.
11452         * sysdeps/pthread/timer_routines.c
11453         (timer_free_list, thread_free_list, thread_active_list): Likewise.
11454         (list_append, list_insbefore): Likewise.
11455         (list_init): Function removed.
11456         (thread_init, init_module): Use INIT_LIST_HEAD instead.
11457         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11458         * sysdeps/pthread/Makefile: ... here, new file.
11460         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11461         * sysdeps/nptl/Implies: ... here.
11462         * sysdeps/unix/sysv/linux/Implies: Add nptl.
11463         * nptl/sysdeps/pthread/list.h: Moved ...
11464         * include/list.h: ... here.
11465         * nptl/sysdeps/pthread/createthread.c: Moved ...
11466         * nptl/createthread.c: ... here.
11467         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11468         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11469         * nptl/pt-longjmp.c: ... here.
11470         * nptl/sysdeps/pthread/Makefile: Moved ...
11471         * sysdeps/nptl/Makefile: ... here.
11472         * nptl/sysdeps/pthread/Subdirs: Moved ...
11473         * sysdeps/nptl/Subdirs: ... here.
11474         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11475         * sysdeps/nptl/aio_misc.h: ... here.
11476         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11477         * sysdeps/nptl/bits/libc-lock.h: ... here.
11478         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11479         * sysdeps/nptl/bits/libc-lockP.h: ... here.
11480         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11481         * sysdeps/nptl/bits/stdio-lock.h: ... here.
11482         * nptl/sysdeps/pthread/configure: Moved ...
11483         * sysdeps/nptl/configure: ... here.
11484         * nptl/sysdeps/pthread/configure.ac: Moved ...
11485         * sysdeps/nptl/configure.ac: ... here.
11486         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11487         * sysdeps/nptl/gai_misc.h: ... here.
11488         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11489         * sysdeps/nptl/librt-cancellation.c: ... here.
11490         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11491         * sysdeps/nptl/malloc-machine.h: ... here.
11492         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11493         * sysdeps/nptl/pthread-functions.h: ... here.
11494         * nptl/sysdeps/pthread/pthread.h: Moved ...
11495         * sysdeps/nptl/pthread.h: ... here.
11496         * nptl/sysdeps/pthread/setxid.h: Moved ...
11497         * sysdeps/nptl/setxid.h: ... here.
11498         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11499         * sysdeps/nptl/sigfillset.c: ... here.
11500         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11501         * sysdeps/nptl/tcb-offsets.h: ... here.
11502         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11503         * sysdeps/nptl/tst-mqueue8x.c: ... here.
11504         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11505         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11506         * nptl/sysdeps/pthread/allocalim.h: Moved ...
11507         * sysdeps/pthread/allocalim.h: ... here.
11508         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11509         * sysdeps/pthread/bits/sigthread.h: ... here.
11510         * nptl/sysdeps/pthread/flockfile.c: Moved ...
11511         * sysdeps/pthread/flockfile.c: ... here.
11512         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11513         * sysdeps/pthread/ftrylockfile.c: ... here.
11514         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11515         * sysdeps/pthread/funlockfile.c: ... here.
11516         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11517         * sysdeps/pthread/posix-timer.h: ... here.
11518         * nptl/sysdeps/pthread/timer_create.c: Moved ...
11519         * sysdeps/pthread/timer_create.c: ... here.
11520         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11521         * sysdeps/pthread/timer_delete.c: ... here.
11522         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11523         * sysdeps/pthread/timer_getoverr.c: ... here.
11524         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11525         * sysdeps/pthread/timer_gettime.c: ... here.
11526         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11527         * sysdeps/pthread/timer_routines.c: ... here.
11528         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11529         * sysdeps/pthread/timer_settime.c: ... here.
11530         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11531         * sysdeps/pthread/tst-timer.c: ... here.
11532         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11533         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11535         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11536         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11538         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11539         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11540         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11541         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11542         Update #include target.
11543         * nptl/sysdeps/i386/i686/Makefile: Moved ...
11544         * sysdeps/i386/i686/nptl/Makefile: ... here.
11545         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11546         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11547         Update #include target.
11548         * nptl/sysdeps/i386/i686/tls.h: Moved ...
11549         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
11550         * nptl/sysdeps/i386/Makefile: Moved ...
11551         * sysdeps/i386/nptl/Makefile: ... here.
11552         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11553         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11554         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11555         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11556         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11557         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11558         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11559         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11560         * sysdeps/i386/nptl/pthreaddef.h: ... here.
11561         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11562         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11563         * nptl/sysdeps/i386/tls.h: Moved ...
11564         * sysdeps/i386/nptl/tls.h: ... here.
11566         * sysdeps/sh/Makefile [$(subdir) = csu]
11567         (gen-as-const-headers): Add tcb-offsets.sym.
11568         * nptl/sysdeps/sh/Makefile: File removed.
11569         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11570         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11571         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11572         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11573         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11574         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11575         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11576         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11577         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11578         * sysdeps/sh/nptl/pthreaddef.h: ... here.
11579         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11580         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11581         * nptl/sysdeps/sh/tls.h: Moved ...
11582         * sysdeps/sh/nptl/tls.h: ... here.
11583         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11584         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11585         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11586         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11587         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11588         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11589         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11590         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11591         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11592         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11593         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11594         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11595         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11596         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11597         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11598         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11600         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11602         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11604         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11605         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11606         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11607         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11608         Moved ...
11609         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11610         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11611         Moved ...
11612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11616         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11617         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11618         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11619         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11620         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11621         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11622         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11623         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11624         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11625         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11626         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11627         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11628         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11629         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11630         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11632 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11634         * posix/spawn_faction_addopen.c: Include string.h.
11636 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11638         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11639         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11640         * nptl/sysdeps/x86_64/Makefile: Moved ...
11641         * sysdeps/x86_64/nptl/Makefile: ... here.
11642         * nptl/sysdeps/x86_64/configure: Moved ...
11643         * sysdeps/x86_64/nptl/configure: ... here.
11644         * nptl/sysdeps/x86_64/configure.ac: Moved ...
11645         * sysdeps/x86_64/nptl/configure.ac: ... here.
11646         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11647         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11648         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11649         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11650         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11651         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11652         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11653         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11654         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11655         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11656         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11657         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11658         * nptl/sysdeps/x86_64/tls.h: Moved ...
11659         * sysdeps/x86_64/nptl/tls.h: ... here.
11660         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11661         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11662         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11663         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11665         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11667 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11671 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
11673         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11674         type.
11675         [POSIX] (off_t): Likewise.
11676         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11677         [POSIX] (S_ISBLK): Require macro.
11678         [POSIX] (S_ISCHR): Likewise.
11679         [POSIX] (S_ISDIR): Likewise.
11680         [POSIX] (S_ISFIFO): Likewise.
11681         [POSIX] (S_ISREG): Likewise.
11682         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11683         optional-macro.
11684         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11685         type.
11686         [POSIX] (time_t): Likewise.
11687         [POSIX] (timer_t): Likewise.
11689 2014-06-11  Florian Weimer  <fweimer@redhat.com>
11691         [BZ #17048]
11692         * posix/spawn_int.h (struct __spawn_action): Make the path string
11693         non-const to support deallocation.
11694         * posix/spawn_faction_addopen.c
11695         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11696         * posix/spawn_faction_destroy.c
11697         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
11698         path in all spawn_do_open actions.
11699         * posix/tst-spawn.c (do_test): Exercise the copy operation in
11700         posix_spawn_file_actions_addopen.
11702 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
11704         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11705         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11706         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11707         conditional code always true.
11708         (__libc_vfork): New alias.
11710 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11712         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11713         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11715         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11717         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11718         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11720         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11721         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11723         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11724         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11726 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11728         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11729         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11730         multiarch strcmp for PPC64.
11731         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11732         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11734         multiarch optimizations.
11735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11736         (__libc_ifunc_impl_list): Likewise.
11738 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11740         * benchtests/scripts/validate_benchout.py: New script.
11741         * benchtests/Makefile (bench-func): Call it.
11742         * benchtests/scripts/benchout.schema.json: New file.
11744 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
11746         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11747         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11748         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11749         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11750         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11751         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11752         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11753         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11754         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11755         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11756         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11757         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11758         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11759         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11760         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11761         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11763         Moved ...
11764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11765         ... here.
11766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11767         Moved ...
11768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11770         Moved ...
11771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11772         ... here.
11773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11774         Moved ...
11775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11776         ... here.
11777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11778         Moved ...
11779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11781         Moved ...
11782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11783         ... here.
11784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11785         Moved ...
11786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11787         ... here.
11788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11789         Moved ...
11790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11792         Moved ...
11793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11794         ... here.
11795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11796         Moved ...
11797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11798         ... here.
11799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11800         Moved ...
11801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11802         ... here.
11803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11804         Moved ...
11805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11807         Moved ...
11808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11809         ... here.
11810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11811         Moved ...
11812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11813         ... here.
11814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11815         Moved ...
11816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11817         ... here.
11818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11819         Moved ...
11820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11822         Moved ...
11823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11824         ... here.
11825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11826         Moved ...
11827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11828         ... here.
11829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11830         Moved ...
11831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11833         Moved ...
11834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11835         ... here.
11836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11837         Moved ...
11838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11840         Moved ...
11841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11843         Moved ...
11844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11845         ... here.
11846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11847         Moved ...
11848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11849         ... here.
11850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11851         Moved ...
11852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11853         ... here.
11854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11855         Moved ...
11856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11858         Moved ...
11859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11860         ... here.
11861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11862         Moved ...
11863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11864         ... here.
11865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11866         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11868         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11870         Moved ...
11871         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11872         ... here.
11873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11874         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11876         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11878         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11880         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11882         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11884         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11886         Moved ...
11887         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11888         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11889         Moved ...
11890         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11892         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11894         Moved ...
11895         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11897         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11898         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11899         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11900         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11901         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11903 2014-06-10  Wilco  <wdijkstr@arm.com>
11905         * math/test-fenv-return.c: New file.
11906         * math/Makefile: Add new test test-fenv-return.
11908 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11910         [BZ #17042]
11911         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11912         when x - 1 is zero.
11913         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11914         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11915         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11916         0.0L for an argument of 1.0L.
11917         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11918         Likewise.
11919         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11920         value when x - 1 is zero.
11921         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11922         * sysdeps/i386/fpu/libm-test-ulps: Update.
11923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11925 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11927         [BZ #15119]
11928         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11930 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11932         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11933         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11935 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11937         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11938         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11940         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11941         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11943         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11944         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11946         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11947         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11949         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11950         if not already defined.
11951         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11952         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11953         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11954         (TLS_INIT_TP): Use it.
11955         (TLS_DEFINE_INIT_TP): New macro.
11956         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11958 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11960         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11961         constant.
11962         [POSIX] (IXANY): Likewise.
11963         [POSIX] (OLCUC): Likewise.
11964         [POSIX || POSIX2008] (CBAUD): Do not allow.
11965         [POSIX || POSIX2008] (DEFECHO): Likewise.
11966         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11967         [POSIX || POSIX2008] (ECHOKE): Likewise.
11968         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11969         [POSIX || POSIX2008] (EXTA): Likewise.
11970         [POSIX || POSIX2008] (EXTB): Likewise.
11971         [POSIX || POSIX2008] (FLUSHO): Likewise.
11972         [POSIX || POSIX2008] (LOBLK): Likewise.
11973         [POSIX || POSIX2008] (PENDIN): Likewise.
11974         [POSIX || POSIX2008] (SWTCH): Likewise.
11975         [POSIX || POSIX2008] (VDISCARD): Likewise.
11976         [POSIX || POSIX2008] (VDSUSP): Likewise.
11977         [POSIX || POSIX2008] (VLNEXT): Likewise.
11978         [POSIX || POSIX2008] (VREPRINT): Likewise.
11979         [POSIX || POSIX2008] (VSTATUS): Likewise.
11980         [POSIX || POSIX2008] (VWERASE): Likewise.
11981         (B*): Change to B[0123456789]*.
11982         * conform/data/time.h-data [POSIX || UNIX98]
11983         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11984         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11985         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11986         [POSIX] (tm_*): Do not allow.
11988 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11990         * Makefile (install): Don't set LANGUAGE.
11991         * Makefile.in (install): Likewise.
11992         * assert/Makefile (test-assert-ENV): Remove variable.
11993         (test-assert-perr-ENV): Likewise.
11994         * elf/Makefile (neededtest4-ENV): Likewise.
11995         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11996         [$(cross-compiling) = no]: Don't set LANGUAGE.
11997         * io/ftwtest-sh (LANG): Remove variable.
11998         * libio/Makefile (tst-widetext-ENV): Likewise.
11999         * manual/install.texi (Running make install): Don't refer to
12000         environment settings for make install.
12001         * INSTALL: Regenerated.
12002         * nptl/tst-tls6.sh: Don't set LANG.
12003         * posix/globtest.sh (LANG): Remove variable.
12004         * string/Makefile (tester-ENV): Likewise.
12005         (inl-tester-ENV): Likewise.
12006         (noinl-tester-ENV): Likewise.
12007         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12008         [$(cross-compiling) = no]: Don't set LANGUAGE.
12009         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12010         without explicit environment settings.
12012 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12014         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12015         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12016         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12017         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12019 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12021         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12022         other files in the crypt directory.
12023         * crypt/crypt.c: Remove duplicate includes.
12024         * crypt/crypt-entry.c: Likewise.
12025         * crypt/crypt_util.c: Likewise.
12027 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12029         * Makeconfig (run-program-env): New variable.
12030         (run-program-prefix-before-env): Likewise.
12031         (run-program-prefix-after-env): Likewise.
12032         (run-program-prefix): Define in terms of new variables.
12033         (built-program-cmd-before-env): New variable.
12034         (built-program-cmd-after-env): Likewise.
12035         (built-program-cmd): Define in terms of new variables.
12036         (test-program-prefix-before-env): New variable.
12037         (test-program-prefix-after-env): Likewise.
12038         (test-program-prefix): Define in terms of new variables.
12039         (test-program-cmd-before-env): New variable.
12040         (test-program-cmd-after-env): Likewise.
12041         (test-program-cmd): Define in terms of new variables.
12042         * Rules (make-test-out): Use $(run-program-env).
12043         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12044         (help): Do not mention environment variables.  Mention
12045         --timeoutfactor option.
12046         (timeoutfactor): New variable.
12047         (blacklist_exports): Remove function.
12048         (exports): Remove variable.
12049         (command): Do not include ${exports}.
12050         * manual/install.texi (Configuring and compiling): Do not mention
12051         test wrappers preserving environment variables.  Mention that last
12052         assignment to a variable must take precedence.
12053         * INSTALL: Regenerated.
12054         * benchtests/Makefile (run-bench): Use $(run-program-env).
12055         * catgets/Makefile ($(objpfx)test1.cat): Use
12056         $(built-program-cmd-before-env), $(run-program-env) and
12057         $(built-program-cmd-after-env).
12058         ($(objpfx)test2.cat): Do not specify environment variables
12059         explicitly.
12060         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12061         $(run-program-env) and $(built-program-cmd-after-env).
12062         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12063         $(run-program-env) and $(test-program-cmd-after-env).
12064         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12065         explicitly.
12066         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12067         run_program_env and test_program_cmd_after_env arguments.
12068         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12069         * elf/tst-pathopt.sh: Use run_program_env argument.
12070         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12071         $(test-wrapper-env) and $(run-program-env).
12072         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12073         run_program_env arguments.
12074         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12075         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12076         $(test-program-prefix-before-env), $(run-program-env) and
12077         $(test-program-prefix-after-env).
12078         ($(objpfx)tst-gettext2.out): Likewise.
12079         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12080         run_program_env and test_program_prefix_after_env arguments.
12081         * intl/tst-gettext2.sh: Likewise.
12082         * intl/tst-gettext4.sh: Do not set environment variables
12083         explicitly.
12084         * intl/tst-gettext6.sh: Likewise.
12085         * intl/tst-translit.sh: Likewise.
12086         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12087         $(test-program-prefix-before-env), $(run-program-env) and
12088         $(test-program-prefix-after-env).
12089         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12090         run_program_env and test_program_prefix_after_env arguments.
12091         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12092         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12093         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12094         explicitly with each use of ${test_wrapper_env}.
12095         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12096         $(test-program-prefix-before-env), $(run-program-env) and
12097         $(test-program-prefix-after-env).
12098         * posix/tst-getconf.sh: Do not set environment variables
12099         explicitly.
12100         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12101         run_program_env and test_program_prefix_after_env arguments.
12102         * stdio-common/tst-printf.sh: Do not set environment variables
12103         explicitly.
12104         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12105         $(test-program-prefix-before-env), $(run-program-env) and
12106         $(test-program-prefix-after-env).
12107         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12108         run_program_env and test_program_prefix_after_env arguments.
12109         Split $test calls into $test_pre and $test.
12110         * timezone/Makefile (build-testdata): Use
12111         $(built-program-cmd-before-env), $(run-program-env) and
12112         $(built-program-cmd-after-env).
12114 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12116         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12117         strlen for non SHARED builds.
12119 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12121         * nptl/allocatestack.c (check_list): Inlined function...
12122         (__reclaim_stacks): ... here.
12124 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12126         [BZ #15698]
12127         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12128         memory overrun.
12130 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12132         * Rules (make-test-out): Include
12133         LOCPATH=$(common-objpfx)localedata in default environment.
12134         * debug/Makefile (tst-chk1-ENV): Remove variable.
12135         (tst-chk2-ENV): Likewise.
12136         (tst-chk3-ENV): Likewise.
12137         (tst-chk4-ENV): Likewise.
12138         (tst-chk5-ENV): Likewise.
12139         (tst-chk6-ENV): Likewise.
12140         (tst-lfschk1-ENV): Likewise.
12141         (tst-lfschk2-ENV): Likewise.
12142         (tst-lfschk3-ENV): Likewise.
12143         (tst-lfschk4-ENV): Likewise.
12144         (tst-lfschk5-ENV): Likewise.
12145         (tst-lfschk6-ENV): Likewise.
12146         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12147         (tst-iconv7-ENV): Likewise.
12148         * intl/Makefile (LOCPATH-ENV): Likewise.
12149         (tst-codeset-ENV): Likewise.
12150         (tst-gettext3-ENV): Likewise.
12151         (tst-gettext5-ENV): Likewise.
12152         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12153         (tst-fopenloc-ENV): Likewise.
12154         (tst-fgetws-ENV): Remove variable.
12155         (tst-ungetwc1-ENV): Likewise.
12156         (tst-ungetwc2-ENV): Likewise.
12157         (bug-ungetwc2-ENV): Likewise.
12158         (tst-swscanf-ENV): Likewise.
12159         (bug-ftell-ENV): Likewise.
12160         (tst-fgetwc-ENV): Likewise.
12161         (tst-fseek-ENV): Likewise.
12162         (tst-ftell-partial-wide-ENV): Likewise.
12163         (tst-ftell-active-handler-ENV): Likewise.
12164         (tst-ftell-append-ENV): Likewise.
12165         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12166         (tst-regexloc-ENV): Likewise.
12167         (bug-regex1-ENV): Likewise.
12168         (tst-regex-ENV): Likewise.
12169         (tst-regex2-ENV): Likewise.
12170         (bug-regex5-ENV): Likewise.
12171         (bug-regex6-ENV): Likewise.
12172         (bug-regex17-ENV): Likewise.
12173         (bug-regex18-ENV): Likewise.
12174         (bug-regex19-ENV): Likewise.
12175         (bug-regex20-ENV): Likewise.
12176         (bug-regex22-ENV): Likewise.
12177         (bug-regex23-ENV): Likewise.
12178         (bug-regex25-ENV): Likewise.
12179         (bug-regex26-ENV): Likewise.
12180         (bug-regex30-ENV): Likewise.
12181         (bug-regex32-ENV): Likewise.
12182         (bug-regex33-ENV): Likewise.
12183         (bug-regex34-ENV): Likewise.
12184         (bug-regex35-ENV): Likewise.
12185         (tst-rxspencer-ENV): Likewise.
12186         (tst-rxspencer-no-utf8-ENV): Likewise.
12187         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12188         (tst-sscanf-ENV): Likewise.
12189         (tst-swprintf-ENV): Likewise.
12190         (tst-swscanf-ENV): Likewise.
12191         (test-vfprintf-ENV): Likewise.
12192         (scanf13-ENV): Likewise.
12193         (bug14-ENV): Likewise.
12194         (tst-grouping-ENV): Likewise.
12195         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12196         (tst-strtod3-ENV): Likewise.
12197         (tst-strtod4-ENV): Likewise.
12198         (tst-strtod5-ENV): Likewise.
12199         (testmb2-ENV): Likewise./
12200         * string/Makefile (tst-strxfrm-ENV): Likewise.
12201         (tst-strxfrm2-ENV): Likewise.
12202         (bug-strcoll1-ENV): Likewise.
12203         (test-strcasecmp-ENV): Likewise.
12204         (test-strncasecmp-ENV): Likewise.
12205         * time/Makefile (tst-strptime-ENV): Likewise.
12206         (tst-ftime_l-ENV): Likewise.
12207         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12208         (tst-mbrtowc-ENV): Likewise.
12209         (tst-wcrtomb-ENV): Likewise.
12210         (tst-mbrtowc2-ENV): Likewise.
12211         (tst-c16c32-1-ENV): Likewise.
12212         (tst-mbsnrtowcs-ENV): Likewise.
12214 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12216         * manual/resource.texi (How to get information about the memory
12217         subsystem?): Fix typo.
12218         Reported by Peon de la Parra Ivan <peon@keba.com>
12220 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12222         [BZ #16882]
12223         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12224         (pthread_spin_lock): Branch out of spin loop to proper location.
12225         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12226         (pthread_spin_lock): Likewise.
12228         * nptl/tst-spin4.c: New test.
12229         * nptl/Makefile (tests): Add tst-spin4.
12231 2014-06-03  Andreas Schwab  <schwab@suse.de>
12233         [BZ #15946]
12234         * resolv/res_send.c (send_dg): Reload file descriptor after
12235         calling reopen.
12237 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12239         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12241 2014-06-03  Richard Henderson  <rth@redhat.com>
12243         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12244         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12245         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12246         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12247         in the SAVE_PID block.
12248         (__libc_vfork): New alias.
12249         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12251         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12252         child in registers, not on the stack.  Remove RESET_PID conditionals.
12253         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12255 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12257         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12259 2014-06-03  Wilco  <wdijkstr@arm.com>
12261         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12262         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12263         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12264         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12265         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12266         Likewise.
12268 2014-06-03  Wilco  <wdijkstr@arm.com>
12270         * sysdeps/aarch64/fpu/math_private.h
12271         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12272         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12273         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12274         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12275         Fix declarations.
12277 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12279         * crypt/crypt-private.h: Include ufc-crypt.h.
12280         (__b64_from_24bit): Declare extern.
12281         * crypt/crypt_util.c(__b64_from_24bit): New function.
12282         (b64t): New static const variable.
12283         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12284         (b64t): Remove variable.
12285         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12286         * crypt/sha256-crypt.c: Include crypt-private.h.
12287         (b64t): Remove variable.
12288         (__sha256_crypt_r): Remove b64_from_24bit and replace
12289         with __b64_from_24bit.
12290         * crypt/sha512-crypt.c: Likewise.
12292 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12294         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12295         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12296         Label the code __libc_vfork rather than __vfork.
12297         [!NOT_IN_libc] (vfork): Define as weak alias.
12298         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12299         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12300         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12302 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12304         * malloc/malloc.c (malloc_info): Fix format specifier for
12305         n_mmaps.
12307 2014-06-02  Wilco  <wdijkstr@arm.com>
12309         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12310         FPCR write.
12312 2014-06-02  Wilco  <wdijkstr@arm.com>
12314         [BZ #17009]
12315         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12316         Rewrite to reduce FPCR/FPSR accesses.
12318 2014-06-01  David S. Miller  <davem@davemloft.net>
12320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12322 2014-05-31  David S. Miller  <davem@davemloft.net>
12324         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12325         to occur in round to nearest mode when |x| >= 2.0
12327 2014-05-30  Richard Henderson  <rth@twiddle.net>
12329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12330         (PSEUDO_RET_NOERRNO): Remove.
12331         (ret): Don't redefine.
12332         (ret_NOERRNO): Define in terms of ret.
12333         (ret_ERRVAL): Likewise.
12335         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12336         use of PSEUDO_RET; perform the error check directly.
12338 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12340         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12341         with __int128_t.
12343 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12345         * malloc/malloc (malloc_info): Fix formatting.
12347 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12348             Roland McGrath  <roland@hack.frob.com>
12350         * malloc/malloc (malloc_info): Also print mmapped statistics.
12352 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12354         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12355         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12357 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12359         * malloc/malloc.c (malloc_info): Inline mi_arena.
12361 2014-05-29  Richard Henderson  <rth@twiddle.net>
12363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12364         Remove comma before expanding ASM_ARGS_##nr.
12365         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12366         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12367         of ASM_ARGS_##nr.
12368         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12369         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12370         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12371         (ASM_ARGS_1): Add leading comma.
12373         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12374         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12375         to __errno_location.
12376         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12377         Remove the expected plt for __errno_location.
12379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12380         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12381         call to __read_tp.
12383         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12384         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12385         it and break it down.
12386         (DOCARGS_0, DOCARGS_1): Do nothing.
12387         (DOCARGS_2): Update to store into the new stack frame.
12388         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12389         (UNDOCARGS_1): Update to restore from the new stack frame.
12390         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12391         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12394         (SINGLE_THREAD_P): New parameter for result regno.
12395         (PSEUDO): Update to match; use cbz instead of beq.
12397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12398         Use ENTRY to define the _nocancel entry point.  Share the syscall
12399         and syscall error check paths with the cancel path.
12400         (PSEUDO_END): New.
12402         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12403         whitespace; tabs before and after asm mnemonics.
12405 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12407         [BZ #15132]
12408         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12409         Call fstat64 or stat64 internally, depending on arguments passed.
12410         Replace stat buffer argument with file descriptor argument.
12411         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12412         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12413         Pass fd to __internal_statvfs instead of calling fstat64.
12414         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12415         Pass fd to __internal_statvfs64 instead of calling fstat64.
12416         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12417         Pass -1 to __internal_statvfs instead of calling stat64.
12418         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12419         Pass -1 to __internal_statvfs64 instead of calling stat64.
12421 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12423         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12424         that was previously under [RESET_PID].
12425         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12427         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12428         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12430 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12432         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12434         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12435         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12437 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12439         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12441 2014-05-27  Andreas Schwab  <schwab@suse.de>
12443         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12444         TLS_INIT_TP macro.
12445         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12446         * elf/rtld.c (init_tls, dl_main): Likewise.
12447         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12448         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12449         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12450         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12451         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12452         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12453         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12454         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12455         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12456         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12457         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12458         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12459         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12460         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12461         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12462         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12463         * sysdeps/generic/tls.h: Update description.
12465 2014-05-27  Will Newton  <will.newton@linaro.org>
12467         [BZ #16990]
12468         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12469         and restore r2 rather than just restoring.
12471 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12473         [BZ #16724]
12474         * libio/tst-ftell-append.c: New test case.
12475         * libio/Makefile (tests): Add test case.
12476         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12477         append mode.
12478         * libio/wfileops.c (do_ftell_wide): Likewise.
12480 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12484         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12485         ...
12486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12488         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12489         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12490         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12491         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12492         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12493         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12495         Moved ...
12496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12498         Moved ...
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12500         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12501         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12502         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12503         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12504         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12505         ...
12506         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12507         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12508         Moved ...
12509         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12510         here.
12511         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12512         ...
12513         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12514         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12515         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12517         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12518         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12520         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12523         merge into ...
12524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12526         ...
12527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12529         ...
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12532         Moved ...
12533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12534         here.
12535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12536         Moved ...
12537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12539         Moved ...
12540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12543         conditional [RESET_PID].
12544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12546         removed.
12547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12548         removed.
12550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12551         <tcb-offsets.h>.
12552         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12553         (__libc_vfork): New strong alias.
12554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12555         removed.
12556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12557         Removed.
12559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12560         <tcb-offsets.h>.
12561         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12562         (__libc_vfork): New strong alias.
12563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12564         removed.
12565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12566         removed.
12568 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
12570         * malloc/malloc.c (mi_arena): New function.
12571         (malloc_info): Remove nested function mi_arena. Call non-nosted
12572         function mi_arena.
12574 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12576         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12577         by insrwi.
12578         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12579         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12580         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12581         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12582         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12583         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12584         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12586 2014-05-26  Andreas Schwab  <schwab@suse.de>
12588         [BZ #16984]
12589         * locale/programs/repertoire.c (repertoire_read): Add slash
12590         between I18NPATH element and file name.
12591         * locale/programs/locfile.c (locfile_read): Likewise.
12593 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12595         * nptl/pthread_mutexattr_settype.c
12596         (__pthread_mutexattr_settype):
12597         Disable lock elision for PTHREAD_MUTEX_NORMAL.
12599 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12601         * nptl/tst-mutex5 (do_test):
12602         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12604 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12606         * benchtests/README: Document 'init' directive.
12607         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12608         BENCH_INIT.
12609         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12610         (parse_file): Recognize 'init' directive.
12612 2014-05-26  Kyle McMartin  <kyle@redhat.com>
12614         [BZ #16796]
12615         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12616         alignment of struct pthread.
12618 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12620         [BZ #16878]
12621         * nscd/netgroupcache.c (addgetnetgrentX): Look for
12622         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12623         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12624         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12626 2014-05-25  Richard Henderson  <rth@twiddle.net>
12628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12629         (SINGLE_THREAD_P_PIC): Remove.
12630         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12631         (SINGLE_THREAD_P_PIC): Remove.
12633         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12634         branch to syscall error ...
12635         (PSEUDO): ... here.
12636         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12637         from __local_syscall_error to .Lsyscall_error.
12638         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12639         (SYSCALL_ERROR): Update label name.
12641         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12642         Do not use DOARGS/UNDOARGS.
12643         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12644         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12645         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12646         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12647         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12650         block comment.
12652         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12653         define if !NOT_IN_libc.
12654         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12655         define with non-default symbol versions.
12657 2014-05-23  Richard Henderson  <rth@twiddle.net>
12659         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12660         (vfork, __vfork): Define via compat_symbol.
12662         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12663         [!HAVE_IFUNC] (vfork_compat): Remove.
12664         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12666 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12668         [BZ #16978]
12669         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12670         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12671         variable.
12673 2014-05-23  Richard Henderson  <rth@twiddle.net>
12675         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12676         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12677         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12678         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12680         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12681         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12682         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12683         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12684         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12685         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12686         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12687         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12688         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12689         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12690         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12691         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12692         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12693         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12694         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12695         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12696         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12697         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12698         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12699         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12700         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12701         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12702         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12703         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12704         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12705         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12706         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12707         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12708         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12709         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12710         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12711         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12712         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12713         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12714         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12715         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12716         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12717         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12718         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12719         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12720         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12721         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12722         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12723         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12724         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12725         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12727         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12729         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12731         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12732         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12733         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12735         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12737         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12738         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12739         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
12740         before exiting on error.
12741         (__libc_vfork): New strong alias.
12742         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12743         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12745         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12746         that was previously under [RESET_PID].
12747         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12749         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12751 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12753         [BZ #16977]
12754         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12755         value when x - 1 is zero.
12756         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12757         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12758         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12759         0.0L for an argument of 1.0L.
12760         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12761         Likewise.
12762         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12763         value when x - 1 is zero.
12764         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12765         * sysdeps/i386/fpu/libm-test-ulps: Update.
12766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12768 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12770         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12771         alphasort and versionsort.
12773 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12775         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12776         macro.
12777         [copysignf]: Likewise.
12779 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12781         * crypt/md5-crypt.c: Fix formatting.
12783 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12785         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12786         (b64_from_24bit): New function.
12788 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12791         libc_hidden_builtin_def to ifunc.
12792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12793         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12795 2014-05-21  Roland McGrath  <roland@hack.frob.com>
12797         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12798         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12800 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
12802         * nscd/Depend (linuxthreads): Remove.
12803         (nptl): Add.
12804         * resolv/Depend (linuxthreads): Remove.
12805         * rt/Depend (linuxthreads): Remove.
12807         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12808         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12809         $(common-objpfx)elf/.
12810         (link-libc-before-gnulib): Likewise.
12811         (elfobjdir): Remove variable.
12812         * Makefile (install): Use $(elf-objpfx) instead of
12813         $(common-objpfx)elf/.
12814         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12815         $(elfobjdir)/.
12816         (link-libc-deps): Likewise.
12817         ($(common-objpfx)libc.so): Likewise.
12818         ($(common-objpfx)linkobj/libc.so): Likewise.
12819         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12820         instead of $(common-objpfx)elf/.
12821         (symbolic-link-list): Likewise.
12822         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12823         [$(cross-compiling) = no]: Likewise.
12824         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12825         $(elfobjdir)/.
12826         (static-gnulib-arch): Likewise.
12827         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12828         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12829         $(common-objpfx)elf/.
12831 2014-05-21  Richard Henderson  <rth@redhat.com>
12833         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12834         (SINGLE_THREAD_P): Use the correct width load.  Fold
12835         into the ldr offset.
12837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12838         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12840 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12842         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12843         (libgcc_s_resume): Use __attribute_used__.
12844         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12845         Likewise.
12847 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12849         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12850         optimization when used with float constants.
12852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12854 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12856         [BZ #16915]
12857         * locale/nl_langinfo_l.c: Make direct reference to every
12858         _nl_current_CATEGORY symbol.
12859         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12860         (tests-static): Add tst-langinfo-static.
12861         (tests-special): Add tst-langinfo-static.out.
12862         ($(objpfx)tst-langinfo.out): Redirect output.
12863         ($(objpfx)tst-langinfo-static.out): New.
12864         * localedata/tst-langinfo.sh: Send output to stdout.
12865         * localedata/tst-langinfo-static.c: New file.
12867         [BZ #16965]
12868         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12869         when the shift amount is modulo the limb size.
12871 2014-05-20  Richard Henderson  <rth@redhat.com>
12873         [BZ #16967]
12874         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12875         Change type of sa_flags from unsigned int to int.
12877         [BZ #16966]
12878         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12880         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12882 2014-05-20  Will Newton  <will.newton@linaro.org>
12884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12885         Test the return value of the system call in the nocancel case.
12887 2014-05-20  Will Newton  <will.newton@linaro.org>
12888             Yvan Roux  <yvan.roux@linaro.org>
12890         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12891         #include of asm/ptrace.h.
12892         (PTRACE_GET_THREAD_AREA): Remove #undef.
12893         (PTRACE_GETHBPREGS): Likewise.
12894         (PTRACE_SETHBPREGS): Likewise.
12895         (struct user_regs_struct): New structure.
12896         (struct user_fpsimd_struct): New structure.
12897         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12898         #include of asm/ptrace.h and second #include of sys/user.h.
12899         (PTRACE_GET_THREAD_AREA): Remove #undef.
12900         (PTRACE_GETHBPREGS): Likewise.
12901         (PTRACE_SETHBPREGS): Likewise.
12902         (ELF_NGREG): Use new struct user_regs_struct.
12903         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12905 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12907         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12910 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12912         [BZ #16958]
12913         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12914         membar to avoid block loads/stores to overlap previous stores.
12916 2014-05-17  Richard Henderson  <rth@redhat.com>
12918         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12919         Create the __##syscall_name##_nocancel entry point.
12920         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12921         Remove; let the sysdep-cancel.h code create it.
12923 2014-05-17  David S. Miller  <davem@davemloft.net>
12925         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12926         Protect with __USE_GNU.
12927         (TIOCSET_TEMPT): Likewise.
12928         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12929         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12930         these are already provided in bits/ioctl-types.h
12932 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12934         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12935         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12937         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12938         Use wait4 regardless of [__NR_waitpid].
12940 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12942         PR libgcc/60166
12943         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12944         (_FP_NANSIGN_Q): Set the quiet bit.
12946 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12948         * benchtests/Makefile
12949         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12950         not $(common-objpfx)math/libm.so.
12951         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12952         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12953         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12954         $(common-objpfx)dlfcn/libdl.so.
12955         ($(objpfx)tst-audit8): Depend on $(libm), not
12956         $(common-objpfx)math/libm.so.
12957         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12958         not $(common-objpfx)dlfcn/libdl.so.
12959         * math/Makefile
12960         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12961         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12962         [$(build-shared) = yes].
12963         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12964         $(common-objpfx)nptl/libpthread.so.
12965         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12966         $(common-objpfx)math/libm.so$(libm.so-version) or
12967         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12968         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12969         $(common-objpfx)dlfcn/libdl.so.
12970         * setjmp/Makefile (link-libm): Remove variable.
12971         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12972         * stdio-common/Makefile (link-libm): Remove variable.
12973         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12974         * stdlib/Makefile (link-libm): Remove variable.
12975         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12976         ($(objpfx)tst-strtod-round): Likewise.
12977         ($(objpfx)tst-tininess): Likewise.
12978         ($(objpfx)tst-strtod-underflow): Likewise.
12979         ($(objpfx)tst-strtod6): Likewise.
12980         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12981         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12982         $(common-objpfx)dlfcn/libdl.so.
12984 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12986         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12987         BSD terminal modes definitions.
12989 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12991         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12992         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12994         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12995         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12996         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12997         Don't do #include_next.
12998         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12999         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13000         Don't do #include_next.
13001         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13002         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13003         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13004         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13006 2014-05-16  Allan McRae  <allan@archlinux.org>
13008         * po/sv.po: Update Swedish translation from translation project.
13010         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13011         in sed expression.
13013 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13015         [BZ #16917]
13016         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13017         errno if the TIOCGPTN ioctl fails with an error different than
13018         EINVAL.
13019         * login/tst-ptsname.c: New file.
13020         * login/Makefile (tests): Add tst-ptsname.
13022         [BZ #16943]
13023         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13024         and prlimit64.
13026 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13028         [BZ #16849]
13029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13030         herrno to return EAI_AGAIN.
13032 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13034         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13035         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13036         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13037         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13038         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13039         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13040         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13041         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13042         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13043         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13044         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13045         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13046         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13047         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13048         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13049         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13050         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13051         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13052         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13053         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13054         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13055         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13056         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13057         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13058         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13059         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13060         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13061         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13062         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13063         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13065         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13067         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13069         Moved ...
13070         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13072         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13074         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13076         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13078         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13080         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13082         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13084         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13086         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13088         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13090         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13092         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13094         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13096         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13098         Moved ...
13099         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13101         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13103         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13105         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13107         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13111         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13113         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13115         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13117         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13119         Moved ...
13120         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13122         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13124         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13125         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13126         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13127         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13128         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13129         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13130         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13131         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13132         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13133         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13134         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13135         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13136         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13137         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13138         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13139         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13140         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13141         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13142         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13143         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13144         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13145         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13146         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13147         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13148         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13149         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13150         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13151         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13152         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13153         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13154         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13156         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13157         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13159         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13160         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13161         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13162         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13163         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13165         Moved ...
13166         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13168         Moved ...
13169         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13170         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13171         Moved ...
13172         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13174         Moved ...
13175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13176         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13177         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13178         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13179         Moved ...
13180         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13181         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13182         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13184         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13185         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13186         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13187         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13188         Moved ...
13189         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13191         Moved ...
13192         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13193         ... here.
13194         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13195         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13196         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13197         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13199         Moved ...
13200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13201         ... here.
13202         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13203         Moved ...
13204         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13205         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13206         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13207         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13208         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13210         Moved ...
13211         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13213         Moved ...
13214         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13215         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13216         Moved ...
13217         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13219         Moved ...
13220         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13221         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13222         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13223         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13224         Moved ...
13225         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13226         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13227         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13229         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13230         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13231         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13232         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13233         Moved ...
13234         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13236         Moved ...
13237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13238         ... here.
13239         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13240         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13241         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13242         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13244         Moved ...
13245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13246         ... here.
13247         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13248         Moved ...
13249         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13250         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13251         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13252         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13253         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13254         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13255         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13256         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13257         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13259         Moved ...
13260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13261         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13262         Moved ...
13263         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13264         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13265         Moved ...
13266         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13267         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13268         Moved ...
13269         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13270         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13271         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13272         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13273         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13274         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13275         Moved ...
13276         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13277         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13278         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13280         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13281         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13282         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13283         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13284         Moved ...
13285         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13286         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13287         Moved ...
13288         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13289         ... here.
13290         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13291         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13292         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13293         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13295         Moved ...
13296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13297         ... here.
13298         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13299         Moved ...
13300         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13301         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13302         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13303         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13304         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13305         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13306         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13307         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13308         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13309         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13310         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13312         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13313         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13315         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13316         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13318         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13319         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13320         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13321         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13322         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13323         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13324         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13325         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13326         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13327         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13328         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13329         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13331         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13332         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13334         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13336         Moved ...
13337         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13341         Moved ...
13342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13346         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13347         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13348         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13350         Moved ...
13351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13353         Moved ...
13354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13358         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13359         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13360         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13361         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13362         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13363         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13364         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13365         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13366         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13367         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13368         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13369         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13370         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13372         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13373         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13374         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13375         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13376         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13378         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13379         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13380         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13381         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13382         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13383         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13384         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13385         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13386         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13387         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13392         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13393         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13394         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13395         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13396         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13397         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13398         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13399         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13400         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13401         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13402         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13403         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13404         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13405         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13407         Update #include.
13408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13409         Likewise.
13410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13411         Likewise.
13412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13413         Likewise.
13414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13415         Likewise.
13416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13417         Likewise.
13418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13419         Likewise.
13420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13421         Likewise.
13422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13423         Likewise.
13424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13425         Likewise.
13426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13431         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13436         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13437         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
13440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
13442         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13443         that was previously under [RESET_PID].
13444         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13445         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13446         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13448         * sysdeps/i386/nptl/Implies: New file.
13449         * sysdeps/x86_64/nptl/Implies: New file.
13450         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13451         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13452         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13453         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13455         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13456         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13457         (__libc_vfork): New strong alias.
13458         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13459         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13461         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13462         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13463         (__libc_vfork): New strong alias.
13464         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13465         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13467         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13468         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13469         (__libc_vfork): New strong alias.
13470         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13471         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13472         * nptl/pt-vfork.c: New file.
13473         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13474         (libpthread: GLIBC_2.20): New version set (empty).
13476 2014-05-14  Will Newton  <will.newton@linaro.org>
13478         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13479         rather than #if.
13481 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13483         [BZ #16564]
13484         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13485         arguments with exponent 65 or above.
13486         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13487         arguments 0x1p113L or above.
13488         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13489         to arguments 0x1p107L or above.
13490         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13491         positive arguments with exponent 65 or above.
13492         * math/auto-libm-test-in: Add more tests of log1p.
13493         * math/auto-libm-test-out: Regenerated.
13495         [BZ #16928]
13496         * math/s_cacos.c (__cacos): Ensure zero real part of result from
13497         non-finite arguments is +0.
13498         * math/s_cacosf.c (__cacosf): Likewise.
13499         * math/s_cacosl.c (__cacosl): Likewise.
13500         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13501         * sysdeps/i386/fpu/libm-test-ulps: Update.
13502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13504         [BZ #16927]
13505         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13506         value.
13507         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13508         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13509         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13510         for explicit high bit of mantissa when testing for argument equal
13511         to 1.
13512         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13513         * sysdeps/i386/fpu/libm-test-ulps: Update.
13514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13516         [BZ #16516]
13517         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13518         (__erf): Scale by 16 instead of 8 in potentially underflowing
13519         case.  Ensure exception if result actually underflows.
13520         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13521         (__erff): Scale by 16 instead of 8 in potentially underflowing
13522         case.  Ensure exception if result actually underflows.
13523         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13524         (efx8): Remove variable.
13525         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13526         case.  Ensure exception if result actually underflows.
13527         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13528         (efx8): Remove variable.
13529         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13530         case.  Ensure exception if result actually underflows.
13531         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13532         (efx8): Remove variable.
13533         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13534         case.  Ensure exception if result actually underflows.
13535         * math/auto-libm-test-in: Add more tests of erf.
13536         * math/auto-libm-test-out: Regenerated.
13538 2014-05-14  Andreas Schwab  <schwab@suse.de>
13540         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13541         Remove code conditionalized on USE___THREAD.
13543         * config.h.in (HAVE_PT_CHOWN): Define as 0.
13544         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13545         not definedness.
13547 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13549         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13550         Define unconditionally.
13551         (__ASSUME_O_CLOEXEC): Likewise.
13552         (__ASSUME_SOCK_CLOEXEC): Likewise.
13553         (__ASSUME_IN_NONBLOCK): Likewise.
13554         (__ASSUME_PIPE2): Likewise.
13555         (__ASSUME_EVENTFD2): Likewise.
13556         (__ASSUME_SIGNALFD4): Likewise.
13557         (__ASSUME_DUP3): Likewise.
13558         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13559         (__ASSUME_DUP3): Do not define.
13560         (__ASSUME_EVENTFD2): Likewise.
13561         (__ASSUME_IN_NONBLOCK): Likewise.
13562         (__ASSUME_O_CLOEXEC): Likewise.
13563         (__ASSUME_PIPE2): Likewise.
13564         (__ASSUME_SIGNALFD4): Likewise.
13565         (__ASSUME_SOCK_CLOEXEC): Likewise.
13566         (__ASSUME_UTIMES): Undefine.
13567         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13568         (__ASSUME_UTIMES): Do not define.
13569         (__ASSUME_O_CLOEXEC): Likewise.
13570         (__ASSUME_SOCK_CLOEXEC): Likewise.
13571         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13572         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13573         0x020621].
13574         (__ASSUME_PIPE2): Likewise.
13575         (__ASSUME_EVENTFD2): Likewise.
13576         (__ASSUME_SIGNALFD4): Likewise.
13577         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13578         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13579         Do not define.
13580         (__ASSUME_EVENTFD2): Likewise.
13581         (__ASSUME_SIGNALFD4): Likewise.
13582         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13583         (__ASSUME_32BITUIDS): Likewise.
13584         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13585         (__ASSUME_IPC64): Likewise.
13586         (__ASSUME_ST_INO_64_BIT): Likewise.
13587         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13588         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13589         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13590         (__ASSUME_UTIMES): Do not define.
13591         (__ASSUME_PSELECT): Likewise.
13592         (__ASSUME_PPOLL): Likewise.
13593         (__ASSUME_O_CLOEXEC): Likewise.
13594         (__ASSUME_SOCK_CLOEXEC): Likewise.
13595         (__ASSUME_IN_NONBLOCK): Likewise.
13596         (__ASSUME_PIPE2): Likewise.
13597         (__ASSUME_EVENTFD2): Likewise.
13598         (__ASSUME_SIGNALFD4): Likewise.
13599         (__ASSUME_DUP3): Likewise.
13600         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13601         (__ASSUME_UTIMES): Likewise.
13602         (__ASSUME_O_CLOEXEC): Likewise.
13603         (__ASSUME_SOCK_CLOEXEC): Likewise.
13604         (__ASSUME_IN_NONBLOCK): Likewise.
13605         (__ASSUME_PIPE2): Likewise.
13606         (__ASSUME_EVENTFD2): Likewise.
13607         (__ASSUME_SIGNALFD4): Likewise.
13608         (__ASSUME_DUP3): Likewise.
13609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13610         (__ASSUME_UTIMES): Likewise.
13611         (__ASSUME_O_CLOEXEC): Likewise.
13612         (__ASSUME_SOCK_CLOEXEC): Likewise.
13613         (__ASSUME_IN_NONBLOCK): Likewise.
13614         (__ASSUME_PIPE2): Likewise.
13615         (__ASSUME_EVENTFD2): Likewise.
13616         (__ASSUME_SIGNALFD4): Likewise.
13617         (__ASSUME_DUP3): Likewise.
13618         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13619         Likewise.
13620         (__ASSUME_UTIMES): Likewise.
13621         (__ASSUME_EVENTFD2): Likewise.
13622         (__ASSUME_SIGNALFD4): Likewise.
13623         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13624         (__ASSUME_O_CLOEXEC): Likewise.
13625         (__ASSUME_SOCK_CLOEXEC): Likewise.
13626         (__ASSUME_IN_NONBLOCK): Likewise.
13627         (__ASSUME_PIPE2): Likewise.
13628         (__ASSUME_EVENTFD2): Likewise.
13629         (__ASSUME_SIGNALFD4): Likewise.
13630         (__ASSUME_DUP3): Likewise.
13631         (__ASSUME_UTIMES): Undefine.
13633         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13634         feclearexcept.  Remove symbol versioning code.
13635         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
13636         symbol versioning code.
13637         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
13638         symbol versioning code.
13639         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13640         feupdateenv.  Remove symbol versioning code.
13641         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13642         fegetexceptflag.  Remove symbol versioning code.
13643         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13644         fesetexceptflag.  Remove symbol versioning code.
13645         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13646         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
13647         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13648         (__posix_fadvise64_l32): Remove prototype.
13649         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13650         code.
13652 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13654         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13655         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13656         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13657         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13659 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
13661         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13662         current working directory
13664 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13666         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13667         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13668         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13669         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13670         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13671         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13672         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13673         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13674         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13675         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13676         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13677         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13678         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13679         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13680         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13681         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13682         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13683         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13684         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13685         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13686         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13687         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13688         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13689         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13690         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13691         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13692         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13693         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13694         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13695         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13696         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13697         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13698         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13699         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13700         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13701         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13702         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13703         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13704         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13705         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13706         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13707         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13709         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13710         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13712         * sysdeps/unix/sysv/linux/arm/Makefile
13713         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13714         Add rt-aeabi_unwind_cpp_pr1.
13715         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13716         Add nptl-aeabi_unwind_cpp_pr1.
13717         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13718         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13719         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13720         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13721         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13722         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13724         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13725         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13726         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13727         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13729         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13730         Deconditionalize the code that was previously under [RESET_PID].
13731         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13733         * sysdeps/generic/exit-thread.h: New file.
13734         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13735         * include/unistd.h (__exit_thread): Remove declaration.
13736         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13737         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13738         * csu/libc-start.c: Include <exit-thread.h>.
13739         (LIBC_START_MAIN): Pass no argument to __exit_thread.
13740         * nptl/pthread_create.c: Include <exit-thread.h>.
13741         (start_thread): Call __exit_thread in place of __exit_thread_inline.
13742         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13743         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13744         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13745         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13746         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13747         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13748         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13749         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13750         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13751         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13752         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13753         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13754         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13755         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13756         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13757         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13759 2014-05-13  Andreas Schwab  <schwab@suse.de>
13761         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13763 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
13765         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13766         (__ASSUME_UTIMES): Do not condition on kernel version.
13767         (__ASSUME_PSELECT): Define unconditionally.
13768         (__ASSUME_PPOLL): Likewise.
13769         (__ASSUME_ATFCTS): Likewise.
13770         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13771         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13772         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13773         (__ASSUME_UTIMENSAT): Define unconditionally.
13774         (__ASSUME_PRIVATE_FUTEX): Likewise.
13775         (__ASSUME_FALLOCATE): Likewise.
13776         (__ASSUME_O_CLOEXEC): Likewise.
13777         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13778         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13779         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13780         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13781         (__ASSUME_IN_NONBLOCK): Likewise.
13782         (__ASSUME_PIPE2): Likewise.
13783         (__ASSUME_EVENTFD2): Likewise.
13784         (__ASSUME_SIGNALFD4): Likewise.
13785         (__ASSUME_DUP3): Likewise.
13786         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13787         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13788         (__ASSUME_AT_RANDOM): Likewise.
13789         (__ASSUME_PREADV): Likewise.
13790         (__ASSUME_PWRITEV): Likewise.
13791         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13792         (__ASSUME_F_GETOWN_EX): Define unconditionally.
13793         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13794         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13795         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13796         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13797         (__ASSUME_O_CLOEXEC): Define unconditionally.
13798         (__ASSUME_PSELECT): Do not undefine conditionally.
13799         (__ASSUME_PPOLL): Likewise.
13800         (__ASSUME_ATFCTS): Likewise.
13801         (__ASSUME_SET_ROBUST_LIST): Likewise.
13802         (__ASSUME_UTIMENSAT): Likewise.
13803         (__ASSUME_FDATASYNC): Define unconditionally.
13804         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13805         (__ASSUME_SIGFRAME_V2): Likewise.
13806         )__ASSUME_EVENTFD2): Likewise.
13807         (__ASSUME_SIGNALFD4): Likewise.
13808         (__ASSUME_PSELECT): Do not undefine conditionally.
13809         (__ASSUME_PPOLL): Likewise.
13810         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13811         (__ASSUME_PSELECT): Define unconditionally.
13812         (__ASSUME_PPOLL): Likewise.
13813         (__ASSUME_O_CLOEXEC): Likewise.
13814         (__ASSUME_SOCK_CLOEXEC): Likewise.
13815         (__ASSUME_IN_NONBLOCK): Likewise.
13816         (__ASSUME_PIPE2): Likewise.
13817         (__ASSUME_EVENTFD2): Likewise.
13818         (__ASSUME_SIGNALFD4): Likewise.
13819         (__ASSUME_DUP3): Likewise.
13820         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13821         (__ASSUME_O_CLOEXEC): Likewise.
13822         (__ASSUME_SOCK_CLOEXEC): Likewise.
13823         (__ASSUME_IN_NONBLOCK): Likewise.
13824         (__ASSUME_PIPE2): Likewise.
13825         (__ASSUME_EVENTFD2): Likewise.
13826         (__ASSUME_SIGNALFD4): Likewise.
13827         (__ASSUME_DUP3): Likewise.
13828         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13829         (__ASSUME_EVENTFD2): Likewise.
13830         (__ASSUME_SIGNALFD4): Likewise.
13831         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13833 2014-05-12  Andreas Schwab  <schwab@suse.de>
13835         [BZ #16932]
13836         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13837         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13838         than maximum RPC packet size.
13839         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13840         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13841         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13842         (_nss_nis_getservbyport_r): Likewise.
13844 2014-05-12  Will Newton  <will.newton@linaro.org>
13846         * malloc/Makefile (tests): Add tst-mallopt.
13847         * malloc/tst-mallopt.c: New file.
13849 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13851         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13852         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13854 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13856         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13857         (tst-tlsmod6.so): Likewise.
13859 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13861         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13863 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13865         [BZ #16064]
13866         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13867         and <dl-procinfo.h>.
13868         (__fegetenv): Save SSE state in envp->__eip if supported.
13869         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13870         envp->__eip if supported.
13871         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13872         and <dl-procinfo.h>.
13873         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13874         __data_offset and __data_selector in environment to 0.  Set SSE
13875         state if supported.
13876         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13877         test-fenv-sse.
13878         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13879         -mfpmath=sse.
13880         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13882 2014-05-09  Will Newton  <will.newton@linaro.org>
13884         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13885         and libc_relro_required for ARM.
13886         * sysdeps/arm/preconfigure: Regenerate.
13888 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13889             Stefan Liebler  <stli@linux.vnet.ibm.com>
13891         * config.make.in (enable-lock-elision): New Makefile variable.
13892         * configure.ac: Likewise.
13893         * configure: Regenerate.
13894         * sysdeps/s390/configure.ac:
13895         Add check for gcc transactions support.
13896         * sysdeps/s390/configure: Regenerate.
13897         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13898         Build elision files if enabled.
13899         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13900         Add lock elision support for s390.
13901         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13902         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13903         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13904         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13905         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13906         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13908         Likewise.
13909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13910         Likewise.
13911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13912         Likewise.
13913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13914         Likewise.
13915         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13916         (__lll_timedlock_elision, __lll_lock_elision)
13917         (__lll_unlock_elision, __lll_trylock_elision)
13918         (lll_timedlock_elision, lll_lock_elision)
13919         (lll_unlock_elision, lll_trylock_elision): Add.
13920         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13921         (pthread_mutex_t): Add lock elision support for s390.
13923 2014-05-14  Wilco  <wdijkstr@arm.com>
13925         * sysdeps/arm/fclrexcpt.c: Cleanup.
13926         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13927         * sysdeps/arm/feenablxcpt.c: Cleanup.
13928         * sysdeps/arm/fegetenv.c: Cleanup.
13929         * sysdeps/arm/fegetexcept.c: Cleanup.
13930         * sysdeps/arm/fegetround.c: Cleanup.
13931         * sysdeps/arm/feholdexcpt.c: Cleanup.
13932         * sysdeps/arm/fesetenv.c: Cleanup.
13933         * sysdeps/arm/fesetround.c: Cleanup.
13934         * sysdeps/arm/feupdateenv.c: Cleanup.
13935         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13936         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13937         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13938         * sysdeps/arm/ftestexcept.c: Cleanup.
13939         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13940         * sysdeps/arm/setfpucw.c: Cleanup.
13942 2014-05-09  Will Newton  <will.newton@linaro.org>
13944         * sysdeps/arm/armv7/strcmp.S: New file.
13945         * NEWS: Mention addition of ARMv7 optimized strcmp.
13947 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13949         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13950         look for %.ac rather than %.in.
13952         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13953         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13954         * sysdeps/mach/hurd/configure: Regenerated.
13955         * sysdeps/unix/sysv/linux/configure: Regenerated.
13957         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13959 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13961         [BZ# 16922]
13962         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13963         (LONG_SUB): Ditto.
13964         (PTR_SUB): Ditto.
13966 2014-05-07  Andreas Schwab  <schwab@suse.de>
13968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13969         when skipping over non-matching result from nscd.
13971 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13973         [BZ #16876]
13974         * nptl/sockperf.c (client): Check socket return value.
13976         [BZ #16877]
13977         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13978         nscd security class.
13980 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13982         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13983         * sysdeps/arm/unwind.h: ... here.
13985 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13987         [BZ# 16916]
13988         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13989         Define.
13991 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13993         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13994         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13995         multiarch strncpy for PPC64.
13996         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13997         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13999         multiarch optimizations.
14000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14001         (__libc_ifunc_impl_list): Likewise.
14002         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14004         multiarch stpncpy for PPC64.
14005         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14006         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14008 2014-05-06  Andreas Schwab  <schwab@suse.de>
14010         [BZ #16912]
14011         * gmon/mcount.c (_MCOUNT_DECL): Use
14012         atomic_compare_and_exchange_bool_acq instead of
14013         catomic_compare_and_exchange_bool_acq.
14015 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14017         * elf/Makefile (others, install-bin): Remove pldd.
14018         (pldd-modules): Variable removed.
14019         ($(objpfx)pldd): Target removed.
14020         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14021         (others, install-bin): Append pldd here.
14022         ($(objpfx)pldd): New target.
14024         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14025         to 0, so the first #if test emitted later doesn't see it undefined.
14026         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14027         * sysdeps/gnu/errlist.c: Regenerated.
14029 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14031         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14032         [libc_hidden_builtin_def]: Define to empty value.
14033         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14034         [libc_hidden_builtin_def]: Likewise.
14035         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14036         [libc_hidden_builtin_def]: Likewise.
14037         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14038         [libc_hidden_builtin_def]: Likewise.
14039         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14040         __redirect_memcpy and define ifunc as default hidden symbol.
14041         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14042         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14044 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14046         * locale/iso-4217.def: Reintroduce XDR currency.
14048 2014-05-04  Allan McRae  <allan@archlinux.org>
14050         * po/eo.po: Update Esperanto translation from translation project.
14052 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14054         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14055         and FEATURE_INDEX_MAX to 1.
14056         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14058 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14060         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14061         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14062         * iconvdata/big5.c (ONE_DIRECTION): Define.
14063         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14064         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14065         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14066         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14067         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14068         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14069         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14070         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14071         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14072         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14073         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14074         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14075         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14076         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14077         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14078         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14079         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14080         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14081         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14082         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14083         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14084         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14085         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14086         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14087         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14088         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14089         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14090         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14091         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14092         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14093         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14094         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14095         * iconvdata/johab.c (ONE_DIRECTION): Define.
14096         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14097         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14098         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14099         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14100         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14101         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14102         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14103         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14104         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14105         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14107 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14109         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14110         (_IO_JUMPS_OFFSET): Define to 0.
14112         * nptl/sysdeps/pthread/bits/libc-lock.h
14113         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14114         (__libc_lock_define_initialized_recursive): Always define using
14115         initializer.  Modern compilers treat uninitialized (implicit zero) and
14116         explicit zero initializers the same (i.e. put the datum in bss).
14118 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14120         * nscd/nscd-client.h: Include <string.h>.
14122 2014-05-01  David S. Miller  <davem@davemloft.net>
14124         [BZ #16885]
14125         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14126         multiple zero bytes exist at the end of a string.
14127         Reported by Aurelien Jarno <aurelien@aurel32.net>
14129         * string/test-strcmp.c (check): Add explicit test for situations where
14130         there are multiple zero bytes after the first.
14132 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14134         [BZ #16890]
14135         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14136         when compiling wprintf.
14137         * stdio-common/tstdiomisc.c (t3): New function.
14138         (main): Call it.
14140 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14142         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14143         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14144         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14145         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14147 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14149         * stdlib/longlong.h: Updated from GCC.
14151 2014-05-01  Will Newton  <will.newton@linaro.org>
14152             Bernard Ogden  <bernie.ogden@linaro.org>
14154         * NEWS: Update fixed bug list.
14156         [BZ #15119]
14157         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14159 2014-04-30  David S. Miller  <davem@davemloft.net>
14161         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14162         (libc_feholdexcept_setround_sparc_ctx): New function.
14163         (libc_fesetenv_sparc_ctx): Likewise.
14164         (libc_feupdateenv_sparc_ctx): Likewise.
14165         (libc_feholdsetround_sparc_ctx): Likewise.
14166         (libc_feholdexcept_setround_ctx): Define.
14167         (libc_feholdexcept_setroundf_ctx): Likewise.
14168         (libc_feholdexcept_setroundl_ctx): Likewise.
14169         (libc_fesetenv_ctx): Likewise.
14170         (libc_fesetenvf_ctx): Likewise.
14171         (libc_fesetenvl_ctx): Likewise.
14172         (libc_feupdateenv_ctx): Likewise.
14173         (libc_feupdateenvf_ctx): Likewise.
14174         (libc_feupdateenvl_ctx): Likewise.
14175         (libc_feresetround_ctx): Likewise.
14176         (libc_feresetroundf_ctx): Likewise.
14177         (libc_feresetroundl_ctx): Likewise.
14178         (libc_feholdsetround_ctx): Likewise.
14179         (libc_feholdsetroundf_ctx): Likewise.
14180         (libc_feholdsetroundl_ctx): Likewise.
14182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14183         with __USE_GNU instead of XOPEN cpp guards.
14185         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14186         0.
14188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14189         with XOPEN cpp guards.
14191 2014-04-30  Julian Brown  <julian@codesourcery.com>
14193         [BZ #16888]
14194         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14195         handling.
14197 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14199         [BZ #9894]
14200         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14201         Change to 2.6.32.
14202         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14203         * sysdeps/unix/sysv/linux/configure: Regenerated.
14204         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14205         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14206         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14207         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14208         * README: Update reference to required Linux kernel version.
14209         * manual/install.texi (Linux): Update reference to required Linux
14210         kernel headers version.
14211         * INSTALL: Regenerated.
14213         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14214         header inclusion.
14215         [POSIX] (limits.h): Likewise.
14216         [POSIX] (math.h): Likewise.
14217         [POSIX] (sys/wait.h): Likewise.
14218         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14219         function.
14220         [POSIX] (stddef.h): Do not allow header inclusion.
14222 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14224         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14226 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14228         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14229         Return immediately after lll_futex_wake.
14231 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14233         [BZ #16791]
14234         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14235         structure.
14236         (datahead_init_pos): Call datahead_init_common early.
14237         (datahead_init_neg): Likewise.
14239         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14240         datahead_init_neg): New functions.
14241         * nscd/aicache.c (addhstaiX): Use them.
14242         * nscd/grpcache.c (cache_addgr): Likewise.
14243         * nscd/hstcache.c (cache_addhst): Likewise.
14244         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14245         * nscd/netgroupcache.c (do_notfound): Likewise.
14246         (addgetnetgrentX): Likewise.
14247         (addinnetgrX): Likewise.
14248         * nscd/pwdcache.c (cache_addpw): Likewise.
14249         * nscd/servicescache.c (cache_addserv): Likewise.
14251 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14252             Atsushi Onoe  <atsushi@onoe.org>
14254         [BZ #14308]
14255         [BZ #12994]
14256         [BZ #13651]
14257         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14258         one response is valid.
14259         * resolv/res_send.c (send_dg): Check for validity of other
14260         response if the current response is a referral.
14262 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14264         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14266 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14268         [BZ #16823]
14269         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14270         Always divide by positive zero when computing -Inf result.
14271         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14272         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14274 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14276         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14277         FPSCR if value do not change.
14278         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14279         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14280         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14281         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14282         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14283         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14284         function.
14286 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14288         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14289         * sysdeps/unix/sysv/linux/hppa: Move directory from
14290         ports/systeps/unix/sysv/linux/hppa.
14291         * README: Update listing for hppa-*-linux-gnu.
14293 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14295         [BZ #16754]
14296         * manual/stdio.texi (Hook functions): Fix types of stream hook
14297         functions.
14298         [BZ #16854]
14299         * socket/sys/socket.h: Fix typo in comment.
14301 2014-04-28  Wilco  <wdijkstr@arm.com>
14303         * sysdeps/arm/fenv_private.h: New file.
14304         * sysdeps/arm/math_private.h: New file.
14305         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14307 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14309         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14310         with __int128_t.
14311         (La_x86_64_retval): Likewise.
14313 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14315         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14316         fpsr if value didn't change.
14317         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14318         to fpcr if value didn't change.
14319         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14320         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14321         fpsr or fpcr if value didn't change.
14322         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14323         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14324         fpcr if value didn't change.
14325         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14326         to fpsr if value didn't change.
14328 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14330         * nptl/tst-sem3.c: Use test-skeleton.c
14331         (main): Rename to do_test.  Use return instead of
14332         exit.
14333         * nptl/tst-sem4.c: Use test-skeleton.c
14334         (main): Rename to do_test.
14336 2014-04-22  David S. Miller  <davem@davemloft.net>
14338         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14339         (struct sigaction): New struct member __glibc_reserved0, change
14340         type of sa_flags to int.
14342 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14344         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14345         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14347 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14349         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14350         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14352 2014-04-22  Will Newton  <will.newton@linaro.org>
14353             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14355         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14356         (__longjmp): Add longjmp and longjmp_target SystemTap
14357         probes.
14358         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14359         (__sigsetjmp): Add setjmp SystemTap probe.
14361 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14363         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14364         match manual order.
14366 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14368         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14370         * sysdeps/powerpc/fpu/fenv_private.h
14371         (libc_feholdexcept_setroundl_ctx): Define to
14372         libc_feholdexcept_setround_ppc_ctx.
14373         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14374         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14375         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14376         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14378 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14380         * sysdeps/aarch64/math-tests.h: New file.
14382 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14384         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14385         New.
14386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14387         Check and set bit_AVX2_Usable.
14388         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14389         macro.
14390         (bit_AVX2): Likewise.
14391         (index_AVX2_Usable): Likewise.
14392         (CPUID_AVX2): Likewise.
14393         (HAS_AVX2): Likewise.
14395 2014-04-17  Will Newton  <will.newton@linaro.org>
14397         * manual/setjmp.texi (System V contexts): Add note that
14398         calling setcontext on a context created by a call to a
14399         signal handler is undefined.  Update text to note that
14400         setcontext from a signal handler is possible but not
14401         recommended.
14403         [BZ #16629]
14404         * stdlib/tst-setcontext.c: Include signal.h.
14405         (main): Check that the signal stack before and
14406         after swapcontext is the same.
14408         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14409         Re-implement to restore registers in user code and avoid
14410         rt_sigreturn system call.
14412 2014-04-17  Wilco  <wdijkstr@arm.com>
14414         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14415         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14416         * math/test-fenv.c: Skip exception trap tests on targets which only
14417         support non-stop mode.
14419 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14420             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14422         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14423         (libc_feholdsetround_aarch64_ctx)
14424         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14425         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14426         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14427         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14428         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14429         (libc_feresetround_noexl_ctx): Define.
14431 2014-04-16  Richard Henderson  <rth@redhat.com>
14433         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14435         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14436         unwind tables.
14438         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14439         const from the non-libc, non-ldso copy.
14441         * sysdeps/alpha/libm-test-ulps: Regenerate.
14443 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
14444             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14446         * sysdeps/aarch64/fpu/math_private.h: New file.
14448 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14450         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14452 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
14454         [BZ #16275]
14455         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14456         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14458         Intel MPX bound registers before _dl_profile_fixup.
14459         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14460         registers after _dl_profile_fixup.  Save and restore bound
14461         registers bnd0/bnd1 when calling _dl_call_pltexit.
14462         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14463         (LR_BND_OFFSET): Likewise.
14464         (LRV_BND0_OFFSET): Likewise.
14465         (LRV_BND1_OFFSET): Likewise.
14467 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14469         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14470         to...
14471         * sysdeps/mach/hurd/i386/tls.h: ... here.
14472         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14473         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14474         fields.
14476 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14478         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14480 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14482         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14484 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14486         [BZ #14770]
14487         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14488         * sysdeps/s390/configure: Regenerate.
14490         [BZ #16824]
14491         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14492         Set round-to-nearest internally to reduce error accumulation.
14494 2014-04-16  Alan Modra  <amodra@gmail.com>
14496         [BZ #16740]
14497         [BZ #16619]
14498         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14499         * math/libm-test.inc (frexp_test_data): Add tests.
14500         * NEWS: Update fixed bug list.
14502 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14504         * benchtests/Makefile: Depend on libraries in build directory.
14505         (bench-math): Separate out math tests.
14506         (bench-pthread): Separate out pthread tests.
14507         (bench): Include math and pthread tests.
14509 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
14511         [BZ #16831]
14512         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14513         _dl_debug_initialize.
14515         * configure.ac: Remove SELinux header check.
14516         * configure: Regenerate.
14517         * nscd/selinux.c (perms): Array of const char* to permission names.
14518         (nscd_request_avc_has_perm): Call security_deny_unknown to find
14519         default policy. Call string_to_security_class and string_to_av_perm to
14520         translate strings. Enforce default policy and call avs_has_perm with
14521         results of translated strings.
14523 2014-04-13  David S. Miller  <davem@davemloft.net>
14525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14527 2014-04-12  Allan McRae  <allan@archlinux.org>
14529         [BZ #16838]
14530         * manual/string.texi (Collation Functions): Fix qsort argument
14531         order in example.
14532         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14534 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
14536         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14537         Make the test a no-op if there are no exceptions defined.
14539 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14541         * elf/Makefile (tests): make tst-dlopen-aout conditional on
14542         enable-hardcoded-path-in-tests
14544 2014-04-11  Will Newton  <will.newton@linaro.org>
14546         * benchtests/Makefile (extra-objs): Add json-lib.o.
14547         (bench-func): Tidy up JSON output.
14548         * benchtests/bench-skeleton.c: Include json-lib.h.
14549         (main): Use JSON library functions to do output of
14550         benchmark results.
14551         * benchtests/bench-timing-type.c (main): Output the
14552         timing type simply, leaving formatting to the user.
14553         * benchtests/json-lib.c: New file.
14554         * benchtests/json-lib.h: Likewise.
14556 2014-04-11  Torvald Riegel  <triegel@redhat.com>
14558         [BZ #15215]
14559         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14560         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
14561         memory barriers.  Add comments.
14562         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14563         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14564         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14565         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14566         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14567         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14569 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14571         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14572         * sysdeps/s390/s390-64/configure.ac: ... this ...
14573         * sysdeps/s390/configure.ac: ... to here.
14574         * sysdeps/s390/s390-32/configure: Delete file.
14575         * sysdeps/s390/s390-64/configure: Delete file.
14576         * sysdeps/s390/configure: Regenerate.
14578 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
14580         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14582 2014-04-11  Will Newton  <will.newton@linaro.org>
14584         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14585         to zero if it is not defined elsewhere.  (mtrim): Test
14586         the value of MALLOC_DEBUG with #if rather than #ifdef.
14588 2014-04-10 Torvald Riegel  <triegel@redhat.com>
14590         * benchtests/pthread_once-inputs: New file.
14591         * benchtests/pthread_once-source.c: New file.
14592         * benchtests/README: Update documentation.
14594 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14595             H.J. Lu  <hongjiu.lu@intel.com>
14597         [BZ #16275]
14598         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14599         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14600         * sysdeps/x86_64/configure: Regenerated.
14601         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14602         macro.
14603         (REGISTER_SAVE_RAX): Likewise.
14604         (REGISTER_SAVE_RCX): Likewise.
14605         (REGISTER_SAVE_RDX): Likewise.
14606         (REGISTER_SAVE_RSI): Likewise.
14607         (REGISTER_SAVE_RDI): Likewise.
14608         (REGISTER_SAVE_R8): Likewise.
14609         (REGISTER_SAVE_R9): Likewise.
14610         (REGISTER_SAVE_BND0): Likewise.
14611         (REGISTER_SAVE_BND1): Likewise.
14612         (REGISTER_SAVE_BND2): Likewise.
14613         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
14614         bound registers when calling _dl_fixup.
14616 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14618         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14619         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14620         of its definition.
14621         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14622         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14623         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14624         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14625         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14626         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14627         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14629 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
14631         [BZ #15514]
14632         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14633         pathconf(_PC_NAME_MAX).
14635 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14637         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14638         Remove macro usage.
14639         (__PTHREAD_SPINS): Move definition to ...
14640         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14641         (__PTHREAD_SPINS): ... here.
14642         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14643         (__PTHREAD_SPIN): Likewise.
14644         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14645         (__PTHREAD_SPIN): Likewise.
14646         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14647         (__PTHREAD_SPIN): Likewise.
14648         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14649         (__PTHREAD_SPIN): Likewise.
14650         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14651         (__PTHREAD_SPIN): Likewise.
14652         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14653         (__PTHREAD_SPIN): Likewise.
14654         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14655         (__PTHREAD_SPIN): Likewise.
14656         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14657         (__PTHREAD_SPIN): Likewise.
14658         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14659         (__PTHREAD_SPIN): Likewise.
14660         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14661         (__PTHREAD_SPIN): Likewise.
14662         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14663         (__PTHREAD_SPIN): Likewise.
14664         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14665         (__PTHREAD_SPIN): Likewise.
14667         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14668         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14669         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14670         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14671         imply folder.
14672         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14673         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14674         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14675         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14676         correct imply path.
14677         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14678         strlen symbol for non multi-arch builds.
14679         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14680         missing hidden_def and weak_alias.
14682 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
14684         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14686 2014-04-07  Will Newton  <will.newton@linaro.org>
14688         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14689         and contents.  [!_LIBC] Remove #ifndef and contents.
14690         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
14691         * string/memccpy.c (__memccpy): Use ANSI prototype.
14692         * string/memfrob.c (memfrob): Likewise.
14693         * string/strcoll.c (STRCOLL): Likewise.
14694         * string/strlen.c (strlen): Likewise.
14695         * string/strtok.c (STRTOK): Likewise.
14696         * string/strcat.c: Remove unused #include of memcopy.h.
14697         (strcat): Use ANSI prototype.
14698         * string/strchr.c: Remove unused #include of memcopy.h.
14699         (strchr): Use ANSI prototype.
14700         * string/strcmp.c: Remove unused #include of memcopy.h.
14701         (strcmp): Use ANSI prototype.
14702         * string/strcpy.c: Remove unused #include of memcopy.h.
14703         (strcpy): Use ANSI prototype.
14705 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14707         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14708         * config.make.in (config-extra-cppflags): Set it from
14709         libc_extra_cppflags.
14710         * configure.ac (libc_extra_cflags): Make it accumulate over
14711         configure fragments.
14712         (libc_extra_cppflags): New flag.
14713         * configure. Regenerate.
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14715         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14716         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14719         [BZ #16815]
14720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14721         result for FE_DOWNWARD rounding mode.
14722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14723         Likewise.
14724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14726 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
14728         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14729         in function argument name.
14731 2014-04-03  David Svoboda  <svoboda@cert.org>
14733         [BZ #5666]
14734         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14735         explicitly.
14737 2014-04-03  Roland McGrath  <roland@hack.frob.com>
14739         * elf/dl-unmap-segments.h: New file.
14740         * sysdeps/generic/ldsodefs.h
14741         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14742         * elf/dl-close.c: Include <dl-unmap-segments.h>.
14743         * elf/dl-fptr.c: Likewise.
14744         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14745         * sysdeps/aarch64/tlsdesc.c: Likewise.
14746         * sysdeps/arm/tlsdesc.c: Likewise.
14747         * sysdeps/i386/tlsdesc.c: Likewise.
14748         * sysdeps/tile/dl-runtime.c: Likewise.
14749         * sysdeps/x86_64/tlsdesc.c: Likewise.
14750         * elf/dl-load.h: New file.
14751         * elf/dl-load.c: Include it.
14752         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14753         Macros moved to dl-load.h.
14754         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14755         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14756         Use _dl_unmap_segments in place of __munmap.
14757         Break out segment-mapping loop into ...
14758         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14760 2014-04-03  Will Newton  <will.newton@linaro.org>
14762         * elf/dl-lookup.c (do_lookup_x): Remove comment
14763         referring to nested function and move variable
14764         declarations down to before first use.
14766 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
14768         [BZ #16799]
14769         [BZ #16800]
14770         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14771         with 0 numerator.
14772         * math/s_catanf.c (__catanf): Likewise.
14773         * math/s_catanh.c (__catanh): Likewise.
14774         * math/s_catanhf.c (__catanhf): Likewise.
14775         * math/s_catanhl.c (__catanhl): Likewise.
14776         * math/s_catanl.c (__catanl): Likewise.
14777         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14778         by positive zero when computing -Inf result.
14779         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14780         (catanh_test): Likewise.
14781         * sysdeps/i386/fpu/libm-test-ulps: Update.
14782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14784         [BZ #16789]
14785         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14786         instead of using underflowing value in computing result.
14787         * math/s_clog10.c (__clog10): Likewise.
14788         * math/s_clog10f.c (__clog10f): Likewise.
14789         * math/s_clog10l.c (__clog10l): Likewise.
14790         * math/s_clogf.c (__clogf): Likewise.
14791         * math/s_clogl.c (__clogl): Likewise.
14792         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14793         (clog10_test): Likewise.
14794         * sysdeps/i386/fpu/libm-test-ulps: Update.
14795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14797 2014-04-02  Alan Modra  <amodra@gmail.com>
14799         [BZ #16739]
14800         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14801         output when value is near a power of two.  Use int64_t for lx and
14802         remove casts.  Use decimal rather than hex exponent constants.
14803         Don't use long double multiplication when double will suffice.
14804         * math/libm-test.inc (nextafter_test_data): Add tests.
14805         * NEWS: Add 16739 and 16786 to bug list.
14807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14809         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14811 2014-04-01  Will Newton  <will.newton@linaro.org>
14813         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14814         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
14816 2014-04-01  Florian Weimer  <fweimer@redhat.com>
14818         [BZ #13347]
14819         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14820         * nptl/tst-setuid2.c: New file.
14821         * nptl/Makefile (xtests): Add tst-setuid2.
14823 2014-04-01  Alan Modra  <amodra@gmail.com>
14825         [BZ #16786]
14826         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14828 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14830         [BZ #6803]
14831         [BZ #6804]
14832         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14833         set errno as appropriate.
14834         * math/w_scalbf.c (__scalbf): Likewise.
14835         * math/w_scalbl.c (__scalbl): Likewise.
14836         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14837         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14838         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14839         Add more NaN tests.
14841         [BZ #16349]
14842         * math/w_atan2.c: Include <errno.h>.
14843         (__atan2): Set errno for result underflowing to zero.
14844         * math/w_atan2f.c: Include <errno.h>.
14845         (__atan2f): Set errno for result underflowing to zero.
14846         * math/w_atan2l.c: Include <errno.h>.
14847         (__atan2l): Set errno for result underflowing to zero.
14848         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14849         tests.
14850         * math/auto-libm-test-out: Regenerated.
14852 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14854         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14855         Encode instruction correctly in little endian.
14856         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14857         Likewise.
14858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14859         Likewise.
14860         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14861         Likewise.
14862         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14863         Likewise.
14865 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14867         [BZ #9894]
14868         * sysdeps/unix/sysv/linux/kernel-features.h
14869         [__sparc__ && !__arch64__ && !__sparc_v9__]
14870         (__ASSUME_SET_ROBUST_LIST): Do not define.
14871         [__sparc__ && !__arch64__ && !__sparc_v9__]
14872         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14873         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14874         Likewise.
14875         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14876         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14877         (__ASSUME_REQUEUE_PI): Likewise.
14878         (__ASSUME_SET_ROBUST_LIST): Likewise.
14879         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14880         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14881         Undefine.
14882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14883         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14884         Likewise.
14885         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14886         Likewise.
14887         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14888         Likewise.
14889         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14890         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14891         Undefine.
14892         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14893         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14894         Likewise.
14896         [BZ #16648]
14897         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14898         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14899         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14901 2014-03-31  Will Newton  <will.newton@linaro.org>
14903         * benchtests/Makefile (bench): Add ffs and ffsll to list
14904         of tests.
14905         * benchtests/ffs-inputs: New file.
14906         * benchtests/ffsll-inputs: Likewise.
14908 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14910         [BZ #16770]
14911         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14912         too large before casting to int.
14913         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14914         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14915         * math/libm-test.inc (scalb_test_data): Add more tests.
14917 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14919         * benchtests/Makefile (DETAILED_OPT): New make option.
14920         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14921         set.
14922         * benchtests/bench-skeleton.c: Include stdbool.h.
14923         (main): Store and print timings per input.
14924         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14925         member to each argument value.
14926         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14927         (_print_arg_data): Initialize per-input timing to 0.
14929         * benchtests/Makefile (timing-type): New binary.
14930         (bench-clean): Also remove bench-timing-type.
14931         (bench): New target for timing-type.
14932         (bench-func): Print output in JSON format.
14933         * benchtests/bench-skeleton.c (main): Print output in JSON
14934         format.
14935         * benchtests/bench-timing-type.c: New file.
14936         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14937         (TIMING_PRINT_STATS): Remove.
14938         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14939         name separately.
14941         * benchtests/bench-modf.c: Remove.
14942         * benchtests/modf-inputs: New inputs file.
14944 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14946         [BZ #16362]
14947         * math/s_clog10.c (M_PI_LOG10E): New macro.
14948         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14949         imaginary parts are 0.
14950         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14951         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14952         imaginary parts are 0.
14953         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14954         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14955         imaginary parts are 0.
14956         * math/libm-test.inc (clog10_test_data): Update expected results
14957         for when real and imaginary parts are 0.
14959 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14961         * elf/dl-load.c: Finish conversion of __builtin_expect into
14962         __glibc_{un}likely.
14964 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14966         [BZ #16348]
14967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14968         1+x for argument with exponent below -67.
14969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14970         Likewise.
14971         * math/auto-libm-test-in: Add more tests of exp.
14972         * math/auto-libm-test-out: Regenerated.
14974 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14976         [BZ #16759]
14977         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14978         (nscd_getnetgrent): Use it.
14980         [BZ #16760]
14981         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14982         of stpcpy.
14984 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14986         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14987         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14988         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14989         (lll_robust_unlock): Remove out of line section. Use cfi
14990         intrinsics.
14991         (LLL_STUB_UNWIND_INFO*): Remove.
14992         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14993         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14994         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14995         (lll_robust_unlock): Remove out of line section. Use cfi
14996         intrinsics.
14997         (LLL_STUB_UNWIND_INFO*): Remove.
14999 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15001         [BZ #16758]
15002         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15003         blank values.
15005 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15007         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15009 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15011         [BZ #16198]
15012         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15013         fnstenv.
15014         * math/test-fenv-preserve.c: New file.
15015         * math/Makefile (tests): Add test-fenv-preserve.
15017 2014-03-26  Will Newton <will.newton@linaro.org>
15019         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15021 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15023         * scripts/versionlist.awk: Partition the version sets and emit all
15024         GLIBC_* (sorted) before all others (sorted).
15026 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15028         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15029         GLIBC_2.2.5 version.
15031 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15033         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15034         calls.
15036         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15037         previous change.
15039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15041 2014-03-25  Andreas Schwab  <schwab@suse.de>
15043         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15044         label to be used after in6ailist is initialized.
15046 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15048         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15049         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15051 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15053         [BZ #16357]
15054         [BZ #16599]
15055         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15056         min_plus_half.
15057         (fp_formats): Update initializers.
15058         (init_fp_formats): Initialize new field.
15059         (output_for_one_input_case): Allow underflow for results up to
15060         min_plus_half.
15061         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15062         * math/auto-libm-test-in: Don't mark some underflows from asin and
15063         atanh as spurious.
15064         * math/auto-libm-test-out: Regenerated.
15065         * sysdeps/i386/fpu/libm-test-ulps: Update.
15066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15068 2014-03-25  Andreas Schwab  <schwab@suse.de>
15070         * libio/Makefile (tst-ftell-partial-wide-ENV)
15071         (tst-ftell-active-handler-ENV): Define.
15073 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15075         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15077 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15079         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15081 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15083         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15084         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15085         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15087 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15089         [BZ #16634]
15090         * elf/dl-load.c (open_verify): Add mode parameter.
15091         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15092         (open_path): Change from boolean 'secure' to complete flag 'mode'
15093         (_dl_map_object): Adjust.
15094         * elf/Makefile (tests): Add tst-dlopen-aout.
15095         * elf/tst-dlopen-aout.c: New test.
15097 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15099         [BZ #16714]
15100         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15101         (struct stat): Rename member pad0 to __glibc_reserved0.
15103         [BZ #16712]
15104         * sysdeps/s390/s390-32/bits/wordsize.h
15105         (__WORDSIZE32_SIZE_ULONG): New define.
15106         * sysdeps/s390/s390-64/bits/wordsize.h
15107         (__WORDSIZE32_SIZE_ULONG): Likewise.
15108         * sysdeps/generic/stdint.h (SIZE_MAX):
15109         Define as UL if __WORDSIZE32_SIZE_ULONG.
15111         [BZ #16713]
15112         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15113         (__glibc_reserved0): New variable.
15114         (sa_flags): Change type to int.
15116         * posix/Makefile (before-compile): Use += before-compile instead
15117         of a :=.
15119         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15120         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15122 2014-03-20  Andreas Schwab  <schwab@suse.de>
15124         [BZ #16743]
15125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15126         non-matching result from nscd.
15128 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15130         * scripts/bench.py: Moved to ...
15131         * benchtests/scripts/bench.py: ... here.
15132         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15134 2014-03-24  Andreas Schwab  <schwab@suse.de>
15136         [BZ #16002]
15137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15138         alloca_account and account alloca use for struct in6ailist.
15140 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15142         [BZ #16284]
15143         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15144         rounding mode to recompute results that overflow to infinity or
15145         underflow to zero.
15146         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15147         bug 16284.
15148         * math/auto-libm-test-out: Regenerated.
15149         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15150         (ccosh_test): Likewise.
15151         (csin_test_data): Use plus_oflow.
15152         (csin_test): Use ALL_RM_TEST.
15153         (csinh_test_data): Use plus_oflow.
15154         (csinh_test): Use ALL_RM_TEST.
15155         * sysdeps/i386/fpu/libm-test-ulps: Update.
15156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15158 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15160         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15161         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15162         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15164         [BZ #16731]
15165         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15166         when x - 1 is zero.
15167         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15168         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15169         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15171         argument is 1.
15172         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15173         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15174         zero.
15175         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15176         * sysdeps/i386/fpu/libm-test-ulps: Update.
15177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15179 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15181         * scripts/bench.pl: Remove file.
15182         * scripts/bench.py: New benchmark script.
15183         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15184         * benchtests/README: Mention python dependency.
15185         * scripts/pylintrc: New file.
15186         * scripts/pylint: New file.
15188         * bits/mathdef.h: Use #ifdef instead of #if.
15189         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15190         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15191         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15192         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15193         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15194         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15196 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15197             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15199         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15201         and strpbrk-ppc64 objects.
15202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15203         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15204         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15205         multiarch strpbrk for POWER7.
15206         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15207         multiarch strpbrk for PPC64.
15208         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15209         ifunc selector.
15210         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15211         strpbrk for POWER7.
15213 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15215         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15216         (atan_test): Likewise.
15217         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15218         (atanh_test): Use ALL_RM_TEST.
15219         (atan2_test_data): Likewise.
15220         (cabs_test): Likewise.
15221         (cacosh_test): Likewise.
15222         (carg_test): Likewise.
15223         (casin_test): Likewise.
15224         (casinh_test): Likewise.
15225         (cbrt_test): Likewise.
15226         (csqrt_test): Likewise.
15227         (erf_test): Likewise.
15228         (erfc_test): Likewise.
15229         (pow10_test): Likewise.
15230         (exp2_test): Likewise.
15231         (hypot_test): Likewise.
15232         (j0_test): Likewise.
15233         (j1_test): Likewise.
15234         (lgamma_test): Likewise.
15235         (gamma_test): Likewise.
15236         (sincos_test): Likewise.
15237         (tanh_test): Likewise.
15238         (y0_test): Likewise.
15239         (y1_test): Likewise.
15240         * sysdeps/i386/fpu/libm-test-ulps: Update.
15241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15243 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15245         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15247         and strcspn-ppc64 objects.
15248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15249         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15250         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15251         multiarch strcspn for POWER7.
15252         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15253         multiarch strcspn for PPC64.
15254         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15255         ifunc selector.
15256         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15257         strcspn for POWER7.
15259 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15261         * math/gen-libm-test.pl (generate_testfile): Expect only function
15262         name as argument to AUTO_TESTS_* and pass results for all rounding
15263         modes to parse_args.
15264         (parse_auto_input): Separate inputs of automatic tests from
15265         outputs before storing in %auto_tests.
15266         * math/libm-test.inc (acos_test_data): Update call to
15267         AUTO_TESTS_f_f.
15268         (acos_test): Use ALL_RM_TEST.
15269         (acos_tonearest_test_data): Remove.
15270         (acos_test_tonearest): Likewise.
15271         (acos_towardzero_test_data): Likewise.
15272         (acos_test_towardzero): Likewise.
15273         (acos_downward_test_data): Likewise.
15274         (acos_test_downward): Likewise.
15275         (acos_upward_test_data): Likewise.
15276         (acos_test_upward): Likewise.
15277         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15278         (asin_test_data): Likewise.
15279         (asin_test): Use ALL_RM_TEST.
15280         (asin_tonearest_test_data): Remove.
15281         (asin_test_tonearest): Likewise.
15282         (asin_towardzero_test_data): Likewise.
15283         (asin_test_towardzero): Likewise.
15284         (asin_downward_test_data): Likewise.
15285         (asin_test_downward): Likewise.
15286         (asin_upward_test_data): Likewise.
15287         (asin_test_upward): Likewise.
15288         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15289         (atan_test_data): Likewise.
15290         (atanh_test_data): Likewise.
15291         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15292         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15293         (carg_test_data): Likewise.
15294         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15295         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15296         (ccosh_test_data): Likewise.
15297         (cexp_test_data): Likewise.
15298         (clog_test_data): Likewise.
15299         (clog10_test_data): Likewise.
15300         (cos_test_data): Update call to AUTO_TESTS_f_f.
15301         (cos_test): Use ALL_RM_TEST.
15302         (cos_tonearest_test_data): Remove.
15303         (cos_test_tonearest): Likewise.
15304         (cos_towardzero_test_data): Likewise.
15305         (cos_test_towardzero): Likewise.
15306         (cos_downward_test_data): Likewise.
15307         (cos_test_downward): Likewise.
15308         (cos_upward_test_data): Likewise.
15309         (cos_test_upward): Likewise.
15310         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15311         (cosh_test): Use ALL_RM_TEST.
15312         (cosh_tonearest_test_data): Remove.
15313         (cosh_test_tonearest): Likewise.
15314         (cosh_towardzero_test_data): Likewise.
15315         (cosh_test_towardzero): Likewise.
15316         (cosh_downward_test_data): Likewise.
15317         (cosh_test_downward): Likewise.
15318         (cosh_upward_test_data): Likewise.
15319         (cosh_test_upward): Likewise.
15320         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15321         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15322         (ctan_test_data): Likewise.
15323         (ctan_test): Use ALL_RM_TEST.
15324         (ctan_tonearest_test_data): Remove.
15325         (ctan_test_tonearest): Likewise.
15326         (ctan_towardzero_test_data): Likewise.
15327         (ctan_test_towardzero): Likewise.
15328         (ctan_downward_test_data): Likewise.
15329         (ctan_test_downward): Likewise.
15330         (ctan_upward_test_data): Likewise.
15331         (ctan_test_upward): Likewise.
15332         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15333         (ctanh_test): Use ALL_RM_TEST.
15334         (ctanh_tonearest_test_data): Remove.
15335         (ctanh_test_tonearest): Likewise.
15336         (ctanh_towardzero_test_data): Likewise.
15337         (ctanh_test_towardzero): Likewise.
15338         (ctanh_downward_test_data): Likewise.
15339         (ctanh_test_downward): Likewise.
15340         (ctanh_upward_test_data): Likewise.
15341         (ctanh_test_upward): Likewise.
15342         (erf_test_data): Update call to AUTO_TESTS_f_f.
15343         (erfc_test_data): Likewise.
15344         (exp_test_data): Likewise.
15345         (exp_test): Use ALL_RM_TEST.
15346         (exp_tonearest_test_data): Remove.
15347         (exp_test_tonearest): Likewise.
15348         (exp_towardzero_test_data): Likewise.
15349         (exp_test_towardzero): Likewise.
15350         (exp_downward_test_data): Likewise.
15351         (exp_test_downward): Likewise.
15352         (exp_upward_test_data): Likewise.
15353         (exp_test_upward): Likewise.
15354         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15355         (exp10_test): Use ALL_RM_TEST.
15356         (exp10_tonearest_test_data): Remove.
15357         (exp10_test_tonearest): Likewise.
15358         (exp10_towardzero_test_data): Likewise.
15359         (exp10_test_towardzero): Likewise.
15360         (exp10_downward_test_data): Likewise.
15361         (exp10_test_downward): Likewise.
15362         (exp10_upward_test_data): Likewise.
15363         (exp10_test_upward): Likewise.
15364         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15365         (expm1_test_data): Likewise.
15366         (expm1_test): Use ALL_RM_TEST.
15367         (expm1_tonearest_test_data): Remove.
15368         (expm1_test_tonearest): Likewise.
15369         (expm1_towardzero_test_data): Likewise.
15370         (expm1_test_towardzero): Likewise.
15371         (expm1_downward_test_data): Likewise.
15372         (expm1_test_downward): Likewise.
15373         (expm1_upward_test_data): Likewise.
15374         (expm1_test_upward): Likewise.
15375         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15376         (fma_test): Use ALL_RM_TEST.
15377         (fma_towardzero_test_data): Remove.
15378         (fma_test_towardzero): Likewise.
15379         (fma_downward_test_data): Likewise.
15380         (fma_test_downward): Likewise.
15381         (fma_upward_test_data): Likewise.
15382         (fma_test_upward): Likewise.
15383         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15384         (j0_test_data): Update call to AUTO_TESTS_f_f.
15385         (j1_test_data): Likewise.
15386         (jn_test_data): Update call to AUTO_TESTS_if_f.
15387         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15388         (log_test_data): Update call to AUTO_TESTS_f_f.
15389         (log10_test_data): Likewise.
15390         (log1p_test_data): Likewise.
15391         (log2_test_data): Likewise.
15392         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15393         (pow_tonearest_test_data): Likewise.
15394         (sin_test_data): Update call to AUTO_TESTS_f_f.
15395         (sin_test): Use ALL_RM_TEST.
15396         (sin_tonearest_test_data): Remove.
15397         (sin_test_tonearest): Likewise.
15398         (sin_towardzero_test_data): Likewise.
15399         (sin_test_towardzero): Likewise.
15400         (sin_downward_test_data): Likewise.
15401         (sin_test_downward): Likewise.
15402         (sin_upward_test_data): Likewise.
15403         (sin_test_upward): Likewise.
15404         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15405         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15406         (sinh_test): Use ALL_RM_TEST.
15407         (sinh_tonearest_test_data): Remove.
15408         (sinh_test_tonearest): Likewise.
15409         (sinh_towardzero_test_data): Likewise.
15410         (sinh_test_towardzero): Likewise.
15411         (sinh_downward_test_data): Likewise.
15412         (sinh_test_downward): Likewise.
15413         (sinh_upward_test_data): Likewise.
15414         (sinh_test_upward): Likewise.
15415         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15416         (sqrt_test): Use ALL_RM_TEST.
15417         (sqrt_tonearest_test_data): Remove.
15418         (sqrt_test_tonearest): Likewise.
15419         (sqrt_towardzero_test_data): Likewise.
15420         (sqrt_test_towardzero): Likewise.
15421         (sqrt_downward_test_data): Likewise.
15422         (sqrt_test_downward): Likewise.
15423         (sqrt_upward_test_data): Likewise.
15424         (sqrt_test_upward): Likewise.
15425         (tan_test_data): Update call to AUTO_TESTS_f_f.
15426         (tan_test): Use ALL_RM_TEST.
15427         (tan_tonearest_test_data): Remove.
15428         (tan_test_tonearest): Likewise.
15429         (tan_towardzero_test_data): Likewise.
15430         (tan_test_towardzero): Likewise.
15431         (tan_downward_test_data): Likewise.
15432         (tan_test_downward): Likewise.
15433         (tan_upward_test_data): Likewise.
15434         (tan_test_upward): Likewise.
15435         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15436         (tgamma_test_data): Likewise.
15437         (y0_test_data): Likewise.
15438         (y1_test_data): Likewise.
15439         (yn_test_data): Update call to AUTO_TESTS_if_f.
15440         (main): Do not call removed functions.
15442 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15444         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15445         (ldexp_test_data): Remove.
15446         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
15447         scalbn_test_data.
15448         (scalb_test): Use ALL_RM_TEST.
15450 2014-03-19  Andreas Schwab  <schwab@suse.de>
15452         * nscd/nscd.service: Also invalidate netgroup cache on reload.
15454 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15456         [BZ #16649]
15457         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15458         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15461         (__ASSUME_PREADV): Undefine.
15462         (__ASSUME_PWRITEV): Likewise.
15464 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15466         * bits/mman-linux.h: Add comment about non-Linux use.
15467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15468         bits/mman-linux.h resting place.
15470         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15471         * bits/mman-linux.h: ... here.
15473 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15475         * conform/conformtest.pl: Add standard definition when calling C
15476         preprocessor on data files.
15477         (checknamespace): Remove unused variable.
15479 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15481         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15482         minus_oflow, plus_uflow and minus_uflow in expected results.
15483         * math/libm-test.inc (scalbn_test_data): Add more tests of
15484         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
15485         minus_uflow.
15486         (scalbn_test): Use ALL_RM_TEST.
15487         (scalbln_test_data): Add more tests of negative arguments.  Use
15488         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15489         (scalbln_test): Use ALL_RM_TEST.
15491 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15493         * scripts/abilist.awk: Ignore symbols marked with .hidden.
15495 2014-03-18  Will Newton  <will.newton@linaro.org>
15497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15498         inaccurate comment.
15500 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15502         * Makerules [!subdir] (check-abi): Exit with error status if a
15503         test failed.
15505 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15507         * math/libm-test.inc (nearbyint_test_data): Include all tests used
15508         for rint.  Include results for all rounding modes.
15509         (nearbyint_test): Use ALL_RM_TEST.
15510         (rint_test_data): Include all tests used for nearbyint.
15512 2014-03-17  Will Newton  <will.newton@linaro.org>
15514         * nptl/sysdeps/pthread/pthread.h: Revert previous
15515         change.
15517         * sysdeps/generic/ldsodefs.h: Revert previous
15518         change.
15520         * libio/genops.c: Revert previous change.
15521         * libio/libioP.h: Likewise.
15522         * stdio-common/vfprintf.c: Likewise.
15524         * sysdeps/generic/math_private.h: Revert previous
15525         change.
15527         * sysdeps/generic/math_private.h: Check whether
15528         HAVE_RM_CTX is defined with #ifdef rather
15529         than #if.
15531         * argp/argp-fmtstream.h: Check whether
15532         __STRICT_ANSI__ is defined with #ifdef rather
15533         than #if.
15534         * argp/argp.h: Likewise.
15536         * libio/genops.c: Check whether
15537         _IO_JUMPS_OFFSET is defined with #ifdef rather
15538         than #if.
15539         * libio/libioP.h: Likewise.
15540         * stdio-common/vfprintf.c: Likewise.
15542         * sysdeps/generic/ldsodefs.h: Check whether
15543         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15544         than #if.
15546         * nptl/sysdeps/pthread/pthread.h: Check
15547         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15548         its value.
15550 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15552         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15553         setting O_APPEND.
15554         * libio/tst-ftell-active-handler.c (do_append_test): Add a
15555         test case.
15557         [BZ #16680]
15558         * libio/fileops.c (_IO_file_open): Seek to end of file but
15559         don't cache the offset.
15560         (get_file_offset): Remove function.
15561         (do_ftell): Use cached offset when available.
15562         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15563         don't cache the offset.
15564         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15565         case.
15566         (do_one_test): Call it.
15567         (do_ftell_test): Fix up expected old offset for a+ mode.
15568         * libio/wfileops.c (do_ftell_wide): Used cached offset when
15569         available.
15571         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15572         up test status with function return status.
15573         (do_write_test): Likewise.
15574         (do_append_test): Likewise.
15576         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15577         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15578         Remove.
15580 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15582         * math/gen-libm-test.pl (parse_args): Handle results specified for
15583         each rounding mode separately.
15584         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15585         tests and results from lrint_tonearest_test_data,
15586         lrint_towardzero_test_data, lrint_downward_test_data and
15587         lrint_upward_test_data.
15588         (lrint_test): Use ALL_RM_TEST.
15589         (lrint_tonearest_test_data): Remove.
15590         (lrint_test_tonearest): Likewise.
15591         (lrint_towardzero_test_data): Likewise.
15592         (lrint_test_towardzero): Likewise.
15593         (lrint_downward_test_data): Likewise.
15594         (lrint_test_downward): Likewise.
15595         (lrint_upward_test_data): Likewise.
15596         (lrint_test_upward): Likewise.
15597         (llrint_test_data): Merge in per-rounding-mode tests and results
15598         from llrint_tonearest_test_data, llrint_towardzero_test_data,
15599         llrint_downward_test_data and llrint_upward_test_data.
15600         (llrint_test): Use ALL_RM_TEST.
15601         (llrint_tonearest_test_data): Remove.
15602         (llrint_test_tonearest): Likewise.
15603         (llrint_towardzero_test_data): Likewise.
15604         (llrint_test_towardzero): Likewise.
15605         (llrint_downward_test_data): Likewise.
15606         (llrint_test_downward): Likewise.
15607         (llrint_upward_test_data): Likewise.
15608         (llrint_test_upward): Likewise.
15609         (rint_test_data): Merge in per-rounding-mode tests and results
15610         from rint_tonearest_test_data, rint_towardzero_test_data,
15611         rint_downward_test_data and rint_upward_test_data.  Add
15612         per-rounding-mode results for tests not in those arrays.
15613         (rint_test): Use ALL_RM_TEST.
15614         (rint_tonearest_test_data): Remove.
15615         (rint_test_tonearest): Likewise.
15616         (rint_towardzero_test_data): Likewise.
15617         (rint_test_towardzero): Likewise.
15618         (rint_downward_test_data): Likewise.
15619         (rint_test_downward): Likewise.
15620         (rint_upward_test_data): Likewise.
15621         (rint_test_upward): Likewise.
15622         (main): Don't call removed functions.
15624 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15626         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15627         "Compiled on ..." crapola.  It is anti-useful.
15629 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
15631         * scripts/evaluate-test.sh: Handle fourth argument to determine
15632         whether test run should stop on failure.
15633         * Makeconfig (stop-on-test-failure): New variable.
15634         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15635         $(stop-on-test-failure).
15636         * Makefile (tests): Give a summary of results from testing and
15637         exit with failure status if they include an ERROR or FAIL.
15638         (xtests): Likewise.
15639         * manual/install.texi (Configuring and compiling): Mention
15640         stop-on-test-failure=y.
15641         * INSTALL: Regenerated.
15643 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15645         * scripts/versionlist.awk: New file.
15646         * Makerules [$(build-shared) = yes]
15647         (postclean-generated): Add Versions.def, not Versions.def.v and
15648         Versions.def.v.i.
15649         ($(common-objpfx)Versions.def.v.i): Target removed.
15650         ($(common-objpfx)Versions.def): New target.
15651         ($(common-objpfx)Versions.all): Depend on that rather that
15652         $(common-objpfx)Versions.def.v.
15653         * Versions.def: File removed.
15655         * Makeconfig (+gccwarn): Add -Wundef.
15656         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15657         a dl-sysdep.h breaking its contract.
15658         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15659         * include/stackinfo.h: New file.
15660         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15661         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15662         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15663         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15664         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15665         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15666         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15667         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15668         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15669         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15670         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15671         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15672         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15673         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15674         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15676 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15678         [BZ #16707]
15679         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15680         implementation.
15681         * math/libm-test.inc (round_test_data): Add more tests.
15683         [BZ #16706]
15684         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15685         implementation.
15686         * math/libm-test.inc (nearbyint_test_data): Add more tests.
15688         [BZ #16701]
15689         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15690         implementation.
15691         * math/libm-test.inc (ceil_test_data): Add more tests.
15693         * math/libm-test.inc (trunc_test_data): Add more tests related to
15694         BZ#16414.
15696 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15698         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15699         with #if rather than #ifdef.
15700         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15702 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
15704         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15705         first.  Disable AVX-512 GCC support if assembler doesn't support
15706         it.
15707         * sysdeps/x86_64/configure: Regenerated.
15709 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
15711         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15712         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15713         (__old_pthread_attr_setstack): Likewise.
15714         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15715         [!_STACK_GROWS_DOWN]: Likewise.
15717 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
15719         * config.make.in (have-bash2): Delete.
15720         * configure.ac (libc_cv_have_bash2): Delete.
15721         * configure: Regenerate.
15722         * elf/Makefile (common-ldd-rewrite): Rename to ...
15723         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
15724         (sh-ldd-rewrite): Delete.
15725         (bash-ldd-rewrite): Delete.
15726         (have-bash2): Delete checks.
15727         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15728         ldd-rewrite.
15730         * config.make.in (have-ksh): Delete.
15731         (KSH): Delete.
15732         * configure.ac (libc_cv_have_ksh): Delete.
15733         * configure: Regenerate.
15735         * elf/Makefile: Delete $(have-ksh) check.
15736         ($(objpfx)sotruss): Change KSH to BASH.
15737         * elf/sotruss.ksh: Rename to ...
15738         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
15739         function style to match POSIX.  Drop ksh vim mode setting.
15741         * manual/time.texi (Specifying the Time Zone with TZ): Change
15742         Tuesday to Thursday.
15744         * debug/tst-longjmp_chk2.c: Update header comment.
15745         (stackoverflow_handler): Add comment.  Call assert on pass value.
15747 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
15749         [BZ #16194]
15750         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15751         (HAVE_AVX512_ASM_SUPPORT): Likewise.
15752         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15753         (La_x86_64_vector): Add zmm.
15754         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15755         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15756         ($(objpfx)tst-audit10): New target.
15757         ($(objpfx)tst-audit10.out): Likewise.
15758         (tst-audit10-ENV): New.
15759         (AVX512-CFLAGS): Likewise.
15760         (CFLAGS-tst-audit10.c): Likewise.
15761         (CFLAGS-tst-auditmod10a.c): Likewise.
15762         (CFLAGS-tst-auditmod10b.c): Likewise.
15763         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15764         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15765         * sysdeps/x86_64/configure: Regenerated.
15766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15767         AVX-512 zmm register support.
15768         (_dl_x86_64_save_sse): Likewise.
15769         (_dl_x86_64_restore_sse): Likewise.
15770         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15771         size vector registers.
15772         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15773         (ZMM_SIZE): Likewise.
15774         * sysdeps/x86_64/tst-audit10.c: New file.
15775         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15776         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15778 2014-03-13  Roland McGrath  <roland@hack.frob.com>
15780         * configure.ac (HAVE_EHDR_START): New check.
15781         * configure: Regenerated.
15782         * config.h.in (HAVE_EHDR_START): New #undef.
15783         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15784         assuming the lowest-addressed segment maps the start of the file.
15786 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
15788         * INSTALL: Regenerated.
15790 2014-03-13  Will Newton  <will.newton@linaro.org>
15792         * manual/setjmp.texi (System V contexts): Improve
15793         clarity and grammar of documentation.
15795 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15797         [BZ #16381]
15798         * elf/Makefile (tests): Add tst-pie2.
15799         (tests-pie): Add tst-pie2.
15800         * elf/tst-pie2.c: New file.
15801         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15802         for ET_EXEC.
15803         * elf/rtld.c (map_doit): Load executable as lt_executable.
15804         (dl_main): Likewise.
15806 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
15808         [BZ #16642]
15809         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15810         (__ASSUME_PSELECT): Undefine.
15812 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15814         [BZ #16689]
15815         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15816         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15817         static build.
15818         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15819         selector for static builds.
15821 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15823         [BZ #16695]
15824         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15825         key in the buffer.
15827 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15829         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15830         IFUNC selector for static builds.
15832 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15834         * sysdeps/mips/math_private.h [__mips_hard_float]
15835         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15836         libc_feresetround_mips_ctx.
15837         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15838         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15839         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15841         [BZ #16677]
15842         * math/s_nextafter.c (__nextafter): Do not return value from
15843         overflowing computation.
15844         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15845         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15846         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15847         Likewise.
15848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15849         Likewise.
15850         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15851         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15853 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15855         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15856         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15857         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15858         the new mov targetting sp.
15860 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15862         [BZ #16683]
15863         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15864         Define it for static builds as well.
15865         (NO_BZERO_IMPL): Likewise.
15867 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15869         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15870         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15871         multiarch strspn for PPC64.
15872         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15873         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15875         (__libc_ifunc_impl_list): Likewise.
15876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15877         multiarch optimizations
15878         * string/strspn.c (strspn): Using macro to redefine symbol name.
15880 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15881             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15883         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15884         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15885         multiarch strncat for PPC64.
15886         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15887         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15889         (__libc_ifunc_impl_list): Likewise.
15890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15891         multiarch optimizations
15893 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15895         [BZ #16639]
15896         * nscd/nscd.service: Make service type forking.
15898 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15900         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15901         sign in non default rounding modes.
15902         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15904 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15906         * math/libm-test.inc (ALL_RM_TEST): New macro.
15907         (ceil_test): Use ALL_RM_TEST.
15908         (cimag_test): Likewise.
15909         (conj_test): Likewise.
15910         (copysign_test): Likewise.
15911         (cproj_test): Likewise.
15912         (creal_test): Likewise.
15913         (fabs_test): Likewise.
15914         (floor_test): Likewise.
15915         (fmax_test): Likewise.
15916         (fmin_test): Likewise.
15917         (fmod_test): Likewise.
15918         (fpclassify_test): Likewise.
15919         (frexp_test): Likewise.
15920         (ilogb_test): Likewise.
15921         (isfinite_test): Likewise.
15922         (finite_test): Likewise.
15923         (isgreater_test): Likewise.
15924         (isgreaterequal_test): Likewise.
15925         (isinf_test): Likewise.
15926         (isless_test): Likewise.
15927         (islessequal_test): Likewise.
15928         (islessgreater_test): Likewise.
15929         (isnan_test): Likewise.
15930         (isnormal_test): Likewise.
15931         (issignaling_test): Likewise.
15932         (isunordered_test): Likewise.
15933         (logb_test): Likewise.
15934         (logb_downward_test_data): Remove.
15935         (logb_test_downward): Likewise.
15936         (lround_test): Use ALL_RM_TEST.
15937         (llround_test): Likewise.
15938         (modf_test): Likewise.
15939         (nexttoward_test): Likewise.
15940         (remainder_test): Likewise.
15941         (drem_test): Likewise.
15942         (remainder_tonearest_test_data): Likewise.
15943         (remainder_test_tonearest): Likewise.
15944         (drem_test_tonearest): Likewise.
15945         (remainder_towardzero_test_data): Likewise.
15946         (remainder_test_towardzero): Likewise.
15947         (drem_test_towardzero): Likewise.
15948         (remainder_downward_test_data): Likewise.
15949         (remainder_test_downward): Likewise.
15950         (drem_test_downward): Likewise.
15951         (remainder_upward_test_data): Likewise.
15952         (remainder_test_upward): Likewise.
15953         (drem_test_upward): Likewise.
15954         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15955         (round_test): Use ALL_RM_TEST.
15956         (signbit_test): Likewise.
15957         (trunc_test): Likewise.
15958         (significand_test): Likewise.
15959         (main): Don't call removed functions.
15961 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15963         [BZ #16674]
15964         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15965         || __USE_XOPEN2K8].
15966         (ILL_ILLOPN): Likewise.
15967         (ILL_ILLADR): Likewise.
15968         (ILL_ILLTRP): Likewise.
15969         (ILL_PRVOPC): Likewise.
15970         (ILL_PRVREG): Likewise.
15971         (ILL_COPROC): Likewise.
15972         (ILL_BADSTK): Likewise.
15973         (FPE_INTDIV): Likewise.
15974         (FPE_INTOVF): Likewise.
15975         (FPE_FLTDIV): Likewise.
15976         (FPE_FLTOVF): Likewise.
15977         (FPE_FLTUND): Likewise.
15978         (FPE_FLTRES): Likewise.
15979         (FPE_FLTINV): Likewise.
15980         (FPE_FLTSUB): Likewise.
15981         (SEGV_MAPERR): Likewise.
15982         (SEGV_ACCERR): Likewise.
15983         (BUS_ADRALN): Likewise.
15984         (BUS_ADRERR): Likewise.
15985         (BUS_OBJERR): Likewise.
15986         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15987         (TRAP_TRACE): Likewise.
15988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15989         __USE_XOPEN2K8].
15990         (CLD_KILLED): Likewise.
15991         (CLD_DUMPED): Likewise.
15992         (CLD_TRAPPED): Likewise.
15993         (CLD_STOPPED): Likewise.
15994         (CLD_CONTINUED): Likewise.
15995         (POLL_IN): Likewise.
15996         (POLL_OUT): Likewise.
15997         (POLL_MSG): Likewise.
15998         (POLL_ERR): Likewise.
15999         (POLL_PRI): Likewise.
16000         (POLL_HUP): Likewise.
16001         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16002         Likewise.
16003         (ILL_ILLOPN): Likewise.
16004         (ILL_ILLADR): Likewise.
16005         (ILL_ILLTRP): Likewise.
16006         (ILL_PRVOPC): Likewise.
16007         (ILL_PRVREG): Likewise.
16008         (ILL_COPROC): Likewise.
16009         (ILL_BADSTK): Likewise.
16010         (FPE_INTDIV): Likewise.
16011         (FPE_INTOVF): Likewise.
16012         (FPE_FLTDIV): Likewise.
16013         (FPE_FLTOVF): Likewise.
16014         (FPE_FLTUND): Likewise.
16015         (FPE_FLTRES): Likewise.
16016         (FPE_FLTINV): Likewise.
16017         (FPE_FLTSUB): Likewise.
16018         (SEGV_MAPERR): Likewise.
16019         (SEGV_ACCERR): Likewise.
16020         (BUS_ADRALN): Likewise.
16021         (BUS_ADRERR): Likewise.
16022         (BUS_OBJERR): Likewise.
16023         (BUS_MCEERR_AR): Likewise.
16024         (BUS_MCEERR_AO): Likewise.
16025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16026         (TRAP_TRACE): Likewise.
16027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16028         __USE_XOPEN2K8].
16029         (CLD_KILLED): Likewise.
16030         (CLD_DUMPED): Likewise.
16031         (CLD_TRAPPED): Likewise.
16032         (CLD_STOPPED): Likewise.
16033         (CLD_CONTINUED): Likewise.
16034         (POLL_IN): Likewise.
16035         (POLL_OUT): Likewise.
16036         (POLL_MSG): Likewise.
16037         (POLL_ERR): Likewise.
16038         (POLL_PRI): Likewise.
16039         (POLL_HUP): Likewise.
16040         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16041         (ILL_ILLOPN): Likewise.
16042         (ILL_ILLADR): Likewise.
16043         (ILL_ILLTRP): Likewise.
16044         (ILL_PRVOPC): Likewise.
16045         (ILL_PRVREG): Likewise.
16046         (ILL_COPROC): Likewise.
16047         (ILL_BADSTK): Likewise.
16048         (FPE_INTDIV): Likewise.
16049         (FPE_INTOVF): Likewise.
16050         (FPE_FLTDIV): Likewise.
16051         (FPE_FLTOVF): Likewise.
16052         (FPE_FLTUND): Likewise.
16053         (FPE_FLTRES): Likewise.
16054         (FPE_FLTINV): Likewise.
16055         (FPE_FLTSUB): Likewise.
16056         (SEGV_MAPERR): Likewise.
16057         (SEGV_ACCERR): Likewise.
16058         (BUS_ADRALN): Likewise.
16059         (BUS_ADRERR): Likewise.
16060         (BUS_OBJERR): Likewise.
16061         (BUS_MCEERR_AR): Likewise.
16062         (BUS_MCEERR_AO): Likewise.
16063         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16064         (TRAP_TRACE): Likewise.
16065         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16066         __USE_XOPEN2K8].
16067         (CLD_KILLED): Likewise.
16068         (CLD_DUMPED): Likewise.
16069         (CLD_TRAPPED): Likewise.
16070         (CLD_STOPPED): Likewise.
16071         (CLD_CONTINUED): Likewise.
16072         (POLL_IN): Likewise.
16073         (POLL_OUT): Likewise.
16074         (POLL_MSG): Likewise.
16075         (POLL_ERR): Likewise.
16076         (POLL_PRI): Likewise.
16077         (POLL_HUP): Likewise.
16078         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16079         Likewise.
16080         (ILL_ILLOPN): Likewise.
16081         (ILL_ILLADR): Likewise.
16082         (ILL_ILLTRP): Likewise.
16083         (ILL_PRVOPC): Likewise.
16084         (ILL_PRVREG): Likewise.
16085         (ILL_COPROC): Likewise.
16086         (ILL_BADSTK): Likewise.
16087         (ILL_BADIADDR): Likewise.
16088         (ILL_BREAK): Likewise.
16089         (FPE_INTDIV): Likewise.
16090         (FPE_INTOVF): Likewise.
16091         (FPE_FLTDIV): Likewise.
16092         (FPE_FLTOVF): Likewise.
16093         (FPE_FLTUND): Likewise.
16094         (FPE_FLTRES): Likewise.
16095         (FPE_FLTINV): Likewise.
16096         (FPE_FLTSUB): Likewise.
16097         (FPE_DECOVF): Likewise.
16098         (FPE_DECDIV): Likewise.
16099         (FPE_DECERR): Likewise.
16100         (FPE_INVASC): Likewise.
16101         (FPE_INVDEC): Likewise.
16102         (SEGV_MAPERR): Likewise.
16103         (SEGV_ACCERR): Likewise.
16104         (SEGV_PSTKOVF): Likewise.
16105         (BUS_ADRALN): Likewise.
16106         (BUS_ADRERR): Likewise.
16107         (BUS_OBJERR): Likewise.
16108         (BUS_MCEERR_AR): Likewise.
16109         (BUS_MCEERR_AO): Likewise.
16110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16111         (TRAP_TRACE): Likewise.
16112         (TRAP_BRANCH): Likewise.
16113         (TRAP_HWBKPT): Likewise.
16114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16115         __USE_XOPEN2K8].
16116         (CLD_KILLED): Likewise.
16117         (CLD_DUMPED): Likewise.
16118         (CLD_TRAPPED): Likewise.
16119         (CLD_STOPPED): Likewise.
16120         (CLD_CONTINUED): Likewise.
16121         (POLL_IN): Likewise.
16122         (POLL_OUT): Likewise.
16123         (POLL_MSG): Likewise.
16124         (POLL_ERR): Likewise.
16125         (POLL_PRI): Likewise.
16126         (POLL_HUP): Likewise.
16127         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16128         (ILL_ILLOPN): Likewise.
16129         (ILL_ILLADR): Likewise.
16130         (ILL_ILLTRP): Likewise.
16131         (ILL_PRVOPC): Likewise.
16132         (ILL_PRVREG): Likewise.
16133         (ILL_COPROC): Likewise.
16134         (ILL_BADSTK): Likewise.
16135         (FPE_INTDIV): Likewise.
16136         (FPE_INTOVF): Likewise.
16137         (FPE_FLTDIV): Likewise.
16138         (FPE_FLTOVF): Likewise.
16139         (FPE_FLTUND): Likewise.
16140         (FPE_FLTRES): Likewise.
16141         (FPE_FLTINV): Likewise.
16142         (FPE_FLTSUB): Likewise.
16143         (SEGV_MAPERR): Likewise.
16144         (SEGV_ACCERR): Likewise.
16145         (BUS_ADRALN): Likewise.
16146         (BUS_ADRERR): Likewise.
16147         (BUS_OBJERR): Likewise.
16148         (BUS_MCEERR_AR): Likewise.
16149         (BUS_MCEERR_AO): Likewise.
16150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16151         (TRAP_TRACE): Likewise.
16152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16153         __USE_XOPEN2K8].
16154         (CLD_KILLED): Likewise.
16155         (CLD_DUMPED): Likewise.
16156         (CLD_TRAPPED): Likewise.
16157         (CLD_STOPPED): Likewise.
16158         (CLD_CONTINUED): Likewise.
16159         (POLL_IN): Likewise.
16160         (POLL_OUT): Likewise.
16161         (POLL_MSG): Likewise.
16162         (POLL_ERR): Likewise.
16163         (POLL_PRI): Likewise.
16164         (POLL_HUP): Likewise.
16165         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16166         (ILL_ILLOPN): Likewise.
16167         (ILL_ILLADR): Likewise.
16168         (ILL_ILLTRP): Likewise.
16169         (ILL_PRVOPC): Likewise.
16170         (ILL_PRVREG): Likewise.
16171         (ILL_COPROC): Likewise.
16172         (ILL_BADSTK): Likewise.
16173         (FPE_INTDIV): Likewise.
16174         (FPE_INTOVF): Likewise.
16175         (FPE_FLTDIV): Likewise.
16176         (FPE_FLTOVF): Likewise.
16177         (FPE_FLTUND): Likewise.
16178         (FPE_FLTRES): Likewise.
16179         (FPE_FLTINV): Likewise.
16180         (FPE_FLTSUB): Likewise.
16181         (SEGV_MAPERR): Likewise.
16182         (SEGV_ACCERR): Likewise.
16183         (BUS_ADRALN): Likewise.
16184         (BUS_ADRERR): Likewise.
16185         (BUS_OBJERR): Likewise.
16186         (BUS_MCEERR_AR): Likewise.
16187         (BUS_MCEERR_AO): Likewise.
16188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16189         (TRAP_TRACE): Likewise.
16190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16191         __USE_XOPEN2K8].
16192         (CLD_KILLED): Likewise.
16193         (CLD_DUMPED): Likewise.
16194         (CLD_TRAPPED): Likewise.
16195         (CLD_STOPPED): Likewise.
16196         (CLD_CONTINUED): Likewise.
16197         (POLL_IN): Likewise.
16198         (POLL_OUT): Likewise.
16199         (POLL_MSG): Likewise.
16200         (POLL_ERR): Likewise.
16201         (POLL_PRI): Likewise.
16202         (POLL_HUP): Likewise.
16203         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16204         (ILL_ILLOPN): Likewise.
16205         (ILL_ILLADR): Likewise.
16206         (ILL_ILLTRP): Likewise.
16207         (ILL_PRVOPC): Likewise.
16208         (ILL_PRVREG): Likewise.
16209         (ILL_COPROC): Likewise.
16210         (ILL_BADSTK): Likewise.
16211         (FPE_INTDIV): Likewise.
16212         (FPE_INTOVF): Likewise.
16213         (FPE_FLTDIV): Likewise.
16214         (FPE_FLTOVF): Likewise.
16215         (FPE_FLTUND): Likewise.
16216         (FPE_FLTRES): Likewise.
16217         (FPE_FLTINV): Likewise.
16218         (FPE_FLTSUB): Likewise.
16219         (SEGV_MAPERR): Likewise.
16220         (SEGV_ACCERR): Likewise.
16221         (BUS_ADRALN): Likewise.
16222         (BUS_ADRERR): Likewise.
16223         (BUS_OBJERR): Likewise.
16224         (BUS_MCEERR_AR): Likewise.
16225         (BUS_MCEERR_AO): Likewise.
16226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16227         (TRAP_TRACE): Likewise.
16228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16229         __USE_XOPEN2K8].
16230         (CLD_KILLED): Likewise.
16231         (CLD_DUMPED): Likewise.
16232         (CLD_TRAPPED): Likewise.
16233         (CLD_STOPPED): Likewise.
16234         (CLD_CONTINUED): Likewise.
16235         (POLL_IN): Likewise.
16236         (POLL_OUT): Likewise.
16237         (POLL_MSG): Likewise.
16238         (POLL_ERR): Likewise.
16239         (POLL_PRI): Likewise.
16240         (POLL_HUP): Likewise.
16241         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16242         (ILL_ILLOPN): Likewise.
16243         (ILL_ILLADR): Likewise.
16244         (ILL_ILLTRP): Likewise.
16245         (ILL_PRVOPC): Likewise.
16246         (ILL_PRVREG): Likewise.
16247         (ILL_COPROC): Likewise.
16248         (ILL_BADSTK): Likewise.
16249         (ILL_DBLFLT): Likewise.
16250         (ILL_HARDWALL): Likewise.
16251         (FPE_INTDIV): Likewise.
16252         (FPE_INTOVF): Likewise.
16253         (FPE_FLTDIV): Likewise.
16254         (FPE_FLTOVF): Likewise.
16255         (FPE_FLTUND): Likewise.
16256         (FPE_FLTRES): Likewise.
16257         (FPE_FLTINV): Likewise.
16258         (FPE_FLTSUB): Likewise.
16259         (SEGV_MAPERR): Likewise.
16260         (SEGV_ACCERR): Likewise.
16261         (BUS_ADRALN): Likewise.
16262         (BUS_ADRERR): Likewise.
16263         (BUS_OBJERR): Likewise.
16264         (BUS_MCEERR_AR): Likewise.
16265         (BUS_MCEERR_AO): Likewise.
16266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16267         (TRAP_TRACE): Likewise.
16268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16269         __USE_XOPEN2K8].
16270         (CLD_KILLED): Likewise.
16271         (CLD_DUMPED): Likewise.
16272         (CLD_TRAPPED): Likewise.
16273         (CLD_STOPPED): Likewise.
16274         (CLD_CONTINUED): Likewise.
16275         (POLL_IN): Likewise.
16276         (POLL_OUT): Likewise.
16277         (POLL_MSG): Likewise.
16278         (POLL_ERR): Likewise.
16279         (POLL_PRI): Likewise.
16280         (POLL_HUP): Likewise.
16281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16282         (ILL_ILLOPN): Likewise.
16283         (ILL_ILLADR): Likewise.
16284         (ILL_ILLTRP): Likewise.
16285         (ILL_PRVOPC): Likewise.
16286         (ILL_PRVREG): Likewise.
16287         (ILL_COPROC): Likewise.
16288         (ILL_BADSTK): Likewise.
16289         (FPE_INTDIV): Likewise.
16290         (FPE_INTOVF): Likewise.
16291         (FPE_FLTDIV): Likewise.
16292         (FPE_FLTOVF): Likewise.
16293         (FPE_FLTUND): Likewise.
16294         (FPE_FLTRES): Likewise.
16295         (FPE_FLTINV): Likewise.
16296         (FPE_FLTSUB): Likewise.
16297         (SEGV_MAPERR): Likewise.
16298         (SEGV_ACCERR): Likewise.
16299         (BUS_ADRALN): Likewise.
16300         (BUS_ADRERR): Likewise.
16301         (BUS_OBJERR): Likewise.
16302         (BUS_MCEERR_AR): Likewise.
16303         (BUS_MCEERR_AO): Likewise.
16304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16305         (TRAP_TRACE): Likewise.
16306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16307         __USE_XOPEN2K8].
16308         (CLD_KILLED): Likewise.
16309         (CLD_DUMPED): Likewise.
16310         (CLD_TRAPPED): Likewise.
16311         (CLD_STOPPED): Likewise.
16312         (CLD_CONTINUED): Likewise.
16313         (POLL_IN): Likewise.
16314         (POLL_OUT): Likewise.
16315         (POLL_MSG): Likewise.
16316         (POLL_ERR): Likewise.
16317         (POLL_PRI): Likewise.
16318         (POLL_HUP): Likewise.
16319         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16320         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16322         [BZ #16670]
16323         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16324         before #include of <time.h>.
16325         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16326         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16327         (test-xfail-UNIX98/sched.h/conform): Likewise.
16329 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16331         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16332         error absence of trapping exception support.
16333         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16335 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16337         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16338         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16339         * timezone/Makefile (testdata): Move definition above include of
16340         Rules.
16341         (test-zones): New variable.
16342         (tests-special): Add zone files.
16343         (build-testdata): Use $(evaluate-test).
16345         * elf/Makefile (tests-special): Rename tests to end with .out.
16346         ($(objpfx)noload-mem): Likewise.
16347         ($(objpfx)tst-leaks1-mem): Likewise.
16348         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16349         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16350         $(objpfx)test-iconvconfig.out.
16351         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16352         set -e inside subshell and redirect output to file.
16353         * iconvdata/Makefile (generated): Rename tests to end with .out.
16354         Correct type.
16355         (tests-special): Rename tests to end with .out.
16356         ($(objpfx)mtrace-tst-loading): Likewise.
16357         * intl/Makefile (generated): Likewise.
16358         (tests-special): Likewise.
16359         ($(objpfx)mtrace-tst-gettext): Likewise.
16360         * misc/Makefile (generated): Likewise.
16361         (tests-special): Likewise.
16362         ($(objpfx)tst-error1-mem): Likewise.
16363         * nptl/Makefile (tests-special): Likewise.
16364         ($(objpfx)tst-stack3-mem): Likewise.
16365         (generated): Likewise.
16366         * posix/Makefile (generated): Likewise.
16367         (tests-special): Likewise.
16368         (xtests-special): Likewise.
16369         ($(objpfx)tst-fnmatch-mem): Likewise.
16370         ($(objpfx)bug-regex2-mem): Likewise.
16371         ($(objpfx)bug-regex14-mem): Likewise.
16372         ($(objpfx)bug-regex21-mem): Likewise.
16373         ($(objpfx)bug-regex31-mem): Likewise.
16374         ($(objpfx)tst-vfork3-mem): Likewise.
16375         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16376         ($(objpfx)tst-pcre-mem): Likewise.
16377         ($(objpfx)tst-boost-mem): Likewise.
16378         ($(objpfx)bug-ga2-mem): Likewise.
16379         ($(objpfx)bug-glob2-mem): Likewise.
16380         * resolv/Makefile (generate): Likewise.
16381         (tests-special): Likewise.
16382         (xtests-special): Likewise.
16383         (generated): Likewise.
16384         ($(objpfx)mtrace-tst-leaks): Likewise.
16385         ($(objpfx)mtrace-tst-leaks2): Likewise.
16387         * scripts/merge-test-results.sh: New file.
16388         * Makefile (tests-special-notdir): New variable.
16389         (tests): Run merge-test-results.sh.
16390         (xtests): Likewise.
16391         * Rules (tests-special-notdir): New variable.
16392         (xtests-special-notdir): Likewise.
16393         (tests): Run merge-test-results.sh
16394         (xtests): Likewise.
16396         * Makeconfig (test-xfail-name): New variable.
16397         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16398         compute variable name for expected failures.
16399         * conform/Makefile (conformtest-headers-data): New variable.
16400         (conformtest-standards): Likewise.
16401         (conformtest-headers-ISO): Likewise.
16402         (conformtest-headers-ISO99): Likewise.
16403         (conformtest-headers-ISO11): Likewise.
16404         (conformtest-headers-POSIX): Likewise.
16405         (conformtest-headers-XPG3): Likewise.
16406         (conformtest-headers-XPG4): Likewise.
16407         (conformtest-headers-UNIX98): Likewise.
16408         (conformtest-headers-XOPEN2K): Likewise.
16409         (conformtest-headers-POSIX2008): Likewise.
16410         (conformtest-headers-XOPEN2K8): Likewise.
16411         (conformtest-header-list-base): Likewise.
16412         (conformtest-header-list-tests): Likewise.
16413         (conformtest-header-base): Likewise.
16414         (conformtest-header-tests): Likewise.
16415         (tests-special): Add $(conformtest-header-list-tests).  If
16416         [$(fast-check) && !$(cross-compiling)], add
16417         $(conformtest-header-tests) instead of
16418         $(objpfx)run-conformtest.out.
16419         (generated): Add $(conformtest-header-list-base).  If
16420         [$(fast-check) && !$(cross-compiling)], add
16421         $(conformtest-header-base).  Remove previous setting.
16422         ($(conformtest-header-list-tests)): New target.
16423         (test-xfail-run-conformtest): Remove variable.
16424         ($(objpfx)run-conformtest.out): Remove target.
16425         (test-xfail-ISO11/complex.h/conform): New variable.
16426         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16427         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16428         (test-xfail-XPG3/varargs.h/conform): Likewise.
16429         (test-xfail-XPG4/varargs.h/conform): Likewise.
16430         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16431         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16432         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16433         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16434         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16435         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16436         (test-xfail-XPG3/ftw.h/conform): Likewise.
16437         (test-xfail-XPG3/grp.h/conform): Likewise.
16438         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16439         (test-xfail-XPG3/limits.h/conform): Likewise.
16440         (test-xfail-XPG3/pwd.h/conform): Likewise.
16441         (test-xfail-XPG3/search.h/conform): Likewise.
16442         (test-xfail-XPG3/signal.h/conform): Likewise.
16443         (test-xfail-XPG3/stdio.h/conform): Likewise.
16444         (test-xfail-XPG3/stdlib.h/conform): Likewise.
16445         (test-xfail-XPG3/string.h/conform): Likewise.
16446         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16447         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16448         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16449         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16450         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16451         (test-xfail-XPG3/sys/types.h/conform): Likewise.
16452         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16453         (test-xfail-XPG3/termios.h/conform): Likewise.
16454         (test-xfail-XPG3/time.h/conform): Likewise.
16455         (test-xfail-XPG3/unistd.h/conform): Likewise.
16456         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16457         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16458         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16459         (test-xfail-XPG4/netdb.h/conform): Likewise.
16460         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16461         (test-xfail-XPG4/signal.h/conform): Likewise.
16462         (test-xfail-XPG4/stdio.h/conform): Likewise.
16463         (test-xfail-XPG4/stdlib.h/conform): Likewise.
16464         (test-xfail-XPG4/stropts.h/conform): Likewise.
16465         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16466         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16467         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16468         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16469         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16470         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16471         (test-xfail-XPG4/sys/time.h/conform): Likewise.
16472         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16473         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16474         (test-xfail-XPG4/termios.h/conform): Likewise.
16475         (test-xfail-XPG4/ucontext.h/conform): Likewise.
16476         (test-xfail-XPG4/unistd.h/conform): Likewise.
16477         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16478         (test-xfail-POSIX/sched.h/conform): Likewise.
16479         (test-xfail-POSIX/signal.h/conform): Likewise.
16480         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16481         (test-xfail-POSIX/tar.h/conform): Likewise.
16482         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16483         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16484         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16485         (test-xfail-UNIX98/netdb.h/conform): Likewise.
16486         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16487         (test-xfail-UNIX98/sched.h/conform): Likewise.
16488         (test-xfail-UNIX98/signal.h/conform): Likewise.
16489         (test-xfail-UNIX98/stdio.h/conform): Likewise.
16490         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16491         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16492         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16493         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16494         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16495         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16496         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16497         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16498         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16499         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16500         (test-xfail-UNIX98/unistd.h/conform): Likewise.
16501         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16502         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16503         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16504         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16505         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16506         (test-xfail-XOPEN2K/math.h/conform): Likewise.
16507         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16508         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16509         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16510         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16511         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16512         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16513         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16514         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16515         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16516         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16517         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16518         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16519         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16520         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16521         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16522         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16523         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16524         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16525         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16526         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16527         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16528         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16529         (test-xfail-POSIX2008/signal.h/conform): Likewise.
16530         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16531         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16532         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16533         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16534         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16535         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16536         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16537         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16538         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16539         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16540         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16541         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16542         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16543         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16544         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16545         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16546         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16547         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16548         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16549         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16550         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16551         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16552         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16553         (conformtest-cc-flags): Likewise.
16554         ($(conformtest-header-tests): New target.
16555         * conform/check-header-lists.sh: New file.
16556         * conform/run-conformtest.sh: Remove.
16558         * conform/conformtest.pl: Allow ' and \ in values given for
16559         constants.
16560         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16561         inclusion.
16562         [POSIX] (sys/types.h): Likewise.
16563         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16564         inclusion.
16565         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16566         inclusion.
16567         * conform/data/signal.h-data (SIGIO): Remove expectation.
16568         [XPG3] (SIGBUS): Do not expect.
16569         [POSIX || XPG3] (SIGPOLL): Likewise.
16570         [POSIX || XPG3] (SIGPROF): Likewise.
16571         [POSIX || XPG3] (SIGSYS): Likewise.
16572         [XPG3] (SIGTRAP): Likewise.
16573         [POSIX || XPG3] (SIGURG): Likewise.
16574         [POSIX || XPG3] (SIGVTALRM): Likewise.
16575         [POSIX || XPG3] (SIGXCPU): Likewise.
16576         [POSIX || XPG3] (SIGXFSZ): Likewise.
16577         [POSIX] (SA_SIGINFO): Expect.
16578         [XPG3] (siginfo_t): Do not expect type or contents.
16579         [POSIX] (si_pid): Do not expect element.
16580         [POSIX] (si_uid): Likewise.
16581         [POSIX] (si_addr): Likewise.
16582         [POSIX] (si_status): Likewise.
16583         [POSIX] (si_band): Likewise.
16584         [XPG4] (si_value): Likewise.
16585         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16586         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16587         [POSIX || XPG3] (ILL_ILLADR): Likewise.
16588         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16589         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16590         [POSIX || XPG3] (ILL_PRVREG): Likewise.
16591         [POSIX || XPG3] (ILL_COPROC): Likewise.
16592         [POSIX || XPG3] (ILL_BADSTK): Likewise.
16593         [POSIX || XPG3] (FPE_INTDIV): Likewise.
16594         [POSIX || XPG3] (FPE_INTOVF): Likewise.
16595         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16596         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16597         [POSIX || XPG3] (FPE_FLTUND): Likewise.
16598         [POSIX || XPG3] (FPE_FLTRES): Likewise.
16599         [POSIX || XPG3] (FPE_FLTINV): Likewise.
16600         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16601         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16602         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16603         [POSIX || XPG3] (BUS_ADRALN): Likewise.
16604         [POSIX || XPG3] (BUS_ADRERR): Likewise.
16605         [POSIX || XPG3] (BUS_OBJERR): Likewise.
16606         [POSIX || XPG3] (CLD_EXITED): Likewise.
16607         [POSIX || XPG3] (CLD_KILLED): Likewise.
16608         [POSIX || XPG3] (CLD_DUMPED): Likewise.
16609         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16610         [POSIX || XPG3] (CLD_STOPPED): Likewise.
16611         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16612         [POSIX || XPG3] (POLL_IN): Likewise.
16613         [POSIX || XPG3] (POLL_OUT): Likewise.
16614         [POSIX || XPG3] (POLL_MSG): Likewise.
16615         [POSIX || XPG3] (POLL_ERR): Likewise.
16616         [POSIX || XPG3] (POLL_PRI): Likewise.
16617         [POSIX || XPG3] (POLL_HUP): Likewise.
16618         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16619         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16620         (SIG*): Do not allow.
16621         [XPG3] (si_*): Likewise.
16622         [XPG3] (SI_*): Likewise.
16623         [XPG3 || XPG4] (sigev_*): Likewise.
16624         [XPG3 || XPG4] (SIGEV_*): Likewise.
16625         [XPG3 || XPG4] (sival_*): Likewise.
16626         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16627         [POSIX || XPG3] (BUS_*): Likewise.
16628         [POSIX || XPG3] (CLD_*): Likewise.
16629         [POSIX || XPG3] (FPE_*): Likewise.
16630         [POSIX || XPG3] (ILL_*): Likewise.
16631         [POSIX || XPG3] (POLL_*): Likewise.
16632         [POSIX || XPG3] (SEGV_*): Likewise.
16633         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16634         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16635         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16636         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16637         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16638         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16639         Specify type and value.
16640         (TVERSLEN): Likewise.
16641         (REGTYPE): Likewise.
16642         (AREGTYPE): Likewise.
16643         (LNKTYPE): Likewise.
16644         (SYMTYPE): Likewise.
16645         (CHRTYPE): Likewise.
16646         (BLKTYPE): Likewise.
16647         (DIRTYPE): Likewise.
16648         (FIFOTYPE): Likewise.
16649         (CONTTYPE): Likewise.
16650         (TSUID): Likewise.
16651         (TSGID): Likewise.
16652         (TSVTX): Likewise.
16653         (TUREAD): Likewise.
16654         (TUWRITE): Likewise.
16655         (TUEXEC): Likewise.
16656         (TGREAD): Likewise.
16657         (TGWRITE): Likewise.
16658         (TGEXEC): Likewise.
16659         (TOREAD): Likewise.
16660         (TOWRITE): Likewise.
16661         (TOEXEC): Likewise.
16662         [POSIX] (TSVTX): Expect constant.
16664 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
16666         * Makefile (tests): Change dependencies to ....
16667         (tests-special): ... additions to this variable.
16668         (tests): Depend on $(tests-special).
16669         * Makerules (check-abi-list): New variable.
16670         (check-abi): Depend on $(check-abi-list).
16671         [$(subdir) = elf] (tests-special): Add
16672         $(objpfx)check-abi-libc.out.
16673         [$(build-shared) = yes && subdir] (tests-special): Add
16674         $(check-abi-list).
16675         [$(build-shared) = yes && subdir] (tests): Do not depend on
16676         check-abi.
16677         * Rules (tests): Depend on $(tests-special).
16678         (xtests): Depend on $(xtests-special).
16679         * catgets/Makefile (tests): Change dependencies to ....
16680         (tests-special): ... additions to this variable.
16681         * conform/Makefile (tests): Change dependencies to ....
16682         (tests-special): ... additions to this variable.
16683         * elf/Makefile (tests): Change dependencies to ....
16684         (tests-special): ... additions to this variable.
16685         * grp/Makefile (tests): Change dependencies to ....
16686         (tests-special): ... additions to this variable.
16687         * iconv/Makefile (xtests): Change dependencies to ....
16688         (xtests-special): ... additions to this variable.
16689         * iconvdata/Makefile (tests): Change dependencies to ....
16690         (tests-special): ... additions to this variable.
16691         * intl/Makefile (tests): Change dependencies to ....
16692         (tests-special): ... additions to this variable.  Also add
16693         $(objpfx)tst-gettext.out.
16694         * io/Makefile (tests): Change dependencies to ....
16695         (tests-special): ... additions to this variable.
16696         * libio/Makefile (tests): Change dependencies to ....
16697         (tests-special): ... additions to this variable.
16698         * malloc/Makefile (tests): Change dependencies to ....
16699         (tests-special): ... additions to this variable.
16700         * misc/Makefile (tests): Change dependencies to ....
16701         (tests-special): ... additions to this variable.
16702         * nptl/Makefile (tests): Change dependencies to ....
16703         (tests-special): ... additions to this variable.
16704         * nptl_db/Makefile (tests): Change dependencies to ....
16705         (tests-special): ... additions to this variable.
16706         * posix/Makefile (tests): Change dependencies to ....
16707         (tests-special): ... additions to this variable.
16708         (xtests): Change dependencies to ....
16709         (xtests-special): ... additions to this variable.
16710         * resolv/Makefile (tests): Change dependencies to ....
16711         (tests-special): ... additions to this variable.
16712         (xtests): Change dependencies to ....
16713         (xtests-special): ... additions to this variable.
16714         * stdio-common/Makefile (tests): Change dependencies to ....
16715         (tests-special): ... additions to this variable.
16716         (do-tst-unbputc): Remove target.
16717         (do-tst-printf): Likewise.
16718         * stdlib/Makefile (tests): Change dependencies to ....
16719         (tests-special): ... additions to this variable.
16720         * string/Makefile (tests): Change dependencies to ....
16721         (tests-special): ... additions to this variable.
16722         * sysdeps/x86/Makefile (tests): Change dependencies to ....
16723         (tests-special): ... additions to this variable.
16725         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16726         whole file.
16727         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16728         whole file.
16729         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16730         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16732         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16733         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16734         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16735         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16736         * conform/data/libgen.h-data [XPG3]: Likewise.
16737         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16738         * conform/data/ndbm.h-data [XPG3]: Likewise.
16739         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16740         * conform/data/netdb.h-data [XPG3]: Likewise.
16741         * conform/data/netinet/in.h-data [XPG3]: Likewise.
16742         * conform/data/poll.h-data [XPG3]: Likewise.
16743         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16744         * conform/data/strings.h-data [XPG3]: Likewise.
16745         * conform/data/stropts.h-data [XPG3]: Likewise.
16746         * conform/data/sys/mman.h-data [XPG3]: Likewise.
16747         * conform/data/sys/resource.h-data [XPG3]: Likewise.
16748         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16749         Likewise.
16750         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16751         * conform/data/sys/time.h-data [XPG3]: Likewise.
16752         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16753         * conform/data/sys/uio.h-data [XPG3]: Likewise.
16754         * conform/data/sys/un.h-data [XPG3]: Likewise.
16755         * conform/data/syslog.h-data [XPG3]: Likewise.
16756         * conform/data/ucontext.h-data [XPG3]: Likewise.
16757         * conform/data/utmpx.h-data [XPG3]: Likewise.
16758         * conform/data/varargs.h-data [UNIX98]: Enable file.
16760         * manual/Makefile (INSTALL_INFO): Remove variable setting.
16762         * math/libm-test.inc (struct test_f_f_data): Move expected results
16763         into structure for each rounding mode.
16764         (struct test_ff_f_data): Likewise.
16765         (struct test_ff_f_data_nexttoward): Likewise.
16766         (struct test_fi_f_data): Likewise.
16767         (struct test_fl_f_data): Likewise.
16768         (struct test_if_f_data): Likewise.
16769         (struct test_fff_f_data): Likewise.
16770         (struct test_c_f_data): Likewise.
16771         (struct test_f_f1_data): Likewise.
16772         (struct test_fF_f1_data): Likewise.
16773         (struct test_ffI_f1_data): Likewise.
16774         (struct test_c_c_data): Likewise.
16775         (struct test_cc_c_data): Likewise.
16776         (struct test_f_i_data): Likewise.
16777         (struct test_ff_i_data): Likewise.
16778         (struct test_f_l_data): Likewise.
16779         (struct test_f_L_data): Likewise.
16780         (struct test_fFF_11_data): Likewise.
16781         (RM_): New macro.
16782         (RM_FE_DOWNWARD): Likewise.
16783         (RM_FE_TONEAREST): Likewise.
16784         (RM_FE_TOWARDZERO): Likewise.
16785         (RM_FE_UPWARD): Likewise.
16786         (RUN_TEST_LOOP_f_f): Update references to expected results.
16787         (RUN_TEST_LOOP_2_f): Likewise.
16788         (RUN_TEST_LOOP_fff_f): Likewise.
16789         (RUN_TEST_LOOP_c_f): Likewise.
16790         (RUN_TEST_LOOP_f_f1): Likewise.
16791         (RUN_TEST_LOOP_fF_f1): Likewise.
16792         (RUN_TEST_LOOP_fI_f1): Likewise.
16793         (RUN_TEST_LOOP_ffI_f1): Likewise.
16794         (RUN_TEST_LOOP_c_c): Likewise.
16795         (RUN_TEST_LOOP_cc_c): Likewise.
16796         (RUN_TEST_LOOP_f_i): Likewise.
16797         (RUN_TEST_LOOP_f_i_tg): Likewise.
16798         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16799         (RUN_TEST_LOOP_f_b): Likewise.
16800         (RUN_TEST_LOOP_f_b_tg): Likewise.
16801         (RUN_TEST_LOOP_f_l): Likewise.
16802         (RUN_TEST_LOOP_f_L): Likewise.
16803         (RUN_TEST_LOOP_fFF_11): Likewise.
16804         * math/gen-libm-test.pl (parse_args): Output four copies of
16805         expected results for each test.
16807         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16808         (__ASSUME_UTIMES): Remove.
16809         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16810         (__ASSUME_UTIMES): Likewise.
16812         * math/gen-auto-libm-tests.c: Update comment on output format.
16813         (output_for_one_input_case): Generate before-rounding and
16814         after-rounding information as conditions on output flags not
16815         floating-point format.
16816         * math/auto-libm-test-out: Regenerated.
16817         * math/gen-libm-test.pl (cond_value): New function.
16818         (or_cond_value): Use cond_value.
16819         (generate_testfile): Handle conditional exceptions.
16821 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16823         * math/libm-test.inc (max_valid_error): New variable.
16824         (init_max_error): Take new argument specifying whether function
16825         results are exactly determined.  Set max_valid_error and bound
16826         other variables for errors based on this argument.
16827         (set_max_error): Do not record results above max_valid_error.
16828         (check_float_internal): Only accept errors of up to 0.5ulps if
16829         also at most max_valid_error.
16830         (START): Take new argument EXACT and pass it to init_max_error.
16831         (acos_test): Update call to START.
16832         (acos_test_tonearest): Likewise.
16833         (acos_test_towardzero): Likewise.
16834         (acos_test_downward): Likewise.
16835         (acos_test_upward): Likewise.
16836         (acosh_test): Likewise.
16837         (asin_test): Likewise.
16838         (asin_test_tonearest): Likewise.
16839         (asin_test_towardzero): Likewise.
16840         (asin_test_downward): Likewise.
16841         (asin_test_upward): Likewise.
16842         (asinh_test): Likewise.
16843         (atan_test): Likewise.
16844         (atanh_test): Likewise.
16845         (atan2_test): Likewise.
16846         (cabs_test): Likewise.
16847         (cacos_test): Likewise.
16848         (cacosh_test): Likewise.
16849         (carg_test): Likewise.
16850         (casin_test): Likewise.
16851         (casinh_test): Likewise.
16852         (catan_test): Likewise.
16853         (catanh_test): Likewise.
16854         (cbrt_test): Likewise.
16855         (ccos_test): Likewise.
16856         (ccosh_test): Likewise.
16857         (ceil_test): Likewise.
16858         (cexp_test): Likewise.
16859         (cimag_test): Likewise.
16860         (clog_test): Likewise.
16861         (clog10_test): Likewise.
16862         (conj_test): Likewise.
16863         (copysign_test): Likewise.
16864         (cos_test): Likewise.
16865         (cos_test_tonearest): Likewise.
16866         (cos_test_towardzero): Likewise.
16867         (cos_test_downward): Likewise.
16868         (cos_test_upward): Likewise.
16869         (cosh_test): Likewise.
16870         (cosh_test_tonearest): Likewise.
16871         (cosh_test_towardzero): Likewise.
16872         (cosh_test_downward): Likewise.
16873         (cosh_test_upward): Likewise.
16874         (cpow_test): Likewise.
16875         (cproj_test): Likewise.
16876         (creal_test): Likewise.
16877         (csin_test): Likewise.
16878         (csinh_test): Likewise.
16879         (csqrt_test): Likewise.
16880         (ctan_test): Likewise.
16881         (ctan_test_tonearest): Likewise.
16882         (ctan_test_towardzero): Likewise.
16883         (ctan_test_downward): Likewise.
16884         (ctan_test_upward): Likewise.
16885         (ctanh_test): Likewise.
16886         (ctanh_test_tonearest): Likewise.
16887         (ctanh_test_towardzero): Likewise.
16888         (ctanh_test_downward): Likewise.
16889         (ctanh_test_upward): Likewise.
16890         (erf_test): Likewise.
16891         (erfc_test): Likewise.
16892         (exp_test): Likewise.
16893         (exp_test_tonearest): Likewise.
16894         (exp_test_towardzero): Likewise.
16895         (exp_test_downward): Likewise.
16896         (exp_test_upward): Likewise.
16897         (exp10_test): Likewise.
16898         (exp10_test_tonearest): Likewise.
16899         (exp10_test_towardzero): Likewise.
16900         (exp10_test_downward): Likewise.
16901         (exp10_test_upward): Likewise.
16902         (pow10_test): Likewise.
16903         (exp2_test): Likewise.
16904         (expm1_test): Likewise.
16905         (expm1_test_tonearest): Likewise.
16906         (expm1_test_towardzero): Likewise.
16907         (expm1_test_downward): Likewise.
16908         (expm1_test_upward): Likewise.
16909         (fabs_test): Likewise.
16910         (fdim_test): Likewise.
16911         (floor_test): Likewise.
16912         (fma_test): Likewise.
16913         (fma_test_towardzero): Likewise.
16914         (fma_test_downward): Likewise.
16915         (fma_test_upward): Likewise.
16916         (fmax_test): Likewise.
16917         (fmin_test): Likewise.
16918         (fmod_test): Likewise.
16919         (fpclassify_test): Likewise.
16920         (frexp_test): Likewise.
16921         (hypot_test): Likewise.
16922         (ilogb_test): Likewise.
16923         (isfinite_test): Likewise.
16924         (finite_test): Likewise.
16925         (isgreater_test): Likewise.
16926         (isgreaterequal_test): Likewise.
16927         (isinf_test): Likewise.
16928         (isless_test): Likewise.
16929         (islessequal_test): Likewise.
16930         (islessgreater_test): Likewise.
16931         (isnan_test): Likewise.
16932         (isnormal_test): Likewise.
16933         (issignaling_test): Likewise.
16934         (isunordered_test): Likewise.
16935         (j0_test): Likewise.
16936         (j1_test): Likewise.
16937         (jn_test): Likewise.
16938         (ldexp_test): Likewise.
16939         (lgamma_test): Likewise.
16940         (gamma_test): Likewise.
16941         (lrint_test): Likewise.
16942         (lrint_test_tonearest): Likewise.
16943         (lrint_test_towardzero): Likewise.
16944         (lrint_test_downward): Likewise.
16945         (lrint_test_upward): Likewise.
16946         (llrint_test): Likewise.
16947         (llrint_test_tonearest): Likewise.
16948         (llrint_test_towardzero): Likewise.
16949         (llrint_test_downward): Likewise.
16950         (llrint_test_upward): Likewise.
16951         (log_test): Likewise.
16952         (log10_test): Likewise.
16953         (log1p_test): Likewise.
16954         (log2_test): Likewise.
16955         (logb_test): Likewise.
16956         (logb_test_downward): Likewise.
16957         (lround_test): Likewise.
16958         (llround_test): Likewise.
16959         (modf_test): Likewise.
16960         (nearbyint_test): Likewise.
16961         (nextafter_test): Likewise.
16962         (nexttoward_test): Likewise.
16963         (pow_test): Likewise.
16964         (pow_test_tonearest): Likewise.
16965         (pow_test_towardzero): Likewise.
16966         (pow_test_downward): Likewise.
16967         (pow_test_upward): Likewise.
16968         (remainder_test): Likewise.
16969         (drem_test): Likewise.
16970         (remainder_test_tonearest): Likewise.
16971         (drem_test_tonearest): Likewise.
16972         (remainder_test_towardzero): Likewise.
16973         (drem_test_towardzero): Likewise.
16974         (remainder_test_downward): Likewise.
16975         (drem_test_downward): Likewise.
16976         (remainder_test_upward): Likewise.
16977         (drem_test_upward): Likewise.
16978         (remquo_test): Likewise.
16979         (rint_test): Likewise.
16980         (rint_test_tonearest): Likewise.
16981         (rint_test_towardzero): Likewise.
16982         (rint_test_downward): Likewise.
16983         (rint_test_upward): Likewise.
16984         (round_test): Likewise.
16985         (scalb_test): Likewise.
16986         (scalbn_test): Likewise.
16987         (scalbln_test): Likewise.
16988         (signbit_test): Likewise.
16989         (sin_test): Likewise.
16990         (sin_test_tonearest): Likewise.
16991         (sin_test_towardzero): Likewise.
16992         (sin_test_downward): Likewise.
16993         (sin_test_upward): Likewise.
16994         (sincos_test): Likewise.
16995         (sinh_test): Likewise.
16996         (sinh_test_tonearest): Likewise.
16997         (sinh_test_towardzero): Likewise.
16998         (sinh_test_downward): Likewise.
16999         (sinh_test_upward): Likewise.
17000         (sqrt_test): Likewise.
17001         (sqrt_test_tonearest): Likewise.
17002         (sqrt_test_towardzero): Likewise.
17003         (sqrt_test_downward): Likewise.
17004         (sqrt_test_upward): Likewise.
17005         (tan_test): Likewise.
17006         (tan_test_tonearest): Likewise.
17007         (tan_test_towardzero): Likewise.
17008         (tan_test_downward): Likewise.
17009         (tan_test_upward): Likewise.
17010         (tanh_test): Likewise.
17011         (tgamma_test): Likewise.
17012         (trunc_test): Likewise.
17013         (y0_test): Likewise.
17014         (y1_test): Likewise.
17015         (yn_test): Likewise.
17016         (significand_test): Likewise.
17018         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17019         individual tests in comment.
17020         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17021         (prev_max_error): New variable.
17022         (prev_real_max_error): Likewise.
17023         (prev_imag_max_error): Likewise.
17024         (compare_ulp_data): Don't refer to test names in comment.
17025         (find_test_ulps): Remove function.
17026         (find_function_ulps): Likewise.
17027         (find_complex_function_ulps): Likewise.
17028         (init_max_error): Take function name as argument.  Look up ulps
17029         for that function.
17030         (print_ulps): Remove function.
17031         (print_max_error): Use prev_max_error instead of calling
17032         find_function_ulps.
17033         (print_complex_max_error): Use prev_real_max_error and
17034         prev_imag_max_error instead of calling find_complex_function_ulps.
17035         (check_float_internal): Take max_ulp parameter instead of calling
17036         find_test_ulps.  Don't call print_ulps.
17037         (check_float): Update call to check_float_internal.
17038         (check_complex): Update calls to check_float_internal.
17039         (START): Pass argument to init_max_error.
17040         * math/gen-libm-test.pl (%results): Don't include "kind"
17041         information.
17042         (parse_ulps): Don't handle ulps of individual tests.
17043         (print_ulps_file): Likewise.
17044         (output_ulps): Likewise.
17045         * math/README.libm-test: Update.
17046         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17047         individual tests.
17048         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17049         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17050         * sysdeps/arm/libm-test-ulps: Likewise.
17051         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17052         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17053         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17054         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17055         * sysdeps/microblaze/libm-test-ulps: Likewise.
17056         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17057         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17058         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17059         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17060         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17061         * sysdeps/sh/libm-test-ulps: Likewise.
17062         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17063         * sysdeps/tile/libm-test-ulps: Likewise.
17064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17066 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17068         * math/libm-test.inc (print_complex_max_error): Check separately
17069         whether real and imaginary errors are within allowed range and
17070         pass 0 to print_complex_function_ulps instead of value within
17071         allowed range.
17073 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17075         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17076         formatting.
17077         (get_handles_fopen): Likewise.
17078         (do_write_test): Likewise.
17080         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17082         * libio/fileops.c (do_ftell): Use cached offset when
17083         available.
17084         * libio/iofwide.c (do_ftell_wide): Likewise.
17085         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17086         _IO_file_attach.
17087         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17089         [BZ #16532]
17090         * libio/libioP.h (get_file_offset): New function.
17091         * libio/fileops.c (get_file_offset): Likewise.
17092         (do_ftell): Likewise.
17093         (_IO_new_file_seekoff): Split out ftell logic.
17094         * libio/wfileops.c (do_ftell_wide): Likewise.
17095         (_IO_wfile_seekoff): Split out ftell logic.
17096         * libio/tst-ftell-active-handler.c: New test case.
17097         * libio/Makefile (tests): Add it.
17099 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17101         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17102         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17104 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17106         [BZ #16639]
17107         * nscd/connections.c (nscd_init): Call do_exit.
17108         (start_threads): Call do_exit and notify_parent.
17109         (begin_drop_privileges): Call do_exit.
17110         (finish_drop_privileges): Likewise.
17111         * nscd/selinux.c (preserve_capabilities): Likewise.
17112         (install_real_capabilities): Likewise.
17113         (nscd_selinux_enabled): Likewise.
17114         (avc_create_thread): Likewise.
17115         (avc_alloc_lock): Likewise.
17116         (nscd_avc_init): Likewise.
17117         * nscd/nscd.c (parent_fd): New static variable.
17118         (main): Create a pipe between parent and child processes.
17119         Skip closing parent_fd.
17120         (monitor_child): New function.
17121         (do_exit): Likewise.
17122         (notify_parent): Likewise.
17123         * nscd/nscd.h (notify_parent): Likewise.
17124         (do_exit): Likewise.
17126 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17128         * malloc/malloc.c (__libc_calloc): Revert last change.
17130 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17134 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17136         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17138         implementation.
17139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17140         (__libc_ifunc_impl_list): Likewise.
17141         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17142         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17143         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17144         * string/strrchr.c: Define STRRCHR.
17146 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17148         * benchtest/bench-strtok.c (simple_strtok): Delete.
17149         (strtok_string): Use as benchmark.
17150         * string/strtok (STRTOK): New macro.
17152 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17154         * manual/threads.texi: Add header and standard comments to all
17155         functions.
17157         * elf/dl-lookup.c (check_match): New function.
17158         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17159         (do_lookup_x): Remove nested function check_match. Use non-nested
17160         function check_match.
17162 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17164         * csu/Makefile (generated, before-compile): Use += rather than =.
17165         * catgets/Makefile (generated, generated-dirs): Likewise.
17166         * debug/Makefile (generated): Likewise.
17167         * dlfcn/Makefile (generated): Likewise.
17168         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17169         * iconvdata/Makefile (before-compile, generated): Likewise.
17170         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17171         * libio/Makefile (generated): Likewise.
17172         * malloc/Makefile (generated): Likewise.
17173         * manual/Makefile (generated, generated-dirs): Likewise.
17174         * misc/Makefile (generated): Likewise.
17175         * posix/Makefile (generated): Likewise.
17176         * resolv/Makefile (generated): Likewise.
17177         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17178         * timezone/Makefile (generated, generated-dirs): Likewise.
17180         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17182 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17185         power8 implementation.
17186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17187         file: POWER8 llround ifunc implementation.
17188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17189         (__lllround): Add POWER8 implementation.
17190         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17191         POWER8 llround implementation.
17193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17194         power8 implementation.
17195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17196         file: POWER8 llrint ifunc implementation.
17197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17198         Add POWER8 implementation.
17199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17200         POWER8 llrint implementation.
17202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17203         power8 implementation.
17204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17205         file: POWER8 finite ifunc implementation.
17206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17207         Add POWER8 implementation.
17208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17209         Likewise.
17210         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17211         POWER8 finite implementation.
17212         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17215         power8 implementation.
17216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17217         file: POWER8 isinf ifunc implementation.
17218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17219         POWER8 implementation.
17220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17221         Likewise.
17222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17223         isinf implementation.
17224         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17226         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17227         (INIT_ARCH): Add hwcap2 initialization.
17228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17229         power8 implementation.
17230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17231         file: POWER8 isnan ifunc implementation.
17232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17233         POWER8 implementation.
17234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17235         Likewise.
17236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17237         isnan implementation.
17238         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17240 2014-02-27  Joey Ye  <joey.ye@arm.com>
17242         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17243         (_FP_NANFRAC_Q): Set to zero.
17245 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17247         [BZ #16623]
17248         * math/auto-libm-test-in: New test inputs.
17249         * math/auto-libm-test-out: Regenerate.
17250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17251         and DA.
17252         (__cos): Likewise.
17253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17255 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17257         * scripts/evaluate-test.sh: Take new argument indicating whether
17258         failure is expected.
17259         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17260         indicating whether failure is expected.
17261         * conform/Makefile (test-xfail-run-conformtest): New variable.
17262         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17263         level.
17264         * posix/Makefile (test-xfail-annexc): New variable.
17265         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17267 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17269         * argp/Makefile: Include Makeconfig immediately after defining
17270         subdir.
17271         * assert/Makefile: Likewise.
17272         * benchtests/Makefile: Likewise.
17273         * catgets/Makefile: Likewise.
17274         * conform/Makefile: Likewise.
17275         * crypt/Makefile: Likewise.
17276         * csu/Makefile: Likewise.
17277         (all): Remove target.
17278         * ctype/Makefile: Include Makeconfig immediately after defining
17279         subdir.
17280         * debug/Makefile: Likewise.
17281         * dirent/Makefile: Likewise.
17282         * dlfcn/Makefile: Likewise.
17283         * gmon/Makefile: Likewise.
17284         * gnulib/Makefile: Likewise.
17285         * grp/Makefile: Likewise.
17286         * gshadow/Makefile: Likewise.
17287         * hesiod/Makefile: Likewise.
17288         * hurd/Makefile: Likewise.
17289         (all): Remove target.
17290         * iconvdata/Makefile: Include Makeconfig immediately after
17291         defining subdir.
17292         * inet/Makefile: Likewise.
17293         * intl/Makefile: Likewise.
17294         * io/Makefile: Likewise.
17295         * libio/Makefile: Likewise.
17296         (all): Remove target.
17297         * locale/Makefile: Include Makeconfig immediately after defining
17298         subdir.
17299         * login/Makefile: Likewise.
17300         * mach/Makefile: Likewise.
17301         (all): Remove target.
17302         * malloc/Makefile: Include Makeconfig immediately after defining
17303         subdir.
17304         (all): Remove target.
17305         * manual/Makefile: Include Makeconfig immediately after defining
17306         subdir.
17307         * math/Makefile: Likewise.
17308         * misc/Makefile: Likewise.
17309         * nis/Makefile: Likewise.
17310         * nss/Makefile: Likewise.
17311         * po/Makefile: Likewise.
17312         (all): Remove target.
17313         * posix/Makefile: Include Makeconfig immediately after defining
17314         subdir.
17315         * pwd/Makefile: Likewise.
17316         * resolv/Makefile: Likewise.
17317         * resource/Makefile: Likewise.
17318         * rt/Makefile: Likewise.
17319         * setjmp/Makefile: Likewise.
17320         * shadow/Makefile: Likewise.
17321         * signal/Makefile: Likewise.
17322         * socket/Makefile: Likewise.
17323         * soft-fp/Makefile: Likewise.
17324         * stdio-common/Makefile: Likewise.
17325         * stdlib/Makefile: Likewise.
17326         * streams/Makefile: Likewise.
17327         * string/Makefile: Likewise.
17328         * sunrpc/Makefile: Likewise.
17329         (all): Remove target.
17330         * sysvipc/Makefile: Include Makeconfig immediately after defining
17331         subdir.
17332         * termios/Makefile: Likewise.
17333         * time/Makefile: Likewise.
17334         * timezone/Makefile: Likewise.
17335         (all): Remove target.
17336         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17337         subdir.
17338         * wctype/Makefile: Likewise.
17340 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17342         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17343         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17344         (libc_feholdexcept_setround_mips): Ditto.
17345         (libc_feholdsetround): New.
17346         (libc_feholdsetroundf): New.
17347         (libc_feholdsetroundl): New.
17348         (libc_feupdateenv_test_mips): New.
17349         (libc_feupdateenv_test): New.
17350         (libc_feupdateenv_testf): New.
17351         (libc_feupdateenv_testl): New.
17352         (libc_feresetround): New.
17353         (libc_feresetroundf): New.
17354         (libc_feresetroundl): New.
17355         (libc_fetestexcept_mips): New.
17356         (libc_fetestexcept): New.
17357         (libc_fetestexceptf): New.
17358         (libc_fetestexceptl): New.
17359         (HAVE_RM_CTX): New.
17360         (libc_feholdexcept_setround_mips_ctx): New.
17361         (libc_feholdexcept_setround_ctx): New.
17362         (libc_feholdexcept_setroundf_ctx): New.
17363         (libc_feholdexcept_setroundl_ctx): New.
17364         (libc_fesetenv_mips_ctx): New.
17365         (libc_fesetenv_ctx): New.
17366         (libc_fesetenv_ctxf): New.
17367         (libc_fesetenv_ctxl): New.
17368         (libc_feupdateenv_mips_ctx): New.
17369         (libc_feupdateenv_ctx): New.
17370         (libc_feupdateenvf_ctx): New.
17371         (libc_feupdateenvl_ctx): New.
17372         (libc_feholdsetround_mips_ctx): New.
17373         (libc_feholdsetround_ctx): New.
17374         (libc_feholdsetroundf_ctx): New.
17375         (libc_feholdsetroundl_ctx): New.
17376         (libc_feresetround_mips_ctx): New.
17377         (libc_feresetround_ctx): New.
17378         (libc_feresetroundf_ctx): New.
17379         (libc_feresetroundl_ctx): New.
17381 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17383         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17385         * manual/ipc.texi: New file.
17386         * manual/Makefile (chapters): Add ipc.
17387         * manual/job.texi: Add "Inter-Process Communication" to next.
17388         * manual/process.texi: Add "Inter-Process Communication" to prev.
17390 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17394 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17396         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17398         * manual/arith.texi: Fix spaces after sentences.
17399         * manual/charset.texi: Likewise.
17400         * manual/errno.texi: Likewise.
17401         * manual/install.texi: Likewise.
17402         * manual/llio.texi: Likewise.
17403         * manual/locale.texi: Likewise.
17404         * manual/maint.texi: Likewise.
17405         * manual/math.texi: Likewise.
17406         * manual/memory.texi: Likewise.
17407         * manual/message.texi: Likewise.
17408         * manual/probes.texi: Likewise.
17409         * manual/resource.texi: Likewise.
17410         * manual/signal.texi: Likewise.
17411         * manual/socket.texi: Likewise.
17412         * manual/stdio.texi: Likewise.
17413         * manual/string.texi: Likewise.
17414         * manual/time.texi: Likewise.
17415         * manual/users.texi: Likewise.
17417 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17419         [BZ #16632]
17420         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17421         _DEFAULT_SOURCE is defined.
17423 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17424             Carlos O'Donell  <carlos@redhat.com>
17426         [BZ #16613]
17427         * elf/dl-tls.c (_dl_count_modids): New function.
17428         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17429         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17430         audit library and increment generation counter.
17431         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17432         * elf/tst-audit9.c: New file.
17433         * elf/tst-auditmod9a.c: New file.
17434         * elf/tst-auditmod9b.c: New file.
17435         * elf/Makefile: Add rules to build and run tst-audit9.
17437 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17439         [BZ #15347]
17440         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17442 2014-02-25  Will Newton  <will.newton@linaro.org>
17444         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17445         (__longjmp): Restore sp and lr before restoring callee
17446         saved registers.  Add longjmp and longjmp_target
17447         SystemTap probe point.
17448         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17449         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17450         Define to zero to match jmpbuf layout.
17451         * sysdeps/arm/setjmp.S: Include stap-probe.h.
17452         (__sigsetjmp): Save sp and lr before saving callee
17453         saved registers.  Add setjmp SystemTap probe point.
17455 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17459 2014-02-24  Andreas Schwab  <schwab@suse.de>
17461         [BZ #15804]
17462         * elf/pldd.c (wait_for_ptrace_stop): New function.
17463         (main): Call it after attaching.
17465 2014-02-22  Roland McGrath  <roland@hack.frob.com>
17467         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17468         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17469         Versions files is now verboten.
17470         * hurd/Versions (libc: GLIBC_2.0):
17471         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17472         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17473         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17474         * mach/Versions: Likewise.
17476         * csu/Versions: Remove unused %include.
17477         * resolv/Versions: Likewise.
17479 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
17481         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17482         ($(objpfx)check-local-headers.out): Likewise.
17483         ($(objpfx)begin-end-check.out): Likewise.
17484         * Makerules (check-abi-%.out): Likewise.
17485         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17486         ($(objpfx)test2.cat): Likewise.
17487         ($(objpfx)de/libc.cat): Likewise.
17488         ($(objpfx)test-gencat.out): Likewise.
17489         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17490         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17491         ($(objpfx)noload-mem): Likewise.
17492         ($(objpfx)tst-pathopt.out): Likewise.
17493         ($(objpfx)tst-rtld-load-self.out): Likewise.
17494         ($(objpfx)tst-array1-cmp.out): Likewise.
17495         ($(objpfx)tst-array1-static-cmp.out): Likewise.
17496         ($(objpfx)tst-array2-cmp.out): Likewise.
17497         ($(objpfx)tst-array3-cmp.out): Likewise.
17498         ($(objpfx)tst-array4-cmp.out): Likewise.
17499         ($(objpfx)tst-array5-cmp.out): Likewise.
17500         ($(objpfx)tst-array5-static-cmp.out): Likewise.
17501         ($(objpfx)check-textrel.out): Likewise.
17502         ($(objpfx)check-execstack.out): Likewise.
17503         ($(objpfx)check-localplt.out): Likewise.
17504         ($(objpfx)order2-cmp.out): Likewise.
17505         ($(objpfx)tst-leaks1-mem): Likewise.
17506         ($(objpfx)tst-leaks1-static-mem): Likewise.
17507         ($(objpfx)tst-initorder-cmp.out): Likewise.
17508         ($(objpfx)tst-initorder2-cmp.out): Likewise.
17509         ($(objpfx)tst-unused-dep.out): Likewise.
17510         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17511         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17512         * iconv/Makefile (test-iconvconfig): Likewise.
17513         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17514         ($(objpfx)iconv-test.out): Likewise.
17515         ($(objpfx)tst-tables.out): Likewise.
17516         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17517         ($(objpfx)tst-gettext.out): Likewise.
17518         ($(objpfx)tst-translit.out): Likewise.
17519         ($(objpfx)tst-gettext2.out): Likewise.
17520         ($(objpfx)tst-gettext4.out): Likewise.
17521         ($(objpfx)tst-gettext6.out): Likewise.
17522         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17523         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17524         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17525         ($(objpfx)tst-fopenloc-mem.out): Likewise.
17526         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17527         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17528         * posix/Makefile ($(objpfx)globtest.out): Likewise.
17529         ($(objpfx)wordexp-tst.out): Likewise.
17530         ($(objpfx)annexc.out): Likewise.
17531         ($(objpfx)tst-fnmatch-mem): Likewise.
17532         ($(objpfx)bug-regex2-mem): Likewise.
17533         ($(objpfx)bug-regex14-mem): Likewise.
17534         ($(objpfx)bug-regex21-mem): Likewise.
17535         ($(objpfx)bug-regex31-mem): Likewise.
17536         ($(objpfx)tst-vfork3-mem): Likewise.
17537         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17538         ($(objpfx)tst-pcre-mem): Likewise.
17539         ($(objpfx)tst-boost-mem): Likewise.
17540         ($(objpfx)tst-getconf.out): Likewise.
17541         ($(objpfx)bug-ga2-mem): Likewise.
17542         ($(objpfx)bug-glob2-mem): Likewise.
17543         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17544         ($(objpfx)mtrace-tst-leaks2): Likewise.
17545         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17546         ($(objpfx)tst-printf.out): Likewise.
17547         ($(objpfx)tst-setvbuf1.out): Likewise.
17548         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17549         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17550         ($(objpfx)tst-fmtmsg.out): Likewise.
17551         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17552         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17554         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17555         * bits/sigaction.h [__USE_MISC]: Likewise.
17556         * bits/waitstatus.h: Update #endif comments.
17557         * ctype/ctype.h: Likewise.
17558         * dirent/dirent.h: Likewise.
17559         [__USE_MISC]: Remove redundant conditionals.
17560         * grp/grp.h: Update #endif comments.
17561         [__USE_GNU]: Remove redundant conditionals.
17562         [__USE_MISC]: Likewise.
17563         * inet/netinet/in.h [__USE_GNU]: Likewise.
17564         * io/sys/stat.h [__USE_MISC]: Likewise.
17565         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17566         * libio/bits/stdio.h: Update #endif comments.
17567         [__USE_MISC]: Remove redundant conditionals.
17568         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17569         * libio/stdio.h: Update #endif comments.
17570         [__USE_MISC]: Remove redundant conditionals.
17571         * math/bits/math-finite.h [__USE_MISC]: Likewise.
17572         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17573         * math/math.h: Update #else and #endif comments.
17574         [__USE_MISC]: Remove redundant conditionals.
17575         * misc/sys/uio.h: Update #endif comments.
17576         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17577         * posix/glob.h [__USE_MISC]: Likewise.
17578         * posix/sys/types.h: Update #endif comments.
17579         [__USE_MISC]: Remove redundant conditionals.
17580         * posix/sys/wait.h: Update #endif comments.
17581         [__USE_MISC]: Remove redundant conditionals.
17582         * posix/unistd.h: Update #endif comments.
17583         [__USE_MISC]: Remove redundant conditionals.
17584         * pwd/pwd.h [__USE_GNU]: Likewise.
17585         [__USE_MISC]: Likewise.
17586         * resolv/netdb.h [__USE_GNU]: Likewise.
17587         * signal/signal.h: Update #endif comments.
17588         [__USE_MISC]: Remove redundant conditionals.
17589         * stdlib/stdlib.h: Update #else and #endif comments.
17590         [__USE_MISC]: Remove redundant conditionals.
17591         [__USE_GNU]: Likewise.
17592         * string/bits/string2.h [__USE_MISC]: Likewise.
17593         * string/string.h: Update #endif comments.
17594         [__USE_MISC]: Remove redundant conditionals.
17595         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17596         Likewise.
17597         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17598         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17599         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17600         Likewise.
17601         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17602         Likewise.
17603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17604         comments.
17605         [__USE_MISC]: Remove redundant conditionals.
17606         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17607         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17608         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17609         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17610         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17611         Likewise.
17612         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17613         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17614         Likewise.
17615         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17616         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17617         Likewise.
17618         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17619         Likewise.
17620         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17621         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17622         Likewise.
17623         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17624         Likewise.
17625         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17626         * sysdeps/x86/bits/string.h: Update #endif comments.
17627         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17628         conditionals.
17629         * time/sys/time.h: Update #endif comments.
17630         * time/time.h: Likewise.
17631         [__USE_MISC]: Remove redundant conditionals.
17633 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
17635         [BZ #16600]
17636         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17638 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
17640         * Versions.def (librt): Add GLIBC_2.17.
17642 2014-02-21  Adam Conrad  <adconrad@0c3.net>
17644         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17645         synonym for _SYS_AUXV_H to allow direct inclusion.
17646         * sysdeps/sparc/bits/hwcap.h: Likewise.
17647         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17648         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17649         * sysdeps/sparc/sysdep.h: Likewise.
17651 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17653         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17655 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17657         * benchtests/bench-strrchr.c: Print length instead of position.
17659 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
17661         [BZ #16611]
17662         * sysdeps/unix/sysv/linux/kernel-features.h
17663         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17664         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17665         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17666         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17667         Likewise.
17668         [__i386__ || __powerpc__ || __sh__ || __sparc__]
17669         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17670         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17671         (__ASSUME_SENDMMSG): Define instead of using previous
17672         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17673         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17674         (__ASSUME_SENDMMSG_SYSCALL): Define.
17675         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17676         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17677         Likewise.
17678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17679         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17680         Likewise.
17681         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17682         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17683         Likewise.
17684         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17685         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17686         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17687         [__ASSUME_SENDMMSG]: Change conditionals to
17688         [__ASSUME_SENDMMSG_SOCKETCALL].
17689         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17690         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17691         Define.
17692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17693         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17694         Likewise.
17695         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17696         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17697         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17698         [!__ASSUME_SENDMMSG]: Change conditional to
17699         [!__ASSUME_SENDMMSG_SOCKETCALL].
17700         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17701         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17702         Define.
17704         [BZ #16610]
17705         * sysdeps/unix/sysv/linux/kernel-features.h
17706         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17707         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17708         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17709         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17710         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17711         [__i386__ || __sparc__]
17712         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17713         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17714         (__ASSUME_RECVMMSG): Define instead of using previous
17715         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17717         (__ASSUME_RECVMMSG_SYSCALL): Define.
17718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17719         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17720         Likewise.
17721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17722         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17723         Likewise.
17724         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17725         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17726         Likewise.
17727         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17728         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17729         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17730         [__ASSUME_RECVMMSG]: Change condition to
17731         [__ASSUME_RECVMMSG_SOCKETCALL].
17732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17733         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17734         Define.
17735         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17738         Likewise.
17739         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17740         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17741         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17742         [!__ASSUME_RECVMMSG]: Change condition to
17743         [!__ASSUME_RECVMMSG_SOCKETCALL].
17744         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17745         (__ASSUME_RECVMMSG_SYSCALL): Define.
17747         [BZ #16609]
17748         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17749         __powerpc__ || __s390__ || __sh__ || __sparc__]
17750         (__ASSUME_SOCKETCALL): Define.
17751         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17752         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17753         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17754         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17755         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17756         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17757         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17758         (__ASSUME_ACCEPT4): Define instead of using previous
17759         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17760         __powerpc__ || __sparc__ || __s390__)] condition.
17761         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17762         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17763         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17764         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17765         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17766         [!__ASSUME_ACCEPT4]: Change condition to
17767         [!__ASSUME_ACCEPT4_SOCKETCALL].
17768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17769         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
17770         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17772         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17773         __ASSUME_ACCEPT4_SYSCALL.
17774         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17775         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17776         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17777         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17778         __ASSUME_ACCEPT4_SYSCALL.
17779         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17780         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17781         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17782         [__ASSUME_ACCEPT4]: Change condition to
17783         [__ASSUME_ACCEPT4_SOCKETCALL].
17784         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17785         (__ASSUME_SOCKETCALL): Define.
17786         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17788         (__ASSUME_SOCKETCALL): Define.
17789         (__ASSUME_ACCEPT4): Remove.
17790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17791         Define.
17792         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17793         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17794         Likewise.
17795         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17796         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17798         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17799         macro.
17800         (HWCAP_ARM_LPAE): Likewise.
17801         (HWCAP_ARM_EVTSTRM): Likewise.
17802         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17803         Add vpfd32, lpae and evtstrm.
17804         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17805         Increase to 22.
17807 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
17809         * math/auto-libm-test-in: Add tests of clog10.
17810         * math/auto-libm-test-out: Regenerated.
17811         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17812         * sysdeps/i386/fpu/libm-test-ulps: Update.
17813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17815 2014-02-18  Andreas Schwab  <schwab@suse.de>
17817         [BZ #16574]
17818         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17819         Store non-zero if the second buffer was newly allocated.
17820         (send_dg): Likewise.
17821         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17822         to send_vc and send_dg.
17823         (res_nsend): Pass NULL for ansp2_malloced.
17824         * resolv/res_query.c (__libc_res_nquery): Add parameter
17825         answerp2_malloced and pass it down to __libc_res_nsend.
17826         (res_nquery): Pass additional NULL to __libc_res_nquery.
17827         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17828         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17829         second answer buffer if answerp2_malloced was set.
17830         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17831         (__libc_res_nquerydomain): Add parameter
17832         answerp2_malloced and pass it down to __libc_res_nquery.
17833         (res_nquerydomain): Pass additional NULL to
17834         __libc_res_nquerydomain.
17835         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17836         additional NULL to __libc_res_nsend and __libc_res_nquery.
17837         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17838         additional NULL to __libc_res_nsearch.
17839         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17840         parameter of __libc_res_nsearch to check for separately allocated
17841         second buffer.
17842         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17843         __libc_res_nquery.
17844         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17845         additional NULL to __libc_res_nquery.
17846         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17847         __libc_res_nsearch.
17848         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17849         * include/resolv.h: Update prototypes of __libc_res_nquery,
17850         __libc_res_nsearch, __libc_res_nsend.
17852 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17854         * math/auto-libm-test-in: Add tests of fma.
17855         * math/auto-libm-test-out: Regenerated.
17856         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17857         (fma_towardzero_test_data): Likewise.
17858         (fma_downward_test_data): Likewise.
17859         (fma_upward_test_data): Likewise.
17860         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17861         mpc_mode.
17862         (rounding_modes): Add values for new field.
17863         (func_calc_method): Add value mpfr_fff_f.
17864         (func_calc_desc): Add mpfr_fff_f union field.
17865         (test_function): Add field exact_args.
17866         (FUNC): Add macro argument EXACT_ARGS.
17867         (FUNC_mpfr_f_f): Update call to FUNC.
17868         (FUNC_mpfr_f_f): Likewise.
17869         (FUNC_mpfr_ff_f): Likewise.
17870         (FUNC_mpfr_if_f): Likewise.
17871         (FUNC_mpc_c_f): Likewise.
17872         (FUNC_mpc_c_c): Likewise.
17873         (test_functions): Add fma.  Update calls to FUNC.
17874         (handle_input_arg): Add argument exact_args.
17875         (add_test): Update call to handle_input_arg.
17876         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17877         (output_for_one_input_case): Update call to calc_generic_results.
17878         Recalculate exact zero results in each rounding mode.
17880         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17881         non-negative before setting low bit.
17882         * math/auto-libm-test-in: Mark one asin test possibly having
17883         spurious underflow.
17884         * math/auto-libm-test-out: Regenerated.
17885         * sysdeps/i386/fpu/libm-test-ulps: Update.
17886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17888 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17890         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17891         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17892         ports/sysdeps/unix/sysv/linux/microblaze.
17893         * README: Add missing listing for microblaze*-*-linux-gnu.
17895 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17898         duplicate code
17900 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17902         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17903         * sysdeps/unix/sysv/linux/ia64: Move directory from
17904         ports/sysdeps/unix/sysv/linux/ia64.
17905         * README: Update listing for ia64-*-linux-gnu.
17907 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17908             Joseph Myers  <joseph@codesourcery.com>
17910         * Makeconfig (test-name): New variable.
17911         (evaluate-test): Likewise.
17912         * Makerules (do-test-clean): Remove .test-result files.
17913         (common-mostlyclean): Likewise.
17914         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17915         * scripts/evaluate-test.sh: New file.
17917 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17919         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17920         separate $(objpfx)tst-fopenloc-cmp.out and
17921         $(objpfx)tst-fopenloc-mem.out targets.
17922         (tests): Update dependencies.
17923         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17924         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17925         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17926         (tst-rxspencer-no-utf8-ARGS): New variable.
17927         (tst-rxspencer-no-utf8-ENV): Likewise.
17928         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17929         instead of $(objpfx)tst-rxspencer-mem.
17930         ($(objpfx)tst-rxspencer-mem): Change target to
17931         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17932         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17933         * posix/tst-rxspencer-no-utf8.c: New file.
17935         * elf/Makefile ($(objpfx)order.out): Remove rule.
17936         [$(run-built-tests) = yes] (tests): Depend on
17937         $(objpfx)order-cmp.out.
17938         ($(objpfx)order-cmp.out): New rule.
17939         [$(run-built-tests) = yes] (tests): Depend on
17940         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17941         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17942         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17943         $(objpfx)tst-array5-static-cmp.out.
17944         ($(objpfx)tst-array1.out): Remove rule.
17945         ($(objpfx)tst-array1-cmp.out): New rule.
17946         ($(objpfx)tst-array1-static.out): Remove rule.
17947         ($(objpfx)tst-array1-static-cmp.out): New rule.
17948         ($(objpfx)tst-array2.out): Remove rule.
17949         ($(objpfx)tst-array2-cmp.out): New rule.
17950         ($(objpfx)tst-array3.out): Remove rule.
17951         ($(objpfx)tst-array3-cmp.out): New rule.
17952         ($(objpfx)tst-array4.out): Remove rule.
17953         ($(objpfx)tst-array4-cmp.out): New rule.
17954         ($(objpfx)tst-array5.out): Remove rule.
17955         ($(objpfx)tst-array5-cmp.out): New rule.
17956         ($(objpfx)tst-array5-static.out): Remove rule.
17957         ($(objpfx)tst-array5-static-cmp.out): New rule.
17958         [$(run-built-tests) = yes] (tests): Depend on
17959         $(objpfx)order2-cmp.out.
17960         ($(objpfx)order2.out): Remove rule.
17961         ($(objpfx)order2-cmp.out): New rule.
17962         ($(objpfx)tst-initorder.out): Remove rule.
17963         [$(run-built-tests) = yes] (tests): Depend on
17964         $(objpfx)tst-initorder-cmp.out.
17965         ($(objpfx)tst-initorder-cmp.out): New rule.
17966         ($(objpfx)tst-initorder2.out): Remove rule.
17967         [$(run-built-tests) = yes] (tests): Depend on
17968         $(objpfx)tst-initorder2-cmp.out.
17969         ($(objpfx)tst-initorder2-cmp.out): New rule.
17970         [$(run-built-tests) = yes] (tests): Depend on
17971         $(objpfx)tst-unused-dep-cmp.out.
17972         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17973         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17974         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17975         on $(objpfx)tst-setvbuf1-cmp.out.
17976         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17977         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17978         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17979         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17980         ($(objpfx)tst-svc.out): Remove rule.
17981         ($(objpfx)tst-svc-cmp.out): New rule.
17983 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17985         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17986         * ctype/ctype.h [__USE_MISC]: Likewise.
17987         * dirent/dirent.h [__USE_MISC]: Likewise.
17988         * grp/grp.h [__USE_MISC]: Likewise.
17989         * io/fcntl.h [__USE_MISC]: Likewise.
17990         * io/sys/stat.h [__USE_MISC]: Likewise.
17991         * libio/stdio.h [__USE_MISC]: Likewise.
17992         * posix/unistd.h [__USE_MISC]: Likewise.
17993         * pwd/pwd.h [__USE_MISC]: Likewise.
17994         * stdlib.h [__USE_MISC]: Likewise.
17995         * string/bits/string2.h [__USE_MISC]: Likewise.
17996         * string/string.h [__USE_MISC]: Likewise.
17997         * time/time.h [__USE_MISC]: Likewise.
17999 2014-02-13  Andreas Schwab  <schwab@suse.de>
18001         [BZ #16574]
18002         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18003         second answer buffer if it was separately allocated.
18005 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18007         * sysdeps/mips/math-tests.h: Include <features.h>.
18008         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18009         (ROUNDING_TESTS_long_double): Do not define.
18010         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18011         (EXCEPTION_TESTS_long_double): Likewise.
18012         * sysdeps/mips/mips64/libm-test-ulps: Update.
18014         * include/features.h (__USE_BSD): Remove macro definitions.
18015         (__USE_SVID): Likewise.
18016         (_BSD_SOURCE): Likewise.
18017         (_SVID_SOURCE): Likewise.
18018         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18019         from definition of _DEFAULT_SOURCE.
18020         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18021         [_DEFAULT_SOURCE].
18022         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18023         * bits/mman.h [__USE_BSD]: Likewise.
18024         * bits/termios.h [__USE_BSD]: Likewise.
18025         * bits/waitstatus.h [__USE_BSD]: Likewise.
18026         * ctype/ctype.h [__USE_SVID]: Likewise.
18027         * dirent/dirent.h [__USE_BSD]: Likewise.
18028         * grp/grp.h [__USE_SVID]: Likewise.
18029         [__USE_BSD]: Likewise.
18030         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18031         * io/fcntl.h [__USE_BSD]: Likewise.
18032         * io/ftw.h [__USE_BSD]: Likewise.
18033         * io/sys/stat.h [__USE_BSD]: Likewise.
18034         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18035         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18036         * libio/stdio.h [__USE_SVID]: Likewise.
18037         [__USE_BSD]: Likewise.
18038         * math/math.h [__USE_SVID]: Likewise.
18039         [__USE_BSD]: Likewise.
18040         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18041         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18042         * misc/search.h [__USE_SVID]: Likewise.
18043         * misc/sys/mman.h [__USE_BSD]: Likewise.
18044         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18045         * misc/sys/uio.h [__USE_BSD]: Likewise.
18046         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18047         * posix/glob.h [__USE_BSD]: Likewise.
18048         * posix/regex.h [__USE_BSD]: Likewise.
18049         * posix/sys/types.h [__USE_BSD]: Likewise.
18050         [__USE_SVID]: Likewise.
18051         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18052         * posix/sys/wait.h [__USE_BSD]: Likewise.
18053         [__USE_SVID]: Likewise.
18054         * posix/unistd.h [__USE_BSD]: Likewise.
18055         [__USE_SVID]: Likewise.
18056         * pwd/pwd.h [__USE_SVID]: Likewise.
18057         * resolv/netdb.h [__USE_BSD]: Likewise.
18058         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18059         * signal/signal.h [__USE_BSD]: Likewise.
18060         [__USE_SVID]: Likewise.
18061         * socket/sys/socket.h [__USE_BSD]: Likewise.
18062         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18063         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18064         [__USE_SVID]: Likewise.
18065         * string/bits/string2.h [__USE_BSD]: Likewise.
18066         [__USE_SVID]: Likewise.
18067         * string/bits/string3.h [__USE_BSD]: Likewise.
18068         * string/endian.h [__USE_BSD]: Likewise.
18069         * string/string.h [__USE_SVID]: Likewise.
18070         [__USE_BSD]: Likewise.
18071         * string/strings.h [__USE_BSD]: Likewise.
18072         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18073         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18074         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18075         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18076         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18077         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18078         Likewise.
18079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18080         Likewise.
18081         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18082         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18083         Likewise.
18084         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18085         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18086         Likewise.
18087         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18088         Likewise.
18089         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18090         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18091         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18092         Likewise.
18093         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18094         Likewise.
18095         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18096         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18097         * termios/termios.h [__USE_BSD]: Likewise.
18098         * time/sys/time.h [__USE_BSD]: Likewise.
18099         * time/time.h [__USE_BSD]: Likewise.
18100         [__USE_SVID]: Likewise.
18102         * Makefile (subdir_targets): Remove subdir_lint.out.
18104         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18105         (do-tst-printf): Likewise.
18106         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18107         $(objpfx)tst-printf.out.
18109         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18111         * Makerules (check-abi-%): Change target to
18112         $(objpfx)check-abi-%.out.
18113         (check-abi target): Update dependencies.
18114         (check-abi-pattern variable): Redirect output of diff to $@.
18115         (check-abi variable): Likewise.
18116         * elf/Makefile (check-abi): Update dependencies.
18118         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18119         unused.
18120         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18121         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18122         subnormal range.
18123         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18124         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18125         value has largest subnormal exponent.
18126         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18127         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18128         * sysdeps/aarch64/soft-fp/sfp-machine.h
18129         (_FP_TININESS_AFTER_ROUNDING): New macro.
18130         * sysdeps/alpha/soft-fp/sfp-machine.h
18131         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18132         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18133         Likewise.
18134         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18135         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18136         * sysdeps/mips/soft-fp/sfp-machine.h
18137         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18138         * sysdeps/powerpc/soft-fp/sfp-machine.h
18139         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18140         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18141         Likewise.
18142         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18143         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18144         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18145         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18146         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18147         Likewise.
18149 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18151         [BZ #16545]
18152         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18153         model 1.
18155 2014-02-12  Richard Henderson  <rth@redhat.com>
18157         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18158         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18159         * sysdeps/unix/sysv/linux/alpha: Move directory from
18160         ports/sysdeps/unix/sysv/linux/alpha.
18161         * README: Update listing for alpha-*-linux-gnu.
18163 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18165         * include/features.h: Update comment documenting feature test
18166         macros.
18167         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18168         _DEFAULT_SOURCE.
18169         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18170         (_SVID_SOURCE): Likewise.
18171         (_DEFAULT_SOURCE): Update description of default features.
18172         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18173         with _GNU_SOURCE.
18174         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18175         (S_ISVTX): Likewise.
18176         * manual/math.texi (Mathematical Constants): Likewise.
18177         * manual/signal.texi (Interrupted Primitives): Likewise.
18178         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18179         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18180         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18181         Don't refer to _SVID_SOURCE in warning text.
18183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18185         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18186         already defined.
18187         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18188         * sysdeps/mips/dl-lookup.c: Remove.
18189         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18191 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18193         [BZ #16447]
18194         * math/auto-libm-test-in: Add testcase for expl.
18195         * math/auto-libm-test-out: Regenerate.
18196         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18197         calculation of unsafe.
18198         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18200 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18202         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18203         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18204         ports/sysdeps/unix/sysv/linux/aarch64.
18205         * README: Update listing for aarch64*-*-linux-gnu.
18207 2014-02-11  Will Newton  <will.newton@linaro.org>
18209         * manual/probes.texi (Mathematical Function Probes): Use
18210         "triggered" instead of "hit".
18212         * manual/probes.texi (Internal Probes): Add documentation
18213         of setjmp, longjmp and longjmp_target probes.
18215         * include/stap-probe.h: Add comment about probe argument
18216         format.
18218         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18219         definition.  (tr_where, tr_freehook, tr_mallochook,
18220         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18222 2014-02-11  David S. Miller  <davem@davemloft.net>
18224         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18225         processing int_tests.
18227 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18229         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18230         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18231         * sysdeps/unix/sysv/linux/mips: Move directory from
18232         ports/sysdeps/unix/sysv/linux/mips.
18233         * README: Update listing for mips-*-linux-gnu and
18234         mips64-*-linux-gnu.
18236 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18238         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18239         * sysdeps/unix/sysv/linux/m68k: Move directory from
18240         ports/sysdeps/unix/sysv/linux/m68k.
18241         * README: Update listing for m68k-*-linux-gnu.
18243 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18245         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18246         * sysdeps/unix/sysv/linux/generic: Move directory from
18247         ports/sysdeps/unix/sysv/linux/generic.
18248         * sysdeps/unix/sysv/linux/tile: Move directory from
18249         ports/sysdeps/unix/sysv/linux/tile.
18250         * README: Update listing for tile*-*-linux-gnu.
18252 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18254         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18255         __builtin_expect.
18256         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18257         * catgets/open_catalog.c (__open_catalog): Likewise.
18258         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18259         * debug/confstr_chk.c: Likewise.
18260         * debug/fread_chk.c (__fread_chk): Likewise.
18261         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18262         * debug/getgroups_chk.c: Likewise.
18263         * debug/mbsnrtowcs_chk.c: Likewise.
18264         * debug/mbsrtowcs_chk.c: Likewise.
18265         * debug/mbstowcs_chk.c: Likewise.
18266         * debug/memcpy_chk.c: Likewise.
18267         * debug/memmove_chk.c: Likewise.
18268         * debug/mempcpy_chk.c: Likewise.
18269         * debug/memset_chk.c: Likewise.
18270         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18271         * debug/strcat_chk.c (__strcat_chk): Likewise.
18272         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18273         * debug/strncat_chk.c (__strncat_chk): Likewise.
18274         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18275         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18276         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18277         * debug/wcpncpy_chk.c: Likewise.
18278         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18279         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18280         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18281         * debug/wcsncpy_chk.c: Likewise.
18282         * debug/wcsnrtombs_chk.c: Likewise.
18283         * debug/wcsrtombs_chk.c: Likewise.
18284         * debug/wcstombs_chk.c: Likewise.
18285         * debug/wmemcpy_chk.c: Likewise.
18286         * debug/wmemmove_chk.c: Likewise.
18287         * debug/wmempcpy_chk.c: Likewise.
18288         * debug/wmemset_chk.c: Likewise.
18289         * dirent/scandirat.c (SCANDIRAT): Likewise.
18290         * dlfcn/dladdr1.c (dladdr1): Likewise.
18291         * dlfcn/dladdr.c (dladdr): Likewise.
18292         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18293         * dlfcn/dlerror.c (__dlerror): Likewise.
18294         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18295         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18296         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18297         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18298         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18299         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18300         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18301         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18302         Likewise.
18303         * elf/dl-conflict.c: Likewise.
18304         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18305         * elf/dl-dst.h: Likewise.
18306         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18307         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18308         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18309         * elf/dl-init.c (call_init, _dl_init): Likewise.
18310         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18311         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18312         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18313         Likewise.
18314         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18315         Likewise.
18316         * elf/dl-minimal.c (__libc_memalign): Likewise.
18317         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18318         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18319         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18320         * elf/dl-sym.c (do_sym): Likewise.
18321         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18322         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18323         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18324         * elf/dl-writev.h (_dl_writev): Likewise.
18325         * elf/ldconfig.c (search_dir): Likewise.
18326         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18327         (dl_main): Likewise.
18328         * elf/setup-vdso.h (setup_vdso): Likewise.
18329         * grp/compat-initgroups.c (compat_call): Likewise.
18330         * grp/fgetgrent.c (fgetgrent): Likewise.
18331         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18332         * grp/putgrent.c (putgrent): Likewise.
18333         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18334         Likewise.
18335         * hurd/hurdinit.c: Likewise.
18336         * iconvdata/8bit-gap.c (struct): Likewise.
18337         * iconvdata/ansi_x3.110.c : Likewise.
18338         * iconvdata/big5.c : Likewise.
18339         * iconvdata/big5hkscs.c : Likewise.
18340         * iconvdata/cp1255.c: Likewise.
18341         * iconvdata/cp1258.c : Likewise.
18342         * iconvdata/cp932.c : Likewise.
18343         * iconvdata/euc-cn.c: Likewise.
18344         * iconvdata/euc-jisx0213.c : Likewise.
18345         * iconvdata/euc-jp.c: Likewise.
18346         * iconvdata/euc-jp-ms.c : Likewise.
18347         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18348         * iconvdata/gb18030.c : Likewise.
18349         * iconvdata/gbbig5.c (const): Likewise.
18350         * iconvdata/gbgbk.c: Likewise.
18351         * iconvdata/gbk.c : Likewise.
18352         * iconvdata/ibm1364.c : Likewise.
18353         * iconvdata/ibm930.c : Likewise.
18354         * iconvdata/ibm932.c: Likewise.
18355         * iconvdata/ibm933.c : Likewise.
18356         * iconvdata/ibm935.c : Likewise.
18357         * iconvdata/ibm937.c : Likewise.
18358         * iconvdata/ibm939.c : Likewise.
18359         * iconvdata/ibm943.c: Likewise.
18360         * iconvdata/iso_11548-1.c: Likewise.
18361         * iconvdata/iso-2022-cn.c : Likewise.
18362         * iconvdata/iso-2022-cn-ext.c : Likewise.
18363         * iconvdata/iso-2022-jp-3.c: Likewise.
18364         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18365         * iconvdata/iso-2022-kr.c : Likewise.
18366         * iconvdata/iso646.c (gconv_end): Likewise.
18367         * iconvdata/iso_6937-2.c : Likewise.
18368         * iconvdata/iso_6937.c : Likewise.
18369         * iconvdata/iso8859-1.c: Likewise.
18370         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18371         * iconvdata/shift_jisx0213.c : Likewise.
18372         * iconvdata/sjis.c : Likewise.
18373         * iconvdata/t.61.c : Likewise.
18374         * iconvdata/tcvn5712-1.c : Likewise.
18375         * iconvdata/tscii.c: Likewise.
18376         * iconvdata/uhc.c : Likewise.
18377         * iconvdata/unicode.c (gconv_end): Likewise.
18378         * iconvdata/utf-16.c (gconv_end): Likewise.
18379         * iconvdata/utf-32.c (gconv_end): Likewise.
18380         * iconvdata/utf-7.c (base64): Likewise.
18381         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18382         * iconv/gconv_close.c (__gconv_close): Likewise.
18383         * iconv/gconv_open.c (__gconv_open): Likewise.
18384         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18385         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18386         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18387         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18388         (ucs4le_internal_loop_single): Likewise.
18389         * iconv/iconv.c (iconv): Likewise.
18390         * iconv/iconv_close.c: Likewise.
18391         * iconv/loop.c (SINGLE): Likewise.
18392         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18393         * include/atomic.h: Likewise.
18394         * inet/inet6_option.c (option_alloc): Likewise.
18395         * intl/bindtextdom.c (set_binding_values): Likewise.
18396         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18397         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18398         * intl/localealias.c (read_alias_file): Likewise.
18399         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18400         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18401         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18402         * libio/fmemopen.c (fmemopen): Likewise.
18403         * libio/iofgets.c (_IO_fgets): Likewise.
18404         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18405         * libio/iofgetws.c (fgetws): Likewise.
18406         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18407         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18408         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18409         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18410         * locale/findlocale.c (_nl_find_locale): Likewise.
18411         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18412         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18413         Likewise.
18414         * locale/setlocale.c (setlocale): Likewise.
18415         * login/programs/pt_chown.c (main): Likewise.
18416         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18417         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18418         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18419         (mmap, mmap64, mremap, munmap): Likewise.
18420         * math/e_exp2l.c: Likewise.
18421         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18422         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18423         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18424         * math/s_catan.c (__catan): Likewise.
18425         * math/s_catanf.c (__catanf): Likewise.
18426         * math/s_catanh.c (__catanh): Likewise.
18427         * math/s_catanhf.c (__catanhf): Likewise.
18428         * math/s_catanhl.c (__catanhl): Likewise.
18429         * math/s_catanl.c (__catanl): Likewise.
18430         * math/s_ccosh.c (__ccosh): Likewise.
18431         * math/s_ccoshf.c (__ccoshf): Likewise.
18432         * math/s_ccoshl.c (__ccoshl): Likewise.
18433         * math/s_cexp.c (__cexp): Likewise.
18434         * math/s_cexpf.c (__cexpf): Likewise.
18435         * math/s_cexpl.c (__cexpl): Likewise.
18436         * math/s_clog10.c (__clog10): Likewise.
18437         * math/s_clog10f.c (__clog10f): Likewise.
18438         * math/s_clog10l.c (__clog10l): Likewise.
18439         * math/s_clog.c (__clog): Likewise.
18440         * math/s_clogf.c (__clogf): Likewise.
18441         * math/s_clogl.c (__clogl): Likewise.
18442         * math/s_csin.c (__csin): Likewise.
18443         * math/s_csinf.c (__csinf): Likewise.
18444         * math/s_csinh.c (__csinh): Likewise.
18445         * math/s_csinhf.c (__csinhf): Likewise.
18446         * math/s_csinhl.c (__csinhl): Likewise.
18447         * math/s_csinl.c (__csinl): Likewise.
18448         * math/s_csqrt.c (__csqrt): Likewise.
18449         * math/s_csqrtf.c (__csqrtf): Likewise.
18450         * math/s_csqrtl.c (__csqrtl): Likewise.
18451         * math/s_ctan.c (__ctan): Likewise.
18452         * math/s_ctanf.c (__ctanf): Likewise.
18453         * math/s_ctanh.c (__ctanh): Likewise.
18454         * math/s_ctanhf.c (__ctanhf): Likewise.
18455         * math/s_ctanhl.c (__ctanhl): Likewise.
18456         * math/s_ctanl.c (__ctanl): Likewise.
18457         * math/w_pow.c: Likewise.
18458         * math/w_powf.c: Likewise.
18459         * math/w_powl.c: Likewise.
18460         * math/w_scalb.c (sysv_scalb): Likewise.
18461         * math/w_scalbf.c (sysv_scalbf): Likewise.
18462         * math/w_scalbl.c (sysv_scalbl): Likewise.
18463         * misc/error.c (error_tail): Likewise.
18464         * misc/pselect.c (__pselect): Likewise.
18465         * nis/nis_callback.c (__nis_create_callback): Likewise.
18466         * nis/nis_call.c (__nisfind_server): Likewise.
18467         * nis/nis_creategroup.c (nis_creategroup): Likewise.
18468         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18469         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18470         * nis/nis_getservlist.c (nis_getservlist): Likewise.
18471         * nis/nis_lookup.c (nis_lookup): Likewise.
18472         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18473         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18474         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18475         * nis/nis_xdr.c (xdr_endpoint): Likewise.
18476         * nis/nss_compat/compat-grp.c (getgrent_next_file)
18477         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18478         * nis/nss_compat/compat-initgroups.c (add_group)
18479         (internal_getgrent_r): Likewise.
18480         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18481         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18482         * nis/nss_compat/compat-spwd.c (getspent_next_file)
18483         (internal_getspnam_r): Likewise.
18484         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18485         (_nss_nis_getaliasbyname_r): Likewise.
18486         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18487         (_nss_nis_getntohost_r): Likewise.
18488         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18489         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18490         (_nss_nis_getgrgid_r): Likewise.
18491         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18492         (internal_nis_gethostent_r, internal_gethostbyname2_r)
18493         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18494         (_nss_nis_gethostbyname4_r): Likewise.
18495         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18496         (initgroups_netid): Likewise.
18497         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18498         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18499         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18500         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18501         (_nss_nis_getprotobynumber_r): Likewise.
18502         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18503         (_nss_nis_getsecretkey): Likewise.
18504         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18505         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18506         (_nss_nis_getpwuid_r): Likewise.
18507         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18508         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18509         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18510         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18511         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18512         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18513         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18514         Likewise.
18515         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18516         (_nss_nisplus_getntohost_r): Likewise.
18517         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18518         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18519         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18520         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18521         Likewise.
18522         * nis/nss_nisplus/nisplus-initgroups.c
18523         (_nss_nisplus_initgroups_dyn): Likewise.
18524         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18525         (_nss_nisplus_getnetbyaddr_r): Likewise.
18526         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18527         (_nss_nisplus_getprotobynumber_r): Likewise.
18528         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18529         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18530         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18531         Likewise.
18532         * nis/nss_nisplus/nisplus-service.c
18533         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18534         (_nss_nisplus_getservbyport_r): Likewise.
18535         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18536         (_nss_nisplus_getspnam_r): Likewise.
18537         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18538         Likewise.
18539         * nscd/aicache.c (addhstaiX): Likewise.
18540         * nscd/cache.c (cache_search, prune_cache): Likewise.
18541         * nscd/connections.c (register_traced_file, send_ro_fd)
18542         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18543         (main_loop_epoll): Likewise.
18544         * nscd/grpcache.c (addgrbyX): Likewise.
18545         * nscd/hstcache.c (addhstbyX): Likewise.
18546         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18547         * nscd/mem.c (gc, mempool_alloc): Likewise.
18548         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18549         (addinnetgrX): Likewise.
18550         * nscd/nscd-client.h (__nscd_acquire_maplock)
18551         (__nscd_drop_map_ref): Likewise.
18552         * nscd/nscd_getai.c (__nscd_getai): Likewise.
18553         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18554         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18555         Likewise.
18556         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18557         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18558         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18559         (__nscd_get_map_ref): Likewise.
18560         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18561         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18562         Likewise.
18563         * nscd/pwdcache.c (addpwbyX): Likewise.
18564         * nscd/selinux.c (preserve_capabilities): Likewise.
18565         * nscd/servicescache.c (addservbyX): Likewise.
18566         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18567         * posix/fnmatch.c (fnmatch): Likewise.
18568         * posix/getopt.c (_getopt_internal_r): Likewise.
18569         * posix/glob.c (glob, glob_in_dir): Likewise.
18570         * posix/wordexp.c (exec_comm_child): Likewise.
18571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18572         (getanswer_r, gaih_getanswer_slice): Likewise.
18573         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18574         * resolv/res_init.c: Likewise.
18575         * resolv/res_mkquery.c (res_nmkquery): Likewise.
18576         * resolv/res_query.c (__libc_res_nquery): Likewise.
18577         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18578         Likewise.
18579         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18580         * stdio-common/perror.c (perror): Likewise.
18581         * stdio-common/printf_fp.c (___printf_fp): Likewise.
18582         * stdio-common/tmpnam.c (tmpnam): Likewise.
18583         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18584         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18585         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18586         Likewise.
18587         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18588         * stdlib/putenv.c (putenv): Likewise.
18589         * stdlib/setenv.c (__add_to_environ): Likewise.
18590         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18591         * stdlib/strtol_l.c (INTERNAL): Likewise.
18592         * string/memmem.c (memmem): Likewise.
18593         * string/strerror.c (strerror): Likewise.
18594         * string/strnlen.c (__strnlen): Likewise.
18595         * string/test-memmem.c (simple_memmem): Likewise.
18596         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18597         * sunrpc/pm_getport.c (__get_socket): Likewise.
18598         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18599         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18600         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18601         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18602         Likewise.
18603         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18604         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18605         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18606         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18607         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18608         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18609         Likewise.
18610         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18611         Likewise.
18612         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18613         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18614         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18615         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18616         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18618         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18619         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18620         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18621         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18622         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18623         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18624         Likewise.
18625         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18626         Likewise.
18627         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18628         Likewise.
18629         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18631         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18632         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18633         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18634         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18635         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18636         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18638         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18639         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18640         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18641         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18642         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18643         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18644         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18645         Likewise.
18646         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18647         Likewise.
18648         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18649         Likewise.
18650         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18651         Likewise.
18652         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18654         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18655         Likewise.
18656         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18657         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18658         * sysdeps/posix/opendir.c (__opendirat): Likewise.
18659         * sysdeps/posix/sleep.c: Likewise.
18660         * sysdeps/posix/tempname.c: Likewise.
18661         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18662         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18663         Likewise.
18664         * sysdeps/powerpc/powerpc32/dl-machine.h
18665         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18666         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18668         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18669         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18670         Likewise.
18671         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18672         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18673         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18674         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18675         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18676         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18677         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18678         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18679         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18680         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18681         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18682         (elf_machine_lazy_rel): Likewise.
18683         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18684         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18685         (elf_machine_lazy_rel): Likewise.
18686         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18687         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18688         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18689         * sysdeps/unix/grantpt.c (grantpt): Likewise.
18690         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18691         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18692         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18694         Likewise.
18695         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18696         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18697         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18698         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18699         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18700         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18701         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18702         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18703         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18704         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18705         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18706         Likewise.
18707         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18708         (__posix_fallocate64_l64): Likewise.
18709         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18710         (posix_fallocate): Likewise.
18711         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18712         Likewise.
18713         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18714         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18715         (getifaddrs_internal): Likewise.
18716         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18717         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18718         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18719         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18720         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18721         (__posix_fallocate64_l64): Likewise.
18722         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18723         Likewise.
18724         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18725         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18726         (__get_clockfreq): Likewise.
18727         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18728         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18729         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18732         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18733         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18734         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18735         Likewise.
18736         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18737         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18738         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18739         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18740         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18741         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18742         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18743         Likewise.
18744         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18745         (posix_fallocate): Likewise.
18746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18747         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18748         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18749         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18750         (elf_machine_rela, elf_machine_rela_relative)
18751         (elf_machine_lazy_rel): Likewise.
18752         * time/asctime.c (asctime_internal): Likewise.
18753         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18754         * time/tzset.c (__tzset_parse_tz): Likewise.
18755         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18756         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18757         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18758         * wcsmbs/wcsmbsload.h: Likewise.
18760         [BZ #15894]
18761         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18763         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18764         (arena_get2): Remove THREAD_STATS conditionals.
18765         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18766         (__malloc_stats, int): Likewise.
18768 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
18770         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18771         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
18773         * manual/setjmp.texi: Fix typos/grammar errors.
18775         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18776         Only return early when n is <= 0.  Delete unused return statement.
18778         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18779         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18780         * debug/tst-longjmp_chk3.c: New file.
18782         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18783         (test_main): Replace code with set_fortify_handler call.
18784         * debug/test-strcpy_chk.c: Likewise.
18785         * debug/tst-chk1.c: Likewise.
18786         * debug/tst-longjmp_chk.c: Likewise.
18787         * test-skeleton.c: Include fcntl.h & paths.h
18788         (set_fortify_handler): Define.
18790         * debug/tst-longjmp_chk.c: Add header comment and include
18791         ../test-skeleton.c.
18792         (do_test): Mark static.
18793         (TEST_FUNCTION): Define.
18795         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18796         (IP_PMTUDISC_INTERFACE): Likewise.
18797         (IP_MULTICAST_IF): Likewise.
18798         (IP_MULTICAST_TTL): Likewise.
18799         (IP_MULTICAST_LOOP): Likewise.
18800         (IP_ADD_MEMBERSHIP): Likewise.
18801         (IP_DROP_MEMBERSHIP): Likewise.
18802         (IP_UNBLOCK_SOURCE): Likewise.
18803         (IP_BLOCK_SOURCE): Likewise.
18804         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18805         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18806         (IP_MSFILTER): Likewise.
18807         (MCAST_JOIN_GROUP): Likewise.
18808         (MCAST_BLOCK_SOURCE): Likewise.
18809         (MCAST_UNBLOCK_SOURCE): Likewise.
18810         (MCAST_LEAVE_GROUP): Likewise.
18811         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18812         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18813         (MCAST_MSFILTER): Likewise.
18814         (IP_MULTICAST_ALL): Likewise.
18815         (IP_UNICAST_IF): Likewise.
18817         * timezone/Makefile: Delete $(have-ksh) check.
18818         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18819         * timezone/tzselect.ksh: Add +x mode bits.
18821         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18822         (ANON_INODE_FS_MAGIC): Likewise.
18823         (BDEVFS_MAGIC): Likewise.
18824         (BINFMTFS_MAGIC): Likewise.
18825         (BTRFS_TEST_MAGIC): Likewise.
18826         (CRAMFS_MAGIC_WEND): Likewise.
18827         (DEBUGFS_MAGIC): Likewise.
18828         (ECRYPTFS_SUPER_MAGIC): Likewise.
18829         (EXT3_SUPER_MAGIC): Likewise.
18830         (EXT4_SUPER_MAGIC): Likewise.
18831         (FUTEXFS_SUPER_MAGIC): Likewise.
18832         (HOSTFS_SUPER_MAGIC): Likewise.
18833         (HUGETLBFS_MAGIC): Likewise.
18834         (MINIX3_SUPER_MAGIC): Likewise.
18835         (MTD_INODE_FS_MAGIC): Likewise.
18836         (NILFS_SUPER_MAGIC): Likewise.
18837         (OPENPROM_SUPER_MAGIC): Likewise.
18838         (PIPEFS_MAGIC): Likewise.
18839         (PSTOREFS_MAGIC): Likewise.
18840         (QNX6_SUPER_MAGIC): Likewise.
18841         (RAMFS_MAGIC): Likewise.
18842         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18843         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18844         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18845         (SECURITYFS_MAGIC): Likewise.
18846         (SELINUX_MAGIC): Likewise.
18847         (SMACK_MAGIC): Likewise.
18848         (SOCKFS_MAGIC): Likewise.
18849         (SQUASHFS_MAGIC): Likewise.
18850         (STACK_END_MAGIC): Likewise.
18851         (TMPFS_MAGIC): Likewise.
18852         (USBDEVICE_SUPER_MAGIC): Likewise.
18853         (V9FS_MAGIC): Likewise.
18854         (XENFS_SUPER_MAGIC): Likewise.
18855         (CRAMFS_MAGIC): Fix typo in comment.
18856         (EXT2_SUPER_MAGIC): Update comment.
18857         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18859 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18861         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18862         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18863         * sysdeps/unix/sysv/linux/arm: Move directory from
18864         ports/sysdeps/unix/sysv/linux/arm.
18865         * README: Update listing for arm-*-linux-gnueabi.
18867         * README: Remove mention of am33.
18869 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18871         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18872         than the comma operator, to avoid "rhs of comma has no effect"
18873         compiler warnings.
18874         (__sigfillset, __sigandset, __sigorset): Likewise.
18875         * include/signal.h (__sigemptyset): Likewise.
18876         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18878 2014-02-07  Allan McRae  <allan@archlinux.org>
18880         * version.h (RELEASE): Set to "development".
18881         (VERSION): Set to "2.19.90"
18882         * NEWS: Add 2.20 section.
18884 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18886         [BZ #16529]
18887         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18889 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18891         * manual/contrib.texi: Update entry for Carlos O'Donell,
18892         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18894 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18896         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18898         * sysdeps/unix/sysv/linux/kernel-features.h
18899         [__LINUX_KERNEL_VERSION >= 0x020621]
18900         (__ASSUME_PROC_PID_TASK_COMM): Define.
18902 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18904         [BZ #16398]
18905         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18906         conversion when destination buffer does not have enough space.
18907         * libio/tst-ftell-partial-wide.c: New test case.
18908         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18910         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18911         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18912         Leonard and Allan McRae.
18914 2014-02-04  David S. Miller  <davem@davemloft.net>
18916         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18917         32-bit.
18919 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18922         New file
18923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18924         New file
18925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18926         New file.
18927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18928         New file.
18929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18930         New file.
18931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18932         New file.
18933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18934         New file.
18935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18936         New file.
18937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18938         New file.
18939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18940         New file.
18941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18942         New file.
18943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18944         New file.
18945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18946         New file.
18948 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18950         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18951         * shlib-versions: Likewise.
18953 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18954             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18956         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18957         (abilist-pattern): New variable, set to %-le.abilist.
18959         * Makerules (abilist-pattern): New variable.
18960         (vpath): Use $(abilist-pattern) in place of %.abilist.
18961         (check-abi-% pattern rule): Likewise.
18962         (check-abi, update-abi): Likewise.
18964 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18968 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18970         * manual/startup.texi: Add next, previous, and top entries for
18971         the `Program Arguments' and `Environment Variables' nodes.
18973 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18975         * manual/macros.texi: Add comments before MTASC-safety macros.
18977         * manual/users.texi: Document MTASC-safety properties.
18979         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18980         (pthread_getspecific, pthread_setspecific): Format with
18981         @deftypefun, and add @safety note.
18982         * manual/signal.texi: Move comments that analyze the above
18983         functions to their home place.
18985 2014-02-03  Allan McRae  <allan@archlinux.org>
18987         * po/sl.po: Update Slovenian translation from translation project.
18989 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18991         * manual/time.texi (timegm): Add missing blank after @c.
18992         Reported by Joseph Myers <joseph@codesourcery.com>.
18994 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18996         * manual/check-safety.sh: New.
18997         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18999         * manual/terminal.texi: Document MTASC-safety properties.
19001         * manual/filesys.texi: Document MTASC-safety properties.
19003         * manual/errno.texi: Document MTASC-safety properties.
19005         * manual/intro.texi: Document safety identifiers and
19006         conditionals.
19008         * manual/string.texi (wcstok): Fix prototype.
19009         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19011         * manual/time.texi: Document MTASC-safety properties.
19013         * manual/string.texi: Document MTASC-safety properties.
19015         * manual/threads.texi: Document MTASC-safety properties.
19017         * manual/stdio.texi: Document MTASC-safety properties.
19019         * manual/syslog.texi: Document MTASC-safety properties.
19021         * manual/sysinfo.texi: Document MTASC-safety properties.
19023         * manual/startup.texi: Document MTASC-safety properties.
19025         * manual/socket.texi: Document MTASC-safety properties.
19027         * manual/signal.texi: Document MTASC-safety properties.
19029 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19031         * manual/setjmp.texi: Document MTASC-safety properties.
19033         * manual/search.texi: Document MTASC-safety properties.
19035         * manual/resource.texi: Document MTASC-safety properties.
19037         * manual/process.texi: Document MTASC-safety properties.
19039         * manual/platform.texi: Document MTASC-safety properties.
19041         * manual/pipe.texi: Document MTASC-safety properties.
19043         * manual/pattern.texi: Document MTASC-safety properties.
19045         * manual/message.texi: Document MTASC-safety properties.
19047         [BZ #12751]
19048         * manual/memory.texi: Document MTASC-safety properties.
19050         * manual/math.texi: Document MTASC-safety properties.
19052         * manual/locale.texi: Document MTASC-safety properties.
19054         * manual/llio.texi: Document MTASC-safety properties.
19056         * manual/libdl.texi: New.
19058         * manual/lang.texi: Document MTASC-safety properties.
19060         * manual/job.texi: Document MTASC-safety properties.
19062         * manual/getopt.texi: Document MTASC-safety properties.
19064         * manual/ctype.texi: Document MTASC-safety properties.
19066 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19068         [BZ #16046]
19069         * csu/libc-tls.c (static_map): Remove variable.
19070         (__libc_setup_tls): Use main executable's link map for TLS data.
19071         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19072         casing for LM_ID_BASE and GL(dl_nns).
19073         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19074         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19075         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19076         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19077         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19078         member.
19079         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19080         l_phnum members.
19082 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19084         * manual/debug.texi: Document MTASC-safety properties.
19086 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19088         [BZ #16510]
19089         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19090         of __x86_64__ when disabling x87 inline functions.
19092 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19094         * manual/charset.texi: Document MTASC-safety properties.
19096         * manual/crypt.texi: Document MTASC-safety properties.
19098         * manual/conf.texi: Document MTASC-safety properties.
19100         * manual/arith.texi: Document MTASC-safety properties.
19102         * manual/argp.texi: Document MTASC-safety properties.
19104         * manual/macros.texi: Introduce macros to document multi
19105         thread, asynchronous signal and asynchronous cancellation
19106         safety properties.
19107         * manual/intro.texi: Introduce the properties themselves.
19109 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19111         * sysdeps/sh/sh4/Makefile: New file.
19113 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19115         * math/gen-libm-test.pl ($srcdir): New variable.
19116         ($auto_input): Use it.
19118 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19120         [BZ #16506]
19121         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19122         access beyond array bounds when parsing netgroups file.
19124         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19125         the old buffer before realloc.
19127 2014-01-27  Allan McRae  <allan@archlinux.org>
19129         * po/fr.po: Update French translation from translation project.
19131 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19133         * sysdeps/sh/libm-test-ulps: Regenerate.
19135 2014-01-24  David S. Miller  <davem@davemloft.net>
19137         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19139 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19141         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19142         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19144 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19146         [BZ #16474]
19147         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19148         string pointers after reallocation.
19150 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19152         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19153         __SH4A__ instead of __SH_FPU_ANY__.
19155 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19157         * sysdeps/sh/fpu_control.h: New file.
19158         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19159         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19160         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19161         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19162         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19163         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19164         * sysdeps/sh/sys/ucontext.h: Remove.
19165         * sysdeps/sh/sys: Remove directory.
19167 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19169         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19170         s390/sys/ucontext.h.
19171         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19174 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19176         [BZ #15605]
19177         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19179 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19181         [BZ#16431]
19182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19183         Adjust the vDSO correctly for internal calls.
19184         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19186 2014-01-20  Allan McRae  <allan@archlinux.org>
19188         * po/ca.po: Update Catalan translation from translation project.
19190 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19192         * sysdeps/s390/sotruss-lib.c: New file.
19194 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19196         [BZ#16430]
19197         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19198         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19199         local calls issues by not having a PLT stub required for IFUNC calls.
19200         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19202 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19204         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19205         * math/test-fpucw-static.c: Likewise.
19207 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19209         [BZ #16453]
19210         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19212 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19214         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19215         implementation for powerpc.
19217 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19219         [BZ #14782]
19220         * sysdeps/posix/system.c (__libc_system): Do not enable
19221         asynchronous cancellation.
19223 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19225         [BZ #16427]
19226         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19227         handling only for numbers special also in the IEEE case.
19229 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19231         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19233 2014-01-11  Allan McRae  <allan@archlinux.org>
19235         * po/bg.po: Update Bulgarian translation from translation project.
19237         * po/de.po: Update German translation from translation project.
19239 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19241         * sysdeps/generic/gcc-compat.h: New file.
19243 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19245         * benchtests/asin-inputs: Correct slow inputs.
19246         * benchtests/acos-inputs: Likewise.
19248 2014-01-10  Allan McRae  <allan@archlinux.org>
19250         * po:sv.po: Update Swedish translation from translation project.
19252         * po/vi.po: Update Vietnamese translation from translation project.
19254         * po/eo.po: Update Esperanto translation from translation project.
19256         * po/cs.po: Update Czech translation from translation project.
19258         * po/nl.po: Update Dutch translation from translation project.
19260         * po/pl.po: Update Polish translation from translation project.
19262         * po/ru.po: Update Russian translation from translation project.
19264         * po/uk.po: Update Ukrainian translation from translation project.
19266 2014-01-08  Brooks Moses  <bmoses@google.com>
19268         * elf/dl-load.c: Fix comment typo.
19270 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19272         * po/header.pot: Rename to...
19273         * po/pot.header: ... this.
19274         * po/Makefile: Use pot.header.
19276 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19277             Maxim Kuvyrkov  <maxim@kugelworks.com>
19279         [BZ #16394]
19280         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19281         SRC and DEST against LEN.
19283 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19285         [BZ #16414]
19286         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19287         implementation.
19288         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19290 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19294 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19296         [BZ #16408]
19297         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19298         for large positive arguments.
19300 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19302         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19304         * math/auto-libm-test-in: Mark various tests with
19305         xfail-rounding:ldbl-128ibm.
19306         * math/auto-libm-test-out: Regenerated.
19308         [BZ #16407]
19309         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19310         Increase overflow threshold.
19312 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19314         [BZ #14286]
19315         * stdio-common/vfprintf.c: Check for integer overflow.
19317 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19319         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19320         the first argument and return value of __tls_get_addr_internal.
19322 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19324         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19325         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19327 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19329         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19330         * sysdeps/s390/rtld-global-offsets.sym: New file.
19331         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19332         GLIBC_2.19 symbol.
19333         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19334         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19335         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19336         ... this.
19337         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19338         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19339         ... this.
19340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19341         Regenerate.
19342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19343         Regenerate.
19344         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19345         halfs of GPRs for high_gprs contexts.
19346         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19347         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19348         field.
19349         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19350         uc_flags field.
19351         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19352         64 bit versions:
19353         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19354         for high GPRs (uc_high_gprs) and for future extensions
19355         (__reserved).
19356         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19357         for future extensions (__reserved).
19358         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19359         64 bit versions:
19360         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19361         SC_HIGHGPRS offset definition.
19362         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19363         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19365         * Versions.def: Add GLIBC_2.19 for libpthread.
19366         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19367         siglongjmp for libpthread with GLIBC_2.19 symver.
19368         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19369         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19370         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19371         * sysdeps/s390/__longjmp.c: New file.
19372         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19373         * sysdeps/s390/longjmp.c: New file.
19374         * sysdeps/s390/setjmp.S: New file.
19375         * sysdeps/s390/sigjmp.S: New file.
19376         * sysdeps/s390/v1-longjmp.c: New file.
19377         * sysdeps/s390/v1-setjmp.h: New file.
19378         * sysdeps/s390/v1-sigjmp.c: New file.
19379         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19380         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19381         GLIBC_2.19 version.
19382         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19383         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19384         versioned symbols for ____longjmp_chk.
19385         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19386         Likewise.
19387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19388         Regenerate.
19389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19390         Regenerate.
19391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19392         Regenerate.
19393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19394         Regenerate.
19395         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19396         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19397         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19398         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19399         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19400         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19401         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19402         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19403         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19404         * sysdeps/s390/rtld-__longjmp.c: New file.
19405         * sysdeps/s390/rtld-setjmp.S: New file.
19407 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19409         [BZ #16400]
19410         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19411         Return -__logl (x) for small positive arguments without evaluating
19412         a polynomial.
19414 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19416         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19417         Rename to ...
19418         (__ptrace_peeksiginfo_args): ... this.
19419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19420         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19421         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19423 2014-01-06  Allan McRae  <allan@archlinux.org>
19425         * inet/netinet/in.h: Fix typo in comment.
19427 2014-01-05  Andreas Jaeger  <aj@suse.de>
19429         * sysdeps/i386/fpu/libm-test-ulps: Update.
19431 2014-01-05  Allan McRae  <allan@archlinux.org>
19433         * po/libc.pot: Regenerated.
19435         * malloc/memusagestat.c: Fix gettext call formatting.
19437 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19439         * nscd/nscd.c: Improve usage() output.
19441 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
19443         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19444         * sysdeps/unix/sysv/linux/configure: Regenerated.
19445         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19446         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19448 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19450         [BZ #16390]
19451         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19452         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19454 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19456         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19457         extra tokens at end of #undef directive.
19458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19459         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19460         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19462 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19464         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19466         * math/auto-libm-test-in: Mark various tests with
19467         xfail-rounding:ldbl-128ibm.
19468         * math/auto-libm-test-out: Regenerated.
19470 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
19472         [BZ #16386]
19473         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19474         numbers with subnormal high part when calculating exponent.
19476         [BZ #16385]
19477         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19478         fabs.
19480         [BZ #16384]
19481         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19482         M_LN2l.
19483         (__ieee754_acoshl): Use __log1pl not __log1p.
19485 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
19487         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19488         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19489         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19490         (grow_heap, heap_trim, _int_new_arena, get_free_list)
19491         (reused_arena, arena_get2): Convert to GNU style.
19492         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19493         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19494         (memalign_check, __malloc_set_state): Likewise.
19495         * malloc/mallocbug.c (main): Likewise.
19496         * malloc/malloc.c (__malloc_assert, malloc_init_state)
19497         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19498         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19499         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19500         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19501         (__posix_memalign, malloc_info): Likewise.
19502         * malloc/malloc.h: Likewise.
19503         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19504         (mallochook, memalignhook, reallochook, mabort): Likewise.
19505         * malloc/mcheck.h: Likewise.
19506         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19507         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19508         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19509         * malloc/morecore.c (__default_morecore): Likewise.
19510         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19511         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19512         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19513         (print_and_abort): Likewise.
19514         * malloc/obstack.h: Likewise.
19515         * malloc/set-freeres.c (__libc_freeres): Likewise.
19516         * malloc/tst-mallocstate.c (main): Likewise.
19517         * malloc/tst-mtrace.c (main): Likewise.
19518         * malloc/tst-realloc.c (do_test): Likewise.
19520 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19522         [BZ #16366]
19523         * nscd/netgroupcache.c (do_notfound): New function.
19524         (addgetnetgrentX): Use it.
19526         [BZ # 16365]
19527         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19528         NSS_STATUS_NOTFOUND.
19530 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
19532         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535 2014-01-01  Allan McRae  <allan@archlinux.org>
19537         * scripts/update-copyrights: Update configure input file suffix.
19539         * NEWS: Update copyright year.
19540         * catgets/gencat.c: Likewise.
19541         * csu/version.c: Likewise.
19542         * debug/catchsegv.sh: Likewise.
19543         * debug/pcprofiledump.c: Likewise.
19544         * debug/xtrace.sh: Likewise.
19545         * elf/ldconfig.c: Likewise.
19546         * elf/ldd.bash.in: Likewise.
19547         * elf/pldd.c: Likewise.
19548         * elf/sotruss.ksh: Likewise.
19549         * elf/sprof.c: Likewise.
19550         * iconv/iconv_prog.c: Likewise.
19551         * iconv/iconvconfig.c: Likewise.
19552         * locale/programs/locale.c: Likewise.
19553         * locale/programs/localedef.c: Likewise.
19554         * login/programs/pt_chown.c: Likewise.
19555         * malloc/memusage.sh: Likewise.
19556         * malloc/memusagestat.c: Likewise.
19557         * malloc/mtrace.pl: Likewise.
19558         * manual/libc.texinfo: Likewise.
19559         * nscd/nscd.c: Likewise.
19560         * nss/getent.c: Likewise.
19561         * nss/makedb.c: Likewise.
19562         * posix/getconf.c: Likewise.
19563         * scripts/test-installation.pl: Likewise.
19565         * All files with FSF copyright notices: Update copyright dates
19566         using scripts/update-copyrights.
19567         * intl/plural.c: Regenerated.
19568         * locale/programs/charmap-kw.h: Likewise.
19569         * locale/programs/locfile-kw.h: Likewise.
19571 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
19573         * sysdeps/unix/sysv/linux/configure: Regenerated.
19574         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19575         the linux/fanotify.h header.
19576         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19577         HAVE_LINUX_FANOTIFY_H is defined.
19579 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19581         * benchtests/cos-inputs: New inputs.
19582         * benchtests/sin-inputs: Likewise.
19584         * benchtests/atan-inputs: New inputs. Fix name of multiple
19585         precision fallback inputs.
19587         * benchtests/atanh-inputs: New inputs.
19588         * benchtests/tanh-inputs: Likewise.
19590         * benchtests/acosh-inputs: New inputs.
19591         * benchtests/asinh-inputs: Likewise.
19593         * benchtests/cosh-inputs: New inputs.
19594         * benchtests/sinh-inputs: Likewise.
19596         * benchtests/acos-inputs: Add more inputs.
19597         * benchtests/asin-inputs: Likewise.
19599 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
19601         [BZ #16375]
19602         * manual/arith.texi: Fix spelling.
19603         * manual/charset.texi: Likewise.
19604         * manual/errno.texi: Likewise.
19605         * manual/filesys.texi: Likewise.
19606         * manual/lang.texi: Likewise.
19607         * manual/llio.texi: Likewise.
19608         * manual/locale.texi: Likewise.
19609         * manual/message.texi: Likewise.
19610         * manual/resource.texi: Likewise.
19611         * manual/search.texi: Likewise.
19612         * manual/setjmp.texi: Likewise.
19613         * manual/stdio.texi: Likewise.
19614         * manual/string.texi: Likewise.
19615         * manual/sysinfo.texi: Likewise.
19616         * manual/time.texi: Likewise.
19618 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
19620         * po/sl.po: New file.
19622 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
19624         * .gitignore: Add core/.gdbinit/.gdb_history.
19626 2013-12-27  Allan McRae  <allan@archlinux.org>
19628         [BZ #16369]
19629         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19630         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19632 2013-12-24  Brooks Moses  <bmoses@google.com>
19634         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19635         all compilers that claim C++98 compliance, not just GCC.
19636         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19637         Likewise.
19639 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19641         * NEWS: Restore accidentally deleted bug-fix entries.
19643 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19644             Ondřej Bílka  <neleai@seznam.cz>
19646         [BZ #15073]
19647         * malloc/malloc.c (_int_free): Perform sanity check only if we
19648         have_lock.
19650 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
19652         [BZ #12986]
19653         * manual/stdio.texi (String Input Conversions): Clarify that character
19654         classes are not supported.
19656 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19660 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
19662         [BZ #16337]
19663         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19664         Calculate results for small negative arguments directly rather
19665         than using reflection formula with special underflow handling.
19667         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19668         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19669         sysdeps/unix/bsd/bsd4.4/syscalls.list.
19670         (fchflags): Likewise.
19671         (revoke): Likewise.
19672         (setlogin): Likewise.
19673         (sigaltstack): Likewise.
19674         (wait4): Likewise.
19675         (sigblock): Remove.
19676         (sigsetmask): Likewise.
19677         (wait3): Likewise.
19678         (waitpid): Likewise.
19679         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19680         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19681         file.
19682         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19683         * sysdeps/unix/bsd/Makefile: ... here.
19684         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19685         * sysdeps/unix/bsd/Versions: ... here.
19686         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19687         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19688         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19689         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19690         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19691         * sysdeps/unix/bsd/sigblock.c: ... here.
19692         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19693         * sysdeps/unix/bsd/sigsetmask.c: ... here.
19694         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19695         * sysdeps/unix/bsd/sigvec.c: ... here.
19696         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19697         * sysdeps/unix/bsd/tcdrain.c: ... here.
19698         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19699         * sysdeps/unix/bsd/tcgetattr.c: ... here.
19700         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19701         * sysdeps/unix/bsd/tcsetattr.c: ... here.
19702         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19703         * sysdeps/unix/bsd/wait.c: ... here.
19704         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19705         * sysdeps/unix/bsd/wait3.c: ... here.
19706         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19707         * sysdeps/unix/bsd/waitpid.c: ... here.
19709 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
19711         [BZ #16356]
19712         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19713         round-to-nearest for [!USE_AS_EXPM1L].
19714         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19715         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
19716         more tests of exp and exp10.  Expect some exp10 tests to miss
19717         exceptions or fail in directed rounding modes.
19718         * math/auto-libm-test-out: Regenerated.
19719         * math/libm-test.inc (exp10_tonearest_test_data): New array.
19720         (exp10_test_tonearest): New function.
19721         (exp10_towardzero_test_data): New array.
19722         (exp10_test_towardzero): New function.
19723         (exp10_downward_test_data): New array.
19724         (exp10_test_downward): New function.
19725         (exp10_upward_test_data): New array.
19726         (exp10_test_upward): New function.
19727         (main): Call the new functions.
19728         * sysdeps/i386/fpu/libm-test-ulps: Update.
19729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19731 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
19733         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19734         asinh, atan, atan2, atanh, cbrt, cos and cosh.
19735         * math/auto-libm-test-out: Regenerated.
19736         * math/libm-test.inc (acosh_test_data): Add more tests.
19737         (atanh_test_data): Likewise.
19738         (ceil_test_data): Likewise.
19739         (copysign_test_data): Likewise.
19740         * sysdeps/i386/fpu/libm-test-ulps: Update.
19741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19743         * timezone/checktab.awk: Update from tzcode 2013i.
19744         * timezone/private.h: Likewise.
19745         * timezone/scheck.c: Likewise.
19746         * timezone/tzfile.h: Likewise.
19747         * timezone/tzselect.ksh: Likewise.
19748         * timezone/zdump.c: Likewise.
19749         * timezone/zic.c: Likewise.
19751         * math/auto-libm-test-in: Add tests of cpow.
19752         * math/auto-libm-test-out: Regenerated.
19753         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19754         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19755         mpc_cc_c.
19756         (func_calc_desc): Add mpc_cc_c union field.
19757         (test_functions): Add cpow.
19758         (special_fill_2pi): New function.
19759         (special_real_inputs): Add 2pi.
19760         (calc_generic_results): Handle mpc_cc_c.
19761         * sysdeps/i386/fpu/libm-test-ulps: Update.
19762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19764         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19765         csqrt, ctan and ctanh.
19766         * math/auto-libm-test-out: Regenerated.
19767         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19768         (TEST_COND_x86): Likewise.
19769         (ccos_test_data): Use AUTO_TESTS_c_c.
19770         (ccosh_test_data): Likewise.
19771         (cexp_test_data): Likewise.
19772         (clog_test_data): Likewise.
19773         (csqrt_test_data): Likewise.
19774         (ctan_test_data): Likewise.
19775         (ctan_tonearest_test_data): Likewise.
19776         (ctan_towardzero_test_data): Likewise.
19777         (ctan_downward_test_data): Likewise.
19778         (ctan_upward_test_data): Likewise.
19779         (ctanh_test_data): Likewise.
19780         (ctanh_tonearest_test_data): Likewise.
19781         (ctanh_towardzero_test_data): Likewise.
19782         (ctanh_downward_test_data): Likewise.
19783         (ctanh_upward_test_data): Likewise.
19784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19785         mpc_c_c.
19786         (func_calc_desc): Add mpc_c_c union field.
19787         (FUNC_mpc_c_c): New macro.
19788         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19789         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19790         ctanh.
19791         (special_fill_min_subnorm_p120): New function.
19792         (special_real_inputs): Add min_subnorm_p120.
19793         (calc_generic_results): Handle mpc_c_c.
19794         * sysdeps/i386/fpu/libm-test-ulps: Update.
19795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19797 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19799         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19800         (do_sin_slow): New functions.
19801         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19802         (cslow2, csloww1, csloww2): Use the new functions.
19804         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19805         Use M to change sign of result instead of X.  Assume X is
19806         positive.
19807         (csloww1): Likewise.
19808         (__sin): Adjust.
19809         (__cos): Adjust.
19811         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19812         arguments A and DA.
19813         (__sin): Adjust.
19814         (__cos): Likewise.
19816         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19817         (__cos): Likewise.
19818         (sloww1): Don't adjust sign of DX.
19819         (csloww1): Likewise.
19820         (sloww2): Use X directly and don't adjust sign of DX.
19821         (csloww2): Likewise.
19823 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19825         * math/auto-libm-test-in: Add tests of cabs and carg.
19826         * math/auto-libm-test-out: Regenerated.
19827         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19828         (carg_test_data): Likewise.
19829         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19830         mpc_c_f.
19831         (func_calc_desc): Add mpc_c_f union field.
19832         (test_functions): Add cabs and carg.
19833         (calc_generic_results): Handle mpc_c_f.
19835         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19836         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19837         as a macro and a compat symbol.
19838         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19839         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19840         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19841         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19842         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19843         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19844         not use .hidden.
19845         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19846         Likewise.
19847         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19848         Likewise.
19849         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19850         Likewise.
19851         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19852         Likewise.
19853         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19854         Likewise.
19855         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19856         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19857         from GLIBC_2.3.2.
19859 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19863 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19865         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19866         trailing whitespace removed.
19867         * scripts/config.guess: Update to version 2013-11-29.
19868         * scripts/config.sub: Update to version 2013-10-01.
19870         * math/auto-libm-test-in: Add tests of sincos.
19871         * math/auto-libm-test-out: Regenerated.
19872         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19873         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19874         mpfr_f_11.
19875         (func_calc_desc): Add mpfr_f_11 union field.
19876         (test_functions): Add sincos.
19877         (calc_generic_results): Handle mpfr_f_11.
19878         * sysdeps/i386/fpu/libm-test-ulps: Update.
19879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19881 2013-12-19  Andreas Schwab  <schwab@suse.de>
19883         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19884         CALL_MCOUNT.
19885         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19886         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19887         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19889 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19891         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19892         * sysdeps/i386/fpu/libm-test-ulps: Update.
19893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19895         [BZ #16293]
19896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19897         round-to-nearest mode when using frndint.
19898         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19899         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19900         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19901         Likewise.
19902         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19903         sinh test to fail.
19904         * math/auto-libm-test-out: Regenerated.
19905         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19906         (TEST_COND_x86): Likewise.
19907         (expm1_tonearest_test_data): New array.
19908         (expm1_test_tonearest): New function.
19909         (expm1_towardzero_test_data): New array.
19910         (expm1_test_towardzero): New function.
19911         (expm1_downward_test_data): New array.
19912         (expm1_test_downward): New function.
19913         (expm1_upward_test_data): New array.
19914         (expm1_test_upward): New function.
19915         (main): Run the new test functions.
19916         * sysdeps/i386/fpu/libm-test-ulps: Update.
19917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19919         * include/features.h: Update comment documenting feature test
19920         macros.  Mention _DEFAULT_SOURCE in comment.
19921         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19922         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19923         _BSD_SOURCE and _SVID_SOURCE.
19924         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19925         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19926         !_SVID_SOURCE]: Likewise.
19927         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19928         (__USE_POSIX_IMPLICITLY): Define.
19929         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19930         (_POSIX_SOURCE): Undefine and redefine.
19931         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19932         (_POSIX_C_SOURCE): Likewise.
19933         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19934         (Feature Test Macros): Update documentation of default features.
19936 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19938         * benchtests/Makefile: Add bench-strtok.
19939         * benchtests/bench-strtok.c: New file: strtok benchtest.
19941 2013-12-19  Allan McRae  <allan@archlinux.org>
19943         * manual/install.texi: Suppress menu for plain text output.
19944         * INSTALL: Regenerated.
19946 2013-12-18  Brooks Moses  <bmoses@google.com>
19948         [BZ #15846]
19949         * misc/getauxval.c: Include errno.h.
19950         (__getauxval): Set errno to ENOENT if the requested type is not
19951         found.
19952         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19953         don't declare with __attribute_const__.
19954         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19955         * manual/startup.texi: Document that getauxval sets errno.
19957 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19959         * math/auto-libm-test-in: Add tests of jn and yn.
19960         * math/auto-libm-test-out: Regenerated.
19961         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19962         (yn_test_data): Likewise.
19963         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19964         mpfr_if_f.
19965         (func_calc_desc): Add mpfr_if_f union field.
19966         (FUNC_mpfr_if_f): New macro.
19967         (test_functions): Add jn and yn.
19968         (calc_generic_results): Assert type of second input for
19969         mpfr_ff_f.  Handle mpfr_if_f.
19970         (output_for_one_input_case): Disable all checking for arguments
19971         fitting floating-point types in case of an integer argument.
19972         * sysdeps/i386/fpu/libm-test-ulps: Update.
19973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19976         Don't expect fegetround reference in libm.so.
19978 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19980         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19981         $(config-cflags-nofma).
19983 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19985         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19986         * math/auto-libm-test-out: Regenerated.
19988         [BZ #16338]
19989         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19990         to determine exponent and adjust argument to have exponent of -1.
19991         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19992         log2.
19993         * math/auto-libm-test-out: Regenerated.
19994         * sysdeps/i386/fpu/libm-test-ulps: Update.
19995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19997 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19999         * manual/probes.texi: Remove cases when per-thread arenas are
20000         disabled.
20002 2013-12-18  Andreas Schwab  <schwab@suse.de>
20004         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20005         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20006         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20007         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20008         * sysdeps/i386/i686/multiarch/Makefile: Update.
20009         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20011 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20013         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20014         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20016 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20018         [BZ #15968]
20019         Support TZ transition times < 00:00:00.
20020         This is needed for version-3 tz-format files; it supports time
20021         stamps past 2037 for America/Godthab (the only entry in the tz
20022         database for which this change is relevant).
20023         * manual/time.texi (TZ Variable): Document transition times
20024         from -167:59:59 through -00:00:01.
20025         * time/tzset.c (tz_rule): Time of day is now signed.
20026         (__tzset_parse_tz): Parse negative time of day.
20028         Document TZ transition times >= 25:00:00.
20029         * manual/time.texi (TZ Variable): Document transition times from
20030         25:00:00 through 167:59:59.  These are already supported, and this
20031         support will help with version-3 tz-format files.
20033         * manual/time.texi (TZ Variable): Modernize North America example
20034         to reflect current (i.e., 2007-and-later) daylight saving rules.
20036         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20038 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20040         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20041         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20043         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20044         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20045         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20046         * sysdeps/unix/bsd/clock.c: Likewise.
20047         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20048         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20049         * sysdeps/unix/bsd/init-posix.c: Likewise.
20050         * sysdeps/unix/bsd/poll.c: Likewise.
20051         * sysdeps/unix/bsd/ptsname.c: Likewise.
20052         * sysdeps/unix/bsd/seekdir.c: Likewise.
20053         * sysdeps/unix/bsd/setegid.c: Likewise.
20054         * sysdeps/unix/bsd/seteuid.c: Likewise.
20055         * sysdeps/unix/bsd/setgid.c: Likewise.
20056         * sysdeps/unix/bsd/setrgid.c: Likewise.
20057         * sysdeps/unix/bsd/setruid.c: Likewise.
20058         * sysdeps/unix/bsd/setsid.c: Likewise.
20059         * sysdeps/unix/bsd/setuid.c: Likewise.
20060         * sysdeps/unix/bsd/sigaction.c: Likewise.
20061         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20062         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20063         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20064         * sysdeps/unix/bsd/telldir.c: Likewise.
20065         * sysdeps/unix/bsd/times.c: Likewise.
20066         * sysdeps/unix/bsd/usleep.c: Likewise.
20068         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20069         ($(objpfx)libbsd-compat.a): Remove rule.
20071         * include/features.h (__FAVOR_BSD): Do not define.
20072         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20073         features conflicting with POSIX.
20074         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20075         (_BSD_SOURCE): Remove description of not being a subset of other
20076         feature test macros.
20077         * manual/job.texi (getpgrp): Do not document BSD version.
20078         (getpgid): Do not document by reference to BSD getpgrp.
20079         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20080         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20081         * signal/signal.h [__FAVOR_BSD]: Likewise.
20082         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20083         instead of making contents conditional on [__FAVOR_BSD].
20084         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20086 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20090 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20092         [BZ #16314]
20093         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20094         values below 2**-450, not 2**-500.
20095         * math/auto-libm-test-in: Don't allow spurious underflow from
20096         hypot.
20097         * math/auto-libm-test-out: Regenerated.
20099         [BZ #16316]
20100         [BZ #16330]
20101         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20102         values of ha and hb and sort them after adjusting subnormal
20103         arguments.
20104         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20105         Likewise.
20106         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20107         values of ea and eb and sort them after adjusting subnormal
20108         arguments.
20109         * math/auto-libm-test-in: Do not expect some hypot tests of
20110         subnormals to fail.  Add more hypot tests.
20111         * math/auto-libm-test-out: Regenerated.
20113 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20115         [BZ #13304]
20116         * sysdeps/sh/s_fma.c: New file.
20117         * sysdeps/sh/s_fmaf.c: New file.
20118         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20119         version.
20120         * sysdeps/sh/Implies: Add sh/soft-fp.
20122 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20124         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20125         level of indirection to members `objname', `errstring', `malloced'.
20126         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20127         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20128         it as the __longjmp argument (just pass 1 instead).
20129         (_dl_catch_error): Initialize C with argument pointers and address of
20130         volatile local ERRCODE rather than copying values out of C at return.
20132 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20134         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20135         * math/auto-libm-test-out: Regenerated.
20136         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20137         (hypot_test_data): Likewise.
20138         (pow_test_data): Likewise.
20139         (pow_tonearest_test_data): Likewise.
20140         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20141         mpfr_ff_f.
20142         (func_calc_desc): Add mpfr_ff_f union field.
20143         (FUNC_mpfr_ff_f): New macro.
20144         (test_functions): Add atan2, hypot and pow.
20145         (special_fill_min): New function.
20146         (special_fill_minus_min): Likewise.
20147         (special_fill_min_subnorm): Likewise.
20148         (special_fill_minus_min_subnorm): Likewise.
20149         (special_real_inputs): Add min, -min, min_subnorm and
20150         -min_subnorm.
20151         (calc_generic_results): Handle mpfr_ff_f.
20152         * sysdeps/i386/fpu/libm-test-ulps: Update.
20153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20155 2013-12-16  Will Newton  <will.newton@linaro.org>
20157         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20158         (Aligned Memory Blocks): Add documentation for aligned_alloc
20159         and suggest it as an alternative to posix_memalign.
20160         (Hooks for Malloc): Document __memalign_hook is also called
20161         for aligned_alloc.  (Summary of Malloc): Add summary for
20162         aligned alloc.  Document __memalign_hook is also called
20163         for aligned_alloc.
20165 2013-12-16  Will Newton  <will.newton@linaro.org>
20167         * manual/memory.texi (Malloc Examples): Clarify default
20168         alignment documentation.  Suggest posix_memalign rather
20169         than memalign or valloc.
20170         (Aligned Memory Blocks): Remove suggestion to use memalign
20171         or valloc.  Remove obsolete comment about BSD.
20172         Document memalign errno values and mark the function obsolete.
20173         Document posix_memalign returned error codes.  Mark valloc
20174         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20175         called for posix_memalign and valloc.
20176         (Summary of Malloc): Add posix_memalign to function summary.
20177         __memalign_hook is also called for posix_memalign and valloc.
20179 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20181         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20182         TAYLOR_SIN.
20183         (__sin): Adjust.
20184         (__cos): Likewise.
20185         (sloww): Use mynumber union.  Expand ternary operator into
20186         if-else statements.
20187         (cslow): use mynumber union.
20189 2013-12-16  Allan McRae  <allan@archlinux.org>
20191         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20192         * configure: Regenerated.
20194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20196         [BZ #14120]
20197         * configure.ac: Added --enable-maintainer-mode. Check for
20198         autoconf when enabled.
20199         * configure: Regenerated.
20201         * nscd/nscd.service: New file.
20202         * nscd/nscd.tmpfiles: New file.
20204 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20206         [BZ #12100]
20207         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20208         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20209         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20210         (strstr): Add __strstr_sse2_unaligned ifunc.
20211         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20212         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20213         (strcasestr): Remove __strcasestr_sse42 ifunc.
20214         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20218 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20220         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20221         * sysdeps/sh/bits/fenv.h: ... here.
20222         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20224 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20226         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20229         hypotf multiarch implementations.
20230         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20231         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20232         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20233         multiarch hypot for PPC64.
20234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20237         multiarch hypotf for PPC64.
20239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20240         modff multiarch implementations.
20241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20244         multiarch modf for PPC64.
20245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20248         multiarch modff for PPC64.
20250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20251         and logl multiarch implementations.
20252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20255         multiarch logb for PPC64.
20256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20259         multiarch logb for PPC64.
20260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20263         multiarch logb for PPC64.
20265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20266         isinff multiarch implementation.
20267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20268         file.
20269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20271         multiarch isinf for PPC64.
20272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20273         file.
20274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20275         multiarch isinff for PPC64.
20277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20278         finitef multiarch implementation.
20279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20280         file.
20281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20283         multiarch finite for PPC64.
20284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20285         file.
20286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20287         multiarch finitef for PPC64.
20289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20290         lrint multiarch implementation.
20291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20292         file.
20293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20295         multiarch llrint for PPC64.
20296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20297         multiarch lrint for PPC64.
20299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20300         copysignf multiarch implementation.
20301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20302         file.
20303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20304         file.
20305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20306         multiarch copysign for PPC64.
20307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20308         multiarch copysignf for PPC64.
20310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20311         multiarch implementation.
20312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20313         file.
20314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20315         file.
20316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20317         file.
20318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20319         file.
20320         multiarch llround for PPC64.
20321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20322         multiarch trunc for PPC64.
20323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20324         multiarch truncf for PPC64.
20326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20327         multiarch implementation.
20328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20329         file.
20330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20331         file.
20332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20333         file.
20334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20335         file.
20336         multiarch llround for PPC64.
20337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20338         multiarch round for PPC64.
20339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20340         multiarch roundf for PPC64.
20342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20343         multiarch implementation.
20344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20345         file.
20346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20347         file.
20348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20349         file.
20350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20351         file.
20352         multiarch llround for PPC64.
20353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20354         multiarch floor for PPC64.
20355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20356         multiarch floorf for PPC64.
20358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20359         multiarch implementation.
20360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20361         file.
20362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20363         file.
20364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20365         file.
20366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20367         file.
20368         multiarch llround for PPC64.
20369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20370         multiarch ceil for PPC64.
20371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20372         multiarch ceilf for PPC64.
20374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20375         multiarch implementation.
20376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20377         file.
20378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20379         file.
20380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20381         file.
20382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20383         multiarch llround for PPC64.
20384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20385         multiarch lround for PPC64.
20387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20388         multiarch implementation.
20389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20392         file.
20393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20396         multiarch isnan for PPC64.
20397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20398         multiarch isnanf for PPC64.
20400         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20401         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20402         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20403         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20404         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20407         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20408         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20413         multiarch implementations.
20414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20415         (__libc_ifunc_impl_list): Likewise.
20416         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20417         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20418         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20419         multiarch stpcpy for PPC64.
20421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20422         multiarch implementations.
20423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20424         (__libc_ifunc_impl_list): Likewise.
20425         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20426         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20427         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20428         multiarch strcpy for PPC64.
20430         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20431         redefine function name.
20432         (_wordcopy_fwd_dest_aligned): Likewise.
20433         (_wordcopy_bwd_aligned): Likewise.
20434         (_wordcopy_bwd_dest_aligned): Likewise.
20435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20436         multiarch implementations.
20437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20438         (__libc_ifunc_impl_list): Likewise.
20439         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20440         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20441         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20442         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20443         multiarch wcscpy for PPC64.
20445         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20446         multiarch implementations.
20447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20448         (__libc_ifunc_impl_list): Likewise.
20449         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20450         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20451         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20452         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20453         multiarch wcscpy for PPC64.
20455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20456         multiarch implementations.
20457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20458         (__libc_ifunc_impl_list): Likewise.
20459         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20460         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20461         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20462         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20463         multiarch wcsrchr for PPC64.
20465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20466         multiarch implementations.
20467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20468         (__libc_ifunc_impl_list): Likewise.
20469         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20470         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20471         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20472         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20473         multiarch wcschr for PPC64.
20475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20476         multiarch implementations.
20477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20478         (__libc_ifunc_impl_list): Likewise.
20479         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20480         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20481         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20482         multiarch strchrnul for PPC64.
20484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20485         implementations.
20486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20487         (__libc_ifunc_impl_list): Likewise.
20488         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20489         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20490         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20491         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20492         strchr for PPC64.
20494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20495         implementations.
20496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20497         (__libc_ifunc_impl_list): Likewise.
20498         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20499         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20500         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20501         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20502         strncmp for PPC64.
20504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20505         multiarch implementations.
20506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20507         (__libc_ifunc_impl_list): Likewise.
20508         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20509         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20510         strncasecmp for PPC64.
20511         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20512         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20513         multiarch strncasecmp_l for PPC64.
20515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20516         multiarch implementations.
20517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20518         (__libc_ifunc_impl_list): Likewise.
20519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20521         multiarch strcasecmp for PPC64.
20522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20523         file.
20524         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20525         multiarch strcasecmp_l for PPC64.
20527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20528         implementations.
20529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20530         (__libc_ifunc_impl_list): Likewise.
20531         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20532         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20533         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20534         strnlen for PPC64.
20536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20537         implementations.
20538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20539         (__libc_ifunc_impl_list): Likewise.
20540         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20541         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20542         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20543         strlen for PPC64.
20545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20546         implementations.
20547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20548         (__libc_ifunc_impl_list): Likewise.
20549         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20550         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20551         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20552         rawmemrchr for PPC64.
20554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20555         implementation.
20556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20557         (__libc_ifunc_impl_list): Likewise.
20558         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20559         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20560         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20561         memrchr for PPC64.
20563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20564         implementation.
20565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20566         (__libc_ifunc_impl_list): Likewise.
20567         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20568         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20569         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20570         memchr for PPC64.
20572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20573         implementation.
20574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20575         (__libc_ifunc_impl_list): Likewise.
20576         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20577         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20578         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20579         mempcpy for PPC64.
20581         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20582         avoid cretion of __bzero symbol.
20583         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20584         Likewise.
20585         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20586         Likewise.
20587         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20588         Likewise.
20589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20590         multiarch implementations.
20591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20592         (__libc_ifunc_impl_list): Likewise.
20593         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20594         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20595         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20596         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20597         bzero for PPC32.
20598         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20599         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20600         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20601         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20602         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20603         memset for PPC64.
20604         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20606         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20608         implementations.
20609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20610         (__libc_ifunc_impl_list): Likewise.
20611         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20612         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20613         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20614         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20615         memcmp for PPC64.
20617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20618         multiarch for POWER/PPC64.
20619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20620         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20621         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20623         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20627         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20628         memcpy for PPC64.
20630         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20631         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20632         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20633         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20634         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20635         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20636         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20637         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20638         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20639         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20640         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20641         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20642         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20643         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20644         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20653 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20655         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20657 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20659         * benchtests/Makefile (bench): Add exp2 and log2.
20660         (LDLIBS-bench-exp2): Add -lm.
20661         (LDLIBS-bench-log2): Likewise.
20662         * benchtests/exp2-inputs: New inputs file.
20663         * benchtests/log2-inputs: New inputs file.
20664         * benchtests/log-inputs: Add new inputs.
20665         * benchtests/tan-inputs: Likewise.
20667 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20669         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20670         definition...
20671         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20672         (csloww2): ... from here.
20674         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20675         instead of structures.
20676         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20677         (POLYNOMIAL): Likewise.
20678         (TAYLOR_SLOW): Likewise.
20679         (__sin): Likewise.
20680         (__cos): Likewise.
20681         (slow1): Likewise.
20682         (slow2): Likewise.
20683         (sloww): Likewise.
20684         (sloww1); Likewise.
20685         (sloww2): Likewise.
20686         (bsloww1): Likewise.
20687         (bsloww2): Likewise.
20688         (cslow2): Likewise.
20689         (csloww): Likewise.
20690         (csloww1): Likewise.
20691         (csloww2): Likewise.
20693 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
20695         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20696         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20697         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20698         * malloc/hooks.c (realloc_check): Likewise.
20700         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20701         * malloc/arena.c: Remove PER_THREAD conditional.
20702         [!PER_THREAD]: Remove code.
20703         (ptmalloc_unlock_all2): Likewise.
20704         (ptmalloc_init): Likewise.
20705         (_int_new_arena): Likewise.
20706         (arena_get2): Likewise.
20707         * malloc/hooks.c (__malloc_get_state): Likewise.
20708         (__malloc_set_state): Likewise.
20709         * malloc/malloc.c: Likewise.
20710         (struct malloc_state): Likewise.
20711         (struct malloc_par): Likewise.
20712         (__libc_realloc): Likewise.
20713         (__libc_mallopt): Likewise.
20715 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20717         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20719 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
20721         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20722         macro to a function.  Check for zero perturb_byte.
20723         (_int_malloc, _int_free): Remove zero perturb_byte checks.
20725         * malloc/malloc.c: (force_reg): Remove.
20726         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20727         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20728         force_reg by atomic_forced_read.
20729         * malloc/arena.c (ptmalloc_init): Likewise.
20730         * malloc/hooks.c (top_check): Likewise.
20732 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20736 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
20738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20740 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
20742         * math/auto-libm-test-in: Add tests of lgamma.
20743         * math/auto-libm-test-out: Regenerated.
20744         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20745         (M_LOG_2_SQRT_PIl): Likewise.
20746         (lgamma_test_data): Use AUTO_TESTS_f_f1.
20747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20748         mpfr_f_f1.
20749         (func_calc_desc): Add mpfr_f_f1 union field.
20750         (ARGS1): New macro.
20751         (ARGS2): Likewise.
20752         (ARGS3): Likewise.
20753         (ARGS4): Likewise.
20754         (RET1): Likewise.
20755         (RET2): Likewise.
20756         (CALC): Likewise.
20757         (FUNC): Likewise.
20758         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20759         (test_functions): Add lgamma.
20760         (calc_generic_results): Handle mpfr_f_f1.
20761         * sysdeps/i386/fpu/libm-test-ulps: Update.
20762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20766         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20767         __mpn_add_n for PowerPC64/POWER7.
20768         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20769         __mpn_sub_n for PowerPC64/POWER7.
20771         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20772         __mpn_addmul_1 for PowerPC64.
20773         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20774         __mpn_submul_1 for PowerPC64.
20775         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20776         for PowerPC64.
20777         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20778         for PowerPC64.
20780 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
20782         [BZ #15089]
20783         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20785 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20787         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20789         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20790         add multiarch folders.
20791         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20792         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20793         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20794         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20795         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20796         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20797         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20798         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20799         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20800         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20801         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20810         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20812         New file.
20813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20814         New file.
20815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20816         multiarch __ieee754_hypot for PowerPC32.
20817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20818         New file.
20819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20820         New file.
20821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20822         multiarch __ieee754_hypotf for PowerPC32.
20824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20825         long_double_symbol only if __logbl is defined.
20826         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20827         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20829         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20831         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20832         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20833         path for implementation.
20834         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20835         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20837         logb, and logbl multiarch implementations for PowerPC32.
20838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20839         file.
20840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20841         file.
20842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20843         multiarch logb for PowerPC32.
20844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20845         file.
20846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20847         file.
20848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20849         multiarch logbf for PowerPC32.
20850         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20852         file.
20853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20854         multiarch logbl implementation for PowerPC32.
20856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20857         and modff multiarch implementations.
20858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20859         New file.
20860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20861         New file.
20862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20863         multiarch modf for PowerPC32.
20864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20865         New file.
20866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20867         New file.
20868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20869         multiarch modff for PowerPC32.
20871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20872         and lrintf multiarch implementations.
20873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20874         New file.
20875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20876         New file.
20877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20878         multiarch lrint for PowerPC32.
20879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20880         file: multiarch lrintf for PowerPC32.
20882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20883         and lroundf multiarch implementations.
20884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20885         New file.
20886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20887         New file.
20888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20889         New file.
20890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20891         multiarch lround for PowerPC32.
20892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20893         file: multiarch lroundf for PowerPC32.
20895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20896         copysign and copysignf multiarch implementations.
20897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20898         New file.
20899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20900         New file.
20901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20902         file: multiarch copysign for PowerPC32.
20903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20904         file: multiarch copysignf for PowerPC32.
20906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20907         and truncf multiarch implementations.
20908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20909         New file.
20910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20911         file.
20912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20913         multiarch trunc for PowerPC32.
20914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20915         New file.
20916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20917         New file.
20918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20919         multiarch truncf for PowerPC32.
20921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20922         and roundf multiarch implementations.
20923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20924         New file.
20925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20926         file.
20927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20928         multiarch round for PowerPC32.
20929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20930         New file.
20931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20932         New file.
20933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20934         multiarch roundf for PowerPC32.
20936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20937         and floorf multiarch implementations.
20938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20939         New file.
20940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20941         file.
20942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20943         multiarch floor for PowerPC32.
20944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20945         New file.
20946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20947         New file.
20948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20949         multiarch floorf for PowerPC32.
20951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20952         and ceilf multiarch implementations.
20953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20954         New file.
20955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20956         file.
20957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20958         multiarch ceil for PowerPC32.
20959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20960         New file.
20961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20962         file.
20963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20964         multiarch ceilf for PowerPC32.
20966         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20967         is defined.
20968         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20969         FINITEF is defined.
20970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20971         and finitef multiarch implementations.
20972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20973         New file.
20974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20975         file.
20976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20977         multiarch finite for PowerPC32.
20978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20979         New file.
20980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20981         file: multiarch finitef for PowerPC32.
20983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20984         and isinff multiarch implementations.
20985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20986         file.
20987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20988         file.
20989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20990         multiarch isinf for PowerPC32.
20991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20992         New file.
20993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20994         multiarch isinff for PowerPC32.
20996         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20997         alias when __isnan is defined.
20998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20999         and isnanf multiarch implementations.
21000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21001         file.
21002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21003         file.
21004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21005         file.
21006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21007         file.
21008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21009         multiarch isnan for PowerPC32.
21010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21011         New file.
21012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21013         New file.
21014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21015         multiarch isnanf for PowerPC32.
21017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21018         and sqrtf multiarch implementations.
21019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21020         file.
21021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21022         file.
21023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21024         multiarch sqrt for PowerPC32.
21025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21026         file.
21027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21028         file.
21029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21030         multiarch sqrtf for PowerPC32.
21032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21033         and llroundf multiarch implementations.
21034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21035         New file.
21036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21037         New file.
21038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21039         New file.
21040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21041         file: multiarch llround for PowerPC32.
21042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21043         file: multiarch llroundf for PowerPC32.
21045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21046         multiarch PowerPC32 fpu implementations.
21047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21048         New file.
21049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21050         New file.
21051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21052         multiarch llrint for PowerPC32.
21053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21054         New file.
21055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21056         New file.
21057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21058         file.
21060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21062         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21063         file.
21064         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21065         file.
21066         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21067         file.
21068         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21069         multiarch wordcopy for PPC32.
21070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21071         wordcopy objects.
21072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21073         (__libc_ifunc_impl_list): Likewise.
21074         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21075         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21076         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21077         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21078         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21079         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21081         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21083         file.
21084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21085         file.
21086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21087         file.
21088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21089         multiarch wcscpy for PPC32.
21090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21091         multiarch objects.
21092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21093         (__libc_ifunc_impl_list): Likewise.
21094         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21095         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21096         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21097         sysdeps/powerpc/power6/wcscpy.c.
21099         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21101         file.
21102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21103         file.
21104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21105         file.
21106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21107         multiarch wcsrchr for PPC32.
21108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21109         multiarch objects.
21110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21111         (__libc_ifunc_impl_list): Likewise.
21112         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21113         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21114         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21115         sysdeps/powerpc/power6/wcsrchr.c.
21117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21118         file.
21119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21120         file.
21121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21123         multiarch wcschr for PPc32.
21124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21125         multiarch objects.
21126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21127         (__libc_ifunc_impl_list): Likewise.
21128         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21129         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21130         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21131         sysdeps/powerpc/power6/wcschr.c.
21133         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21134         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21135         file.
21136         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21137         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21138         file: multiarch strchr for PPC32.
21139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21140         multiarch objects.
21141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21142         (__libc_ifunc_impl_list): Likewise.
21144         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21145         name.
21146         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21147         file.
21148         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21149         file.
21150         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21151         multiarch strchrnul for PPC32.
21152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21153         multiarch objects.
21154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21155         (__libc_ifunc_impl_list): Likewise.
21157         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21158         file.
21159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21160         multiarch strncasecmp for PPC32.
21161         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21162         file.
21163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21164         multiarch strncasecmp_l for PPC32.
21165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21166         strncasecmp multiarch objects.
21167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21168         (__libc_ifunc_impl_list): Likewise.
21170         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21171         file.
21172         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21173         multiarch strncasecmp for PPC32.
21174         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21175         New file.
21176         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21177         multiarch strcasecmp_l for PPC32.
21178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21179         multiarch objects.
21180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21181         (__libc_ifunc_impl_list): Likewise.
21183         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21184         file.
21185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21186         file.
21187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21188         multiarch strncmp for PPC32.
21189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21190         multiarch objects.
21191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21192         (__libc_ifunc_impl_list): Likewise.
21194         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21195         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21196         file.
21197         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21198         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21200         multiarch objects.
21201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21202         (__libc_ifunc_impl_list): Likewise.
21204         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21205         file.
21206         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21207         file.
21208         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21210         multiarch objects.
21211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21212         (__libc_ifunc_impl_list): Likewise.
21214         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21215         file.
21216         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21217         file.
21218         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21219         multiarch rawmemchr for PPC32.
21220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21221         multiarch objects.
21222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21223         (__libc_ifunc_impl_list): Likewise.
21225         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21226         file.
21227         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21228         file.
21229         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21230         file: memrchr multiarch for PPC32.
21231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21232         multiarch objects.
21233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21234         (__libc_ifunc_impl_list): Likewise.
21236         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21237         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21238         file.
21239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21240         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21241         multiarch memchr for PPC32.
21242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21243         multiarch objects.
21244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21245         (__libc_ifunc_impl_list): Likewise.
21247         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21248         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21249         file.
21250         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21251         file.
21252         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21253         file: multiarch mempcpy for PPC32.
21254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21255         multiarch objects.
21256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21257         (__libc_ifunc_impl_list): Likewise.
21259         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21260         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21261         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21263         multiarch bzero for PPC32.
21264         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21265         file.
21266         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21267         file.
21268         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21269         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21270         file: multiarch memset for PPC32.
21271         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21273         memset multiarch objects.
21274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21275         (__libc_ifunc_impl_list): Likewise.
21277         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21278         file.
21279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21281         memcmp for PPC32.
21282         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21284         multiarch objects.
21285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21286         (__libc_ifunc_impl_list): Likewise.
21288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21290         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21291         file.
21292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21293         file.
21294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21295         file.
21296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21297         multiarch memcpy for PPC32.
21298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21299         multiarch objects.
21300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21301         (__libc_ifunc_impl_list): Likewise.
21303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21304         support multiarch for POWER/PPC32.
21305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21306         Likewise.
21307         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21309         Implies file to make multiarch folder appers before the fpu and
21310         default folder for power4 configuration.
21312 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21314         * scripts/bench.pl: Append volatile keyword to type.
21316 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21318         * sysdeps/sh/sotruss-lib.c: New file.
21319         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21321 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21325 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21327         [BZ #6810]
21328         * math/w_tgamma.c: Include <errno.h>.
21329         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21330         * math/w_tgammaf.c: Include <errno.h>.
21331         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21332         * math/w_tgammal.c: Include <errno.h>.
21333         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21334         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21335         underflow.  Add more tgamma tests.
21336         * math/auto-libm-test-out: Regenerated.
21337         * sysdeps/i386/fpu/libm-test-ulps: Update.
21338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21340         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21341         sin, sinh, tan, tanh, tgamma, y0 and y1.
21342         * math/auto-libm-test-out: Regenerated.
21343         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21344         (TEST_COND_x86): Likewise.
21345         (M_E2l): Remove macro.
21346         (M_E3l): Likewise.
21347         (M_2_SQRT_PIl): Likewise.
21348         (M_SQRT_PIl): Likewise.
21349         (M_1_DIV_El): Likewise.
21350         (log_test_data): Use AUTO_TESTS_f_f.
21351         (log10_test_data): Likewise.
21352         (log1p_test_data): Likewise.
21353         (log2_test_data): Likewise.
21354         (sin_test_data): Likewise.
21355         (sin_tonearest_test_data): Likewise.
21356         (sin_towardzero_test_data): Likewise.
21357         (sin_downward_test_data): Likewise.
21358         (sin_upward_test_data): Likewise.
21359         (sinh_test_data): Likewise.
21360         (sinh_tonearest_test_data): Likewise.
21361         (sinh_towardzero_test_data): Likewise.
21362         (sinh_downward_test_data): Likewise.
21363         (sinh_upward_test_data): Likewise.
21364         (tan_test_data): Likewise.
21365         (tan_tonearest_test_data): Likewise.
21366         (tan_towardzero_test_data): Likewise.
21367         (tan_downward_test_data): Likewise.
21368         (tan_upward_test_data): Likewise.
21369         (tanh_test_data): Likewise.
21370         (tgamma_test_data): Likewise.
21371         (y0_test_data): Likewise.
21372         (y1_test_data): Likewise.
21373         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21374         (special_real_inputs): Add pi/4.
21375         * sysdeps/i386/fpu/libm-test-ulps: Update.
21376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21378 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21380         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21381         "longjmp_target" static probes.
21382         (__longjmp): Rename to __longjmp_symbol.
21383         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21384         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21385         on which longjmp to generate.
21386         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21387         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21388         probe.
21389         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21390         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21391         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21392         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21393         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21394         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21396         __longjmp_symbol based on which __longjmp to generate.
21397         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21398         probe.
21399         (setjmp): Rename to setjmp_symbol.
21400         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21401         (_setjmp): Rename to _setjmp_symbol.
21402         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21403         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21404         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21405         which setjmp to generate.
21406         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21407         "longjmp_target" static probes.
21409 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21411         * benchtests/README: Add note about output arguments.
21412         * benchtests/bench-sincos.c: Remove file.
21413         * benchtests/sincos-inputs: New file.
21414         * scripts/bench.pl: Identify output arguments and define
21415         static variables for them.
21417         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21419         [BZ #15941]
21420         * Makefile (INSTALL): Add install-plain.texi as the primary
21421         dependency.
21422         * manual/install-plain.texi: New file.
21423         * manual/install.texi: Include node directive only for
21424         non-plaintext output.
21426 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21428         * stdlib/longlong.h: Update from GCC.
21430         [BZ #6807]
21431         [BZ #15901]
21432         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21433         * math/w_j0f.c (y0f): Likewise.
21434         * math/w_j0l.c (__y0l): Likewise.
21435         * math/w_j1.c (y1): Likewise.
21436         * math/w_j1f.c (y1f): Likewise.
21437         * math/w_j1l.c (__y1l): Likewise
21438         * math/w_jn.c (yn): Likewise.
21439         * math/w_jnf.c (ynf): Likewise.
21440         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21441         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
21442         value for Bessel function domain errors outside _SVID_ mode.
21443         Adjust sign of return value for yn (negative integer, 0).
21444         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21445         by zero in return for negative x and set sign appropriately for
21446         negative n.
21447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21448         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21449         * math/libm-test.inc (y0_test_data): Add more tests and adjust
21450         expectations in error cases.
21451         (y1_test_data): Likewise.
21452         (yn_test_data): Likewise.
21453         * sysdeps/i386/fpu/libm-test-ulps: Update.
21454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21456 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21458         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21459         "64" to "64-v1".  Add "64-v2".
21460         (abi-64-options): Rename to ...
21461         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
21462         (abi-64-condition): Rename to ...
21463         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
21464         (abi-64-ld-soname): Rename to ...
21465         (abi-64-v1-ld-soname): ... this.
21466         (abi-64-v2-options): Define.
21467         (abi-64-v2-condition): Likewise.
21468         (abi-64-v2-ld-soname): Likewise.
21469         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21470         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21475 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21476             Alan Modra  <amodra@gmail.com>
21478         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21479         New versions for use with the ELFv2 ABI.
21480         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21481         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21482         declaration.
21483         (struct La_ppc64v2_retval): Likewise.
21484         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21485         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21486         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21487         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21488         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21489         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21490         Do not save or restore CR.
21491         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21492         (_dl_profile_resolve): Do no save or restore CR.  Support extended
21493         return values for ELFv2 ABI.  Fix location of FPR return registers.
21494         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21495         updated values for _CALL_ELF == 2.
21496         (La_regs, La_retval, int_retval): Likewise.
21498 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21500         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21501         (FRAME_MIN_SIZE_PARM): Likewise.
21502         (FRAME_BACKCHAIN): Likewise.
21503         (FRAME_CR_SAVE): Likewise.
21504         (FRAME_LR_SAVE): Likewise.
21505         (FRAME_TOC_SAVE): Likewise.
21506         (FRAME_PARM_SAVE): Likewise.
21507         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21508         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21509         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21510         (call_mcount_parm_offset): New macro.
21511         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21512         (PROF): Use symbolic stack frame offsets.
21513         (TAIL_CALL_SYSCALL_ERROR): Likewise.
21514         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21515         Redefine in terms of FRAME_MIN_SIZE.
21516         (_dl_runtime_resolve): Use symbolic stack frame offsets.
21517         (_dl_profile_resolve): Likewise.  Update comment.
21518         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21519         symbols stack frame offsets.
21520         (__sigsetjmp): Likewise.
21521         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21522         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21523         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21524         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21527         (FRAME_BACKCHAIN): Remove.
21528         (FRAME_CR_SAVE): Likewise.
21529         (FRAME_LR_SAVE): Likewise.
21530         (FRAME_COMPILER_DW): Likewise.
21531         (FRAME_LINKER_DW): Likewise.
21532         (FRAME_TOC_SAVE): Likewise.
21533         (FRAME_PARM_SAVE): Likewise.
21534         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21535         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21536         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21538         (CHECK_SP): Use symbolic stack frame offsets.
21539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21540         zone" instead of caller's parameter save area for temp storage.
21541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21542         Likewise.  Also, use symbolic stack frame offsets.
21543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21544         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21545         our own stack frame instead of the caller's.
21546         (__socket): Use symbolic stack frame offsets.
21548 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21549             Alan Modra  <amodra@gmail.com>
21551         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21552         Define.
21553         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21554         (PPC64_LOCAL_ENTRY_OFFSET): Define.
21555         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21556         New function.
21557         (elf_machine_fixup_plt): Call it.
21558         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
21559         reloc arguments.
21560         (elf_machine_rela): Update call to elf_machine_plt_conflict.
21561         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21562         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21563         r2 before calling target.
21565 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21566             Alan Modra  <amodra@gmail.com>
21568         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21569         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21570         versions of macros to support ELFv2 ABI.
21571         (LOCALENTRY): New macro.
21572         (ENTRY, EALIGN): Use it.
21573         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21574         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21575         fall through into ENTRY entry point.
21576         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21577         Only define if _CALL_ELF != 2.
21579         (elf_machine_matches_host): Verify ABI version matches.
21580         (RTLD_START): Use LOCALENTRY.
21581         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21582         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21583         (PLT_ENTRY_WORDS): New macro.
21584         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21585         (elf_machine_runtime_setup): Support ELFv2 ABI.
21586         (elf_machine_fixup_plt): Likewise.
21587         (elf_machine_plt_conflict): Likewise.
21588         (resolve_ifunc): Likewise.
21589         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21590         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21591         Likewise.
21592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21593         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21595         (makecontext): Support ELFv2 ABI.
21596         * elf/elf.h (EF_PPC64_ABI): Define.
21598 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21600         * sysdeps/powerpc/powerpc64/sysdep.h
21601         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21602         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21603         (ENTRY) [ASSEMBLER]: ... but instead here ...
21604         (EALIGN) [ASSEMBLER]: ... and here.
21605         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21606         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21607         (ENTRY_2) [!ASSEMBLER]: Use it.
21608         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21609         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
21610         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21611         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21612         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21614         Use PPC64_LOAD_FUNCPTR.
21616         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21618 2013-12-04  Alan Modra  <amodra@gmail.com>
21620         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21621         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21622         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21623         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21626         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21627         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21628         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21629         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21630         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21632 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21635         (__makecontext): Fix incorrect CFI when backtracing out of
21636         context created via makecontext.
21637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21638         (__setcontext): Fix incorrect CFI during switch to new context.
21639         (__novec_setcontext): Likewise.
21641 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21643         [BZ #4772]
21644         * time/strptime_l.c (__strptime_internal): Allow modifiers
21645         in strptime.
21646         * time/tst-strptime.c (day_tests): Add testcase.
21648 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21650         * scripts/bench.pl: Skip over blank lines.
21652 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21654         [BZ #926]
21655         * manual/time.texi (Calendar Time): Clarify what timezone functions
21656         use.
21658 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21662 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21664         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21665         implementation.
21666         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21667         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21668         * debug/memset_chk.c (__memset_chk): Likewise.
21669         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21670         * debug/strncpy_chk.c: Likewise.
21672 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21674         [BZ #15268]
21675         [BZ #15425]
21676         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21677         (__ieee754_exp): For possibly underflowing results, check size of
21678         result and force underflow exception if required.
21679         * math/auto-libm-test-in: Add more tests of exp.
21680         * math/auto-libm-test-out: Regenerated.
21681         * sysdeps/i386/fpu/libm-test-ulps: Update.
21682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21684         [BZ #16283]
21685         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21686         * math/w_exp2f.c (__exp2f): Likewise.
21687         * math/w_exp2l.c (__exp2l): Likewise.
21688         * math/auto-libm-test-in: Do not allow missing errno on exp2
21689         underflow.
21690         * math/auto-libm-test-out: Regenerated.
21692 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
21694         [BZ #16274]
21695         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21696         handle filename validation.
21697         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21698         (do_open): Delete.
21700 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21702         [BZ #6786]
21703         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21704         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21705         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21706         <float.h>.
21707         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21708         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21709         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21710         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21711         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21712         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21713         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21714         * math/auto-libm-test-in: Don't allow missing errno from erfc.
21715         Add more erfc tests.
21716         * math/auto-libm-test-out: Regenerated.
21717         * sysdeps/i386/fpu/libm-test-ulps: Update.
21718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21720         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21721         exp2, expm1, j0 and j1.
21722         * math/auto-libm-test-out: Regenerated.
21723         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21724         (erfc_test_data): Likewise.
21725         (exp_test_data): Likewise.
21726         (exp_tonearest_test_data): Likewise.
21727         (exp_towardzero_test_data): Likewise.
21728         (exp_downward_test_data): Likewise.
21729         (exp_upward_test_data): Likewise.
21730         (exp10_test_data): Likewise.
21731         (exp2_test_data): Likewise.
21732         (expm1_test_data): Likewise.
21733         (j0_test_data): Likewise.
21734         (j1_test_data): Likewise.
21735         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21736         (input_flag_type): Add flag_xfail_rounding.
21737         (input_flags): Add xfail-rounding.
21738         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21739         (output_for_one_input_case): Handle flag_xfail_rounding.
21740         * sysdeps/i386/fpu/libm-test-ulps: Update.
21741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21743 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
21745         [BZ #16289]
21746         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21747         division by 0.
21749 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21751         [BZ #16195]
21752         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21753         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21754         (STAP_PROBE0): New macro.
21755         (STAP_PROBE1): Likewise.
21756         (STAP_PROBE2): Likewise.
21757         (STAP_PROBE3): Likewise.
21758         (STAP_PROBE4): Likewise.
21760 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
21762         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21764 2013-12-02  Steve Ellcey  <sellcey@mips.com>
21766         * benchtests/Makefile (bench): Add sqrt.
21767         (LDLIBS-bench-sqrt): New.
21768         * benchtests/sqrt-input: New.
21770 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
21772         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21773         (GAIH_EAI): Likewise.
21774         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21775         (gaih_inet): Likewise.
21776         (getaddrinfo): Don't use GAIH_EAI.
21778         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21779         (struct gaih): Remove definition.
21781 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21783         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21784         Use HERRNOP directly.
21786 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21790 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
21792         * math/gen-auto-libm-tests.c (test_functions): Add more
21793         single-argument functions.
21794         (special_fill_pi_2): New function.
21795         (special_fill_minus_pi_2): Likewise.
21796         (special_fill_pi_6): Likewise.
21797         (special_fill_minus_pi_6): Likewise.
21798         (special_fill_pi_3): Likewise.
21799         (special_fill_2pi_3): Likewise.
21800         (special_fill_e): Likewise.
21801         (special_fill_1_e): Likewise.
21802         (special_fill_e_minus_1): Likewise.
21803         (special_real_inputs): Add more special inputs.
21804         (output_for_one_input_case): Do not require ERANGE on underflow to
21805         zero if round-to-nearest result does not underflow to zero, unless
21806         exact results required.
21807         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21808         atan, atanh, cbrt, cos and cosh.
21809         * math/auto-libm-test-out: Regenerated.
21810         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21811         (acos_tonearest_test_data): Likewise.
21812         (acos_towardzero_test_data): Likewise.
21813         (acos_downward_test_data): Likewise.
21814         (acos_upward_test_data): Likewise.
21815         (acosh_test_data): Likewise.
21816         (asin_test_data): Likewise.
21817         (asin_tonearest_test_data): Likewise.
21818         (asin_towardzero_test_data): Likewise.
21819         (asin_upward_test_data): Likewise.
21820         (asinh_test_data): Likewise.
21821         (atan_test_data): Likewise.
21822         (atanh_test_data): Likewise.
21823         (cbrt_test_data): Likewise.
21824         (cos_test_data): Likewise.
21825         (cos_tonearest_test_data): Likewise.
21826         (cos_towardzero_test_data): Likewise.
21827         (cos_downward_test_data): Likewise.
21828         (cos_upward_test_data): Likewise.
21829         (cosh_test_data): Likewise.
21830         (cosh_tonearest_test_data): Likewise.
21831         (cosh_towardzero_test_data): Likewise.
21832         (cosh_downward_test_data): Likewise.
21833         (cosh_upward_test_data): Likewise.
21834         * sysdeps/i386/fpu/libm-test-ulps: Update.
21835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21837 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21839         [BZ #6787]
21840         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21841         * math/w_exp10f.c (__exp10f): Likewise.
21842         * math/w_exp10l.c (__exp10l): Likewise.
21843         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21844         errno settings in existing tests.
21846         [BZ #14032]
21847         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21848         precision control set to double precision.
21849         * sysdeps/i386/fpu/w_sqrt.c: New file.
21850         * math/auto-libm-test-in: Add more tests.
21851         * math/auto-libm-test-out: Update.
21853         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21854         (sqrt_test_tonearest): New function.
21855         (sqrt_towardzero_test_data): New variable.
21856         (sqrt_test_towardzero): New function.
21857         (sqrt_downward_test_data): New variable.
21858         (sqrt_test_downward): New function.
21859         (sqrt_upward_test_data): New variable.
21860         (sqrt_test_upward): New function.
21861         (main): Call the new functions.
21863         * math/gen-auto-libm-tests.c: New file.
21864         * math/auto-libm-test-in: Likewise.
21865         * math/auto-libm-test-out: New generated file.
21866         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21867         variables.
21868         (%beautify): Add generated representations of zero.
21869         (top level): Set $auto_input and call parse_auto_input.
21870         (beautify): Remove trailing "f" from hex float constants.
21871         (parse_args): Handle XFAIL_TEST.
21872         (convert_condition): New function.
21873         (or_value): Likewise.
21874         (or_cond_value): Likewise.
21875         (generate_testfile): Handle AUTO_TESTS_* lines.
21876         (parse_auto_input): New function.
21877         * math/libm-test.inc (XFAIL_TEST): New macro.
21878         (ERRNO_UNCHANGED): Update value.
21879         (ERRNO_EDOM): Likewise.
21880         (ERRNO_ERANGE): Likewise.
21881         (IGNORE_RESULT): Likewise.
21882         (TEST_COND_flt_32): New macro.
21883         (TEST_COND_dbl_64): Likewise.
21884         (TEST_COND_ldbl_96_intel): Likewise.
21885         (TEST_COND_ldbl_96_m68k): Likewise.
21886         (TEST_COND_ldbl_128): Likewise.
21887         (TEST_COND_ldbl_128ibm): Likewise.
21888         (TEST_COND_long32): Likewise.
21889         (TEST_COND_long64): Likewise.
21890         (TEST_COND_before_rounding): Likewise.
21891         (TEST_COND_after_rounding): Likewise.
21892         (enable_test): Handle XFAIL_TEST flag.
21893         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21894         with finite results.
21895         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21896         auto-libm-test-out.
21898 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21899             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21901         [BZ #16214]
21902         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21903         __tls_get_addr_internal instead of __tls_get_offset in order to
21904         avoid GOT pointer dependency.  Make rtld export
21905         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21906         __tls_get_addr since we are a __tls_get_offset platform.
21907         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21908         GOT pointer being set up before.
21909         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21911 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21913         * manual/math.texi (Errors in Math Functions): Document accuracy
21914         goals.
21916         [BZ #15004]
21917         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21918         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21919         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21920         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21921         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21922         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21923         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21924         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21925         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21926         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21927         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21928         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21929         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21930         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21931         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21932         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21934         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21935         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21936         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21937         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21938         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21939         Likewise.
21940         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21941         Likewise.
21942         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21943         Likewise.
21944         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21945         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21946         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21947         atomic-feupdateenv and flt-rounds.
21948         * sysdeps/powerpc/nofpu/Versions (libc): Add
21949         __atomic_feholdexcept, __atomic_feclearexcept,
21950         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21951         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21952         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21953         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21954         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21955         here.
21956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21957         Update.
21959         * manual/arith.texi (FP Exceptions): Document that exceptions may
21960         not be raised when matherr is used.
21961         (Math Error Reporting): Document overflow in directed rounding
21962         modes.  Document that errno may not be set when finite values are
21963         returned on overflow.  Document intent to set errno on underflow
21964         only for underflow to zero.
21966         [BZ #16271]
21967         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21968         round-to-nearest then adjust result for other rounding modes.
21969         * include/fenv.h (fegetround): Use libm_hidden_proto.
21970         * math/fegetround.c (fegetround): Use libm_hidden_def.
21971         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21972         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21973         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21974         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21975         Likewise.
21976         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21977         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21978         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21979         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21981 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21983         [BZ #16077]
21984         * nss/Versions (libnss_files): Add
21985         _nss_files_gethostbyname3_r.
21986         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21987         New function.
21988         (HOST_DB_LOOKUP): Remove macro.
21989         (_nss_files_gethostbyname_r): Implement function without the
21990         HOST_DB_LOOKUP macro.
21991         (_nss_files_gethostbyname2_r): Likewise.
21993 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21995         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21997 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21999         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22000         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22001         warning.
22003 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22005         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22006         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22007         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22008         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22009         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22010         __fe_nomask_env_priv and attribute_hidden.
22011         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22012         (libc_feupdateenv_test_ppc): Likewise.
22013         (libc_feresetround_ppc): Likewise.
22014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22015         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22016         compat_symbol macro.
22017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22018         (__fe_nomask_env): Likewise.
22019         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22021 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22023         * string/Makefile: Remove ifunc tests.
22024         * string/test-string.h: Define TEST_IFUNC.
22025         * string/test-bcopy-ifunc.c: Remove.
22026         * string/test-bzero-ifunc.c: Likewise.
22027         * string/test-memccpy-ifunc.c: Likewise.
22028         * string/test-memchr-ifunc.c: Likewise.
22029         * string/test-memcmp-ifunc.c: Likewise.
22030         * string/test-memcpy-ifunc.c: Likewise.
22031         * string/test-memmem-ifunc.c: Likewise.
22032         * string/test-memmove-ifunc.c: Likewise.
22033         * string/test-mempcpy-ifunc.c: Likewise.
22034         * string/test-memrchr-ifunc.c: Likewise.
22035         * string/test-memset-ifunc.c: Likewise.
22036         * string/test-rawmemchr-ifunc.c: Likewise.
22037         * string/test-stpcpy-ifunc.c: Likewise.
22038         * string/test-stpncpy-ifunc.c: Likewise.
22039         * string/test-strcasecmp-ifunc.c: Likewise.
22040         * string/test-strcasestr-ifunc.c: Likewise.
22041         * string/test-strcat-ifunc.c: Likewise.
22042         * string/test-strchr-ifunc.c: Likewise.
22043         * string/test-strchrnul-ifunc.c: Likewise.
22044         * string/test-strcmp-ifunc.c: Likewise.
22045         * string/test-strcpy-ifunc.c: Likewise.
22046         * string/test-strcspn-ifunc.c: Likewise.
22047         * string/test-strlen-ifunc.c: Likewise.
22048         * string/test-strncasecmp-ifunc.c: Likewise.
22049         * string/test-strncat-ifunc.c: Likewise.
22050         * string/test-strncmp-ifunc.c: Likewise.
22051         * string/test-strncpy-ifunc.c: Likewise.
22052         * string/test-strnlen-ifunc.c: Likewise.
22053         * string/test-strpbrk-ifunc.c: Likewise.
22054         * string/test-strrchr-ifunc.c: Likewise.
22055         * string/test-strspn-ifunc.c: Likewise.
22056         * string/test-strstr-ifunc.c: Likewise.
22058 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22060         * benchtests/Makefile: Remove ifunc tests.
22061         * benchtests/bench-string.h: Define TEST_IFUNC.
22062         * benchtests/bench-bcopy-ifunc.c: Remove.
22063         * benchtests/bench-bzero-ifunc.c: Likewise.
22064         * benchtests/bench-memccpy-ifunc.c: Likewise.
22065         * benchtests/bench-memchr-ifunc.c: Likewise.
22066         * benchtests/bench-memcmp-ifunc.c: Likewise.
22067         * benchtests/bench-memcpy-ifunc.c: Likewise.
22068         * benchtests/bench-memmem-ifunc.c: Likewise.
22069         * benchtests/bench-memmove-ifunc.c: Likewise.
22070         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22071         * benchtests/bench-memrchr-ifunc.c: Likewise.
22072         * benchtests/bench-memset-ifunc.c: Likewise.
22073         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22074         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22075         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22076         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22077         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22078         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22079         * benchtests/bench-strcat-ifunc.c: Likewise.
22080         * benchtests/bench-strchr-ifunc.c: Likewise.
22081         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22082         * benchtests/bench-strcmp-ifunc.c: Likewise.
22083         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22084         * benchtests/bench-strcpy-ifunc.c: Likewise.
22085         * benchtests/bench-strcspn-ifunc.c: Likewise.
22086         * benchtests/bench-strlen-ifunc.c: Likewise.
22087         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22088         * benchtests/bench-strncat-ifunc.c: Likewise.
22089         * benchtests/bench-strncmp-ifunc.c: Likewise.
22090         * benchtests/bench-strncpy-ifunc.c: Likewise.
22091         * benchtests/bench-strnlen-ifunc.c: Likewise.
22092         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22093         * benchtests/bench-strrchr-ifunc.c: Likewise.
22094         * benchtests/bench-strsep-ifunc.c: Likewise.
22095         * benchtests/bench-strspn-ifunc.c: Likewise.
22096         * benchtests/bench-strstr-ifunc.c: Likewise.
22098 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22100         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22102 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22104         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22105         * rt/aio.h: Likewise.
22106         * sysdeps/gnu/bits/utmp.h: Likewise.
22107         * sysdeps/gnu/bits/utmpx.h: Likewise.
22108         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22109         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22110         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22111         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22112         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22113         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22114         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22115         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22116         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22117         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22118         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22119         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22120         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22122         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22123         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22124         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22125         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22126         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22127         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22128         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22129         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22130         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22131         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22132         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22134         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22135         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22136         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22137         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22138         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22139         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22140         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22141         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22142         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22143         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22144         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22145         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22146         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22147         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22148         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22149         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22151 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22153         [BZ #16245]
22154         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22155         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22157 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22159         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22160         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22161         Likewise.
22163 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22165         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22166         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22167         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22168         (__fesetround): Remove define.
22169         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22170         rounding and exceptions handling.
22171         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22172         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22173         (__fe_nomask_env): Likewise.
22174         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22175         __fegetround instead of fegetround.
22176         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22177         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22179 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22181         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22182         it's there.
22184         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22186 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22188         [BZ #11157]
22189         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22190         (encrypt_r): Likewise.
22191         * malloc/obstack.h (obstack_free): Likewise.
22192         * posix/unistd.h (encrypt): Likewise.
22194 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22196         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22197         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22198         DL_CALL_DT_FINI() that call the functions directly.
22199         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22200         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22201         * elf/dl-fini.c: Likewise.
22203 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22205         * malloc/hooks.c (memalign_check): Add alignment rounding.
22206         * malloc/malloc.c (_mid_memalign): New function.
22207         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22208         Implement by calling _mid_memalign.
22209         * manual/probes.texi (Memory Allocation Probes): Remove
22210         memory_valloc_retry and memory_pvalloc_retry.
22212 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22214         * locale/programs/locarchive.c (open_archive): Add const
22215         qualifier to ARCHIVEFNAME and copy default fname to
22216         DEFAULT_FNAME.
22218         [BZ #15601]
22219         * libio/tst-widetext.input: Rename Oriya to Odia.
22220         * locale/iso-639.def: Likewise.
22222         * manual/probes.texi (Mathematical Function Probes): Add
22223         documentation for sin, cos, asin and acos probes.
22224         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22225         (__sin32): Add slowasin probe.
22226         (__cos32): Add slowacos probe.
22227         (__mpsin): Add slowsin probe.
22228         (__mpcos): Add slowcos probe.
22230 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22232         [BZ #15483]
22233         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22234         thread-local __sim_exceptions_thread and global
22235         __sim_exceptions_global.
22236         (__sim_disabled_exceptions): Change to thread-local
22237         __sim_disabled_exceptions_thread and global
22238         __sim_disabled_exceptions_global.
22239         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22240         and global __sim_round_mode_global.
22241         (__simulate_exceptions): Use thread-local floating-point state and
22242         set global state from it as needed.
22243         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22244         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22245         __sim_round_mode_thread.
22246         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22247         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22248         and global __sim_exceptions_global.
22249         (__sim_disabled_exceptions): Change to thread-local
22250         __sim_disabled_exceptions_thread and global
22251         __sim_disabled_exceptions_global.
22252         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22253         and global __sim_round_mode_global.
22254         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22255         (SIM_SET_GLOBAL): Likewise.
22256         * sysdeps/powerpc/soft-fp/sfp-machine.h
22257         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22258         __sim_round_mode_thread.
22259         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22260         __sim_disabled_exceptions_thread.
22261         (__sim_exceptions): Change to __sim_exceptions_thread.
22262         (__sim_disabled_exceptions): Change to
22263         __sim_disabled_exceptions_thread.
22264         (__sim_round_mode): Change to __sim_round_mode_thread.
22265         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22266         thread-local floating-point state and set global state from it as
22267         needed.
22268         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22269         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22270         (__sim_disabled_exceptions): Remove extern declaration.
22271         (feenableexcept): Use thread-local floating-point state and set
22272         global state from it as needed.
22273         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22274         extern declaration.
22275         (__sim_disabled_exceptions): Likewise.
22276         (__sim_round_mode): Likewise.
22277         (__fegetenv): Use thread-local floating-point state.
22278         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22279         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22280         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22281         floating-point state and set global state from it as needed.
22282         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22283         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22284         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22285         Likewise.
22286         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22287         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22288         Likewise.
22289         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22290         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22291         Use __sim_round_mode_thread.
22292         * math/test-fenv-tls.c: New file.
22293         * math/Makefile (tests): Add test-fenv-tls.
22294         ($(objpfx)test-fenv-tls): Depend on
22295         $(common-objpfx)nptl/libpthread.so.
22297 2013-11-19  Andreas Schwab  <schwab@suse.de>
22299         * locale/programs/locale.c (show_info): Decode wordarray elements.
22300         * locale/categories.def (LC_MONETARY): Add element for
22301         _NL_MONETARY_CRNCYSTR.
22302         * locale/C-monetary.c (conversion_rate): New variable.
22303         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22304         element.
22306 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22308         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22309         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22311 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22313         * elf/Makefile (tst-auxv): New test.
22314         * elf/tst-auxv.c: New
22315         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22317 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22319         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22320         (hidden_proto): Caller changed.
22321         (hidden_tls_proto): New macro.
22322         (libc_hidden_tls_proto): Likewise.
22323         (rtld_hidden_tls_proto): Likewise.
22324         (libm_hidden_tls_proto): Likewise.
22325         (libresolv_hidden_tls_proto): Likewise.
22326         (librt_hidden_tls_proto): Likewise.
22327         (libdl_hidden_tls_proto): Likewise.
22328         (libnss_files_hidden_tls_proto): Likewise.
22329         (libnsl_hidden_tls_proto): Likewise.
22330         (libnss_nisplus_hidden_tls_proto): Likewise.
22331         (libutil_hidden_tls_proto): Likewise.
22333 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22335         [BZ #10253]
22336         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22337         (decompose_rpath): Defer expansion to fillin_rpath.
22338         (_dl_init_paths): Pass linkmap to fillin_rpath.
22340 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22342         * benchtests/Makefile: Add strsep.
22343         * benchtests/bench-strsep.c: New file: strsep benchtest.
22344         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22346 2013-11-18  Andreas Schwab  <schwab@suse.de>
22348         * locale/programs/locale.c (show_info) [case byte]: Check for
22349         '\377' instead of '\177'.
22350         * locale/C-monetary.c (not_available): Always use "\377".
22351         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22352         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22353         detect unavailable sign_posn locale elements.
22354         * locale/localeconv.c (__localeconv): For grouping and
22355         mon_grouping handle "\177" and "\377" like no grouping.
22356         (INT_ELEM): New macro.  Use it to set all numeric members.
22357         * locale/programs/ld-monetary.c (monetary_read)
22358         <tok_mon_grouping>: Normalize single -1 to the empty string.
22359         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22360         Likewise.
22362 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22364         [BZ #16055]
22365         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22366         when we match (nil).
22367         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22369 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22371         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22372         (NO_TEST_INLINE): Update value.
22373         (ERRNO_UNCHANGED): Likewise.
22374         (ERRNO_EDOM): Likewise.
22375         (ERRNO_ERANGE): Likewise.
22376         (IGNORE_RESULT): Likewise.
22377         (check_float_internal): Check signs of NaN results if
22378         TEST_NAN_SIGN used.
22379         (check_complex): Pass TEST_NAN_SIGN flag through to second
22380         check_float_internal call.
22381         (copysign_test_data): Add tests with quiet NaNs as second
22382         argument.  Use TEST_NAN_SIGN.
22383         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22384         TEST_NAN_SIGN.
22385         (signbit_test_data): Add tests of quiet NaN argument.
22386         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22388         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22389         $ignore_result.
22390         (parse_args): Handle function results specified as IGNORE.
22391         * math/libm-test.inc (IGNORE_RESULT): New macro.
22392         (check_float_internal): Do not check numerical result if flag
22393         IGNORE_RESULT set.
22394         (check_complex): Pass through IGNORE_RESULT to second
22395         check_float_internal call.
22396         (check_int): Do not check numerical result if flag IGNORE_RESULT
22397         set.
22398         (check_long): Likewise.
22399         (check_bool): Likewise.
22400         (check_longlong): Likewise.
22401         (lrint_test_data): Add tests of infinite and NaN arguments.
22402         (lrint_tonearest_test_data): Likewise.
22403         (lrint_towardzero_test_data): Likewise.
22404         (lrint_downward_test_data): Likewise.
22405         (lrint_upward_test_data): Likewise.
22406         (llrint_test_data): Likewise.
22407         (llrint_tonearest_test_data): Likewise.
22408         (llrint_towardzero_test_data): Likewise.
22409         (llrint_downward_test_data): Likewise.
22410         (llrint_upward_test_data): Likewise.
22411         (lround_test_data): Likewise.
22412         (llround_test_data): Likewise.
22414         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22415         (ERRNO_UNCHANGED): Update value.
22416         (ERRNO_EDOM): Likewise.
22417         (ERRNO_ERANGE): Likewise.
22418         (NO_TEST_INLINE_FLOAT): New macro.
22419         (NO_TEST_INLINE_DOUBLE): Likewise.
22420         (enable_test): New function.
22421         (RUN_TEST_f_f): Check enable_test before running test.
22422         (RUN_TEST_2_f): Likewise.
22423         (RUN_TEST_fff_f): Likewise.
22424         (RUN_TEST_c_f): Likewise.
22425         (RUN_TEST_f_f1): Likewise.
22426         (RUN_TEST_fF_f1): Likewise.
22427         (RUN_TEST_fI_f1): Likewise.
22428         (RUN_TEST_ffI_f1): Likewise.
22429         (RUN_TEST_c_c): Likewise.
22430         (RUN_TEST_cc_c): Likewise.
22431         (RUN_TEST_f_i): Likewise.
22432         (RUN_TEST_f_i_tg): Likewise.
22433         (RUN_TEST_ff_i_tg): Likewise.
22434         (RUN_TEST_f_b): Likewise.
22435         (RUN_TEST_f_b_tg): Likewise.
22436         (RUN_TEST_f_l): Likewise.
22437         (RUN_TEST_f_L): Likewise.
22438         (RUN_TEST_fFF_11): Likewise.
22439         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22440         conditionals.
22441         (cosh_test_data): Likewise.
22442         (exp_test_data): Likewise.
22443         (expm1_test_data): Likewise.
22444         (hypot_test_data): Likewise.
22445         (pow_test_data): Likewise.
22446         (sinh_test_data): Likewise.
22447         (tanh_test_data): Likewise.
22448         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22449         flags argument.
22451         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22452         tests with quiet NaN input and output.
22453         (acosh_test_data): Likewise.
22454         (asin_test_data): Likewise.
22455         (asinh_test_data): Likewise.
22456         (atan_test_data): Likewise.
22457         (atanh_test_data): Likewise.
22458         (atan2_test_data): Likewise.
22459         (cbrt_test_data): Likewise.
22460         (cos_test_data): Likewise.
22461         (cosh_test_data): Likewise.
22462         (erf_test_data): Likewise.
22463         (erfc_test_data): Likewise.
22464         (exp_test_data): Likewise.
22465         (exp10_test_data): Likewise.
22466         (exp2_test_data): Likewise.
22467         (expm1_test_data): Likewise.
22468         (hypot_test_data): Likewise.
22469         (j0_test_data): Likewise.
22470         (j1_test_data): Likewise.
22471         (jn_test_data): Likewise.
22472         (lgamma_test_data): Likewise.
22473         (log_test_data): Likewise.
22474         (log10_test_data): Likewise.
22475         (log1p_test_data): Likewise.
22476         (log2_test_data): Likewise.
22477         (pow_test_data): Likewise.
22478         (scalb_test_data): Likewise.
22479         (sin_test_data): Likewise.
22480         (sincos_test_data): Likewise.
22481         (sinh_test_data): Likewise.
22482         (tan_test_data): Likewise.
22483         (tanh_test_data): Likewise.
22484         (tgamma_test_data): Likewise.
22485         (y0_test_data): Likewise.
22486         (y1_test_data): Likewise.
22487         (yn_test_data): Likewise.
22489         [BZ #16167]
22490         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22491         argument being NaN and avoid computations with second argument in
22492         that case.
22493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22494         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22495         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22497 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
22499         * locale/iso-639.def: Add Chitwani Tharu (the).
22501 2013-11-14  Andreas Schwab  <schwab@suse.de>
22503         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22504         word instead of empty string.
22506 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22509         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22511         (__fe_nomask_env): Likewise.
22513 2013-11-13  Steve Ellcey  <sellcey@mips.com>
22515         * benchtests/bench-timing.h: Include time.h.
22517 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
22519         [BZ #15997]
22520         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22521         to 3.4.0 for x32.
22522         * sysdeps/unix/sysv/linux/configure: Regenerated.
22524 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
22526         [BZ #16151]
22527         * stdlib/strtod_l.c (round_and_return): Do not consider
22528         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22529         exponent one less than half the least subnormal exponent.
22530         * stdlib/test-strtod-round-data: Add more tests.
22531         * stdlib/tst-strtod-round.c (tests): Regenerated.
22533 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22535         [BZ #14143]
22536         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22537         (__fe_mask_env): Likewise.
22538         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22539         libm_hidden_proto and add function prototype.
22540         (__fe_mask_env): Add function prototype.
22541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22542         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22544         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22546         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22548 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22550         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22551         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22553 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22555         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22556         of htab_find_slot().
22558 2013-11-11  David S. Miller  <davem@davemloft.net>
22560         [BZ #16150]
22561         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22562         symbol in the non-vis3 case in static builds.
22563         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22564         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22565         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22566         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22568 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
22570         [BZ #387]
22571         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22572         it is empty.
22574 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22576         * benchtests/Makefile: Add bench-strtod.
22577         * benchtests/bench-strtod.c: New file: strtod benchtest
22579 2013-11-11  Andreas Schwab  <schwab@suse.de>
22581         [BZ #16153]
22582         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22583         terminating NUL in key length.
22585 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22587         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22588         Add artificial ODP entry for vDSO symbol for PPC64.
22589         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22590         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22592 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22594         [BZ #15374]
22595         * nss/getent.c (services_keys): Recognize services starting with digit.
22597 2013-11-06  David S. Miller  <davem@davemloft.net>
22599         [BZ #15985]
22600         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22601         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22603 2013-11-06  Will Newton  <will.newton@linaro.org>
22605         * manual/memory.texi (Malloc Examples): Remove register
22606         keyword from examples.
22608 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
22610         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22612 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
22614         [BZ #6981]
22615         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22616         depending on [__GCC_IEC_559 > 0].
22617         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22618         depending on [__GCC_IEC_559_COMPLEX > 0].
22620 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
22622         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22623         to iso-639.def.
22625 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
22627         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22629 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
22631         [BZ #16112]
22632         * malloc/malloc (malloc_info): Do not handle first bin as
22633         special case.
22635 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
22637         * locale/iso-639.def: Add Central Nahuatl (nhn).
22639 2013-11-01  Bruno Haible  <bruno@clisp.org>
22641         [BZ #7003]
22642         * manual/math.texi (BSD Random): Specify range upper bound as
22643         in POSIX.
22645 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
22647         * locale/iso-639.def: Add Meadow Mari (mhr).
22649 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
22651         [BZ #14752], [BZ #15763]
22652         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22653         Validate name.
22654         * rt/tst_shm.c: Add test for escaping directory.
22656 2013-10-31  Andreas Schwab  <schwab@suse.de>
22658         [BZ #15917]
22659         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22660         followed by 'x' as part of digit sequence.
22661         * stdio-common/tst-sscanf.c (double_tests2): New tests.
22663 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22665         [BZ #16037]
22666         * configure.ac: allow GNU Make 4.0 and greater.
22667         * configure: Regenerated.
22669 2013-10-30  Will Newton  <will.newton@linaro.org>
22671         [BZ #16038]
22672         * malloc/hooks.c (memalign_check): Limit alignment to the
22673         maximum representable power of two.
22674         * malloc/malloc.c (__libc_memalign): Likewise.
22675         * malloc/tst-memalign.c (do_test): Add test for very
22676         large alignment values.
22677         * malloc/tst-posix_memalign.c (do_test): Likewise.
22679 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22681         [BZ #11087]
22682         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22683         (munmap_chunk): Likewise.
22684         (mremap_chunk): Likewise.
22686 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22688         [BZ #15799]
22689         * stdlib/div.c (div): Remove obsolete code.
22690         * stdlib/ldiv.c (ldiv): Likewise.
22691         * stdlib/lldiv.c (lldiv): Likewise.
22693 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22695         [BZ #16071]
22696         * nss/nss_files/files-XXX.c (get_contents_ret): New
22697         enumerator.
22698         (get_contents): New function.
22699         (internal_getent): Use it.  Expand size of LINEBUFLEN.
22701 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
22703         * configure.in: Moved to ...
22704         * configure.ac: ... here. Change reference to configure.in
22705         to configure.ac.
22706         * sysdeps/arm/preconfigure.ac: ... here.
22707         configure.in to configure.ac.
22708         * sysdeps/gnu/configure.in: Moved to ...
22709         * sysdeps/gnu/configure.ac: ... here.
22710         * sysdeps/i386/configure.in: Moved to ...
22711         * sysdeps/i386/configure.ac: ... here.
22712         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22713         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22714         * sysdeps/mach/configure.in: Moved to ...
22715         * sysdeps/mach/configure.ac: ... here.
22716         * sysdeps/mach/hurd/configure.in: Moved to ...
22717         * sysdeps/mach/hurd/configure.ac: ... here.
22718         * sysdeps/powerpc/configure.in: Moved to ...
22719         * sysdeps/powerpc/configure.ac: ... here.
22720         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22721         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22722         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22723         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22724         * sysdeps/s390/s390-32/configure.in: Moved to ...
22725         * sysdeps/s390/s390-32/configure.ac: ... here.
22726         * sysdeps/s390/s390-64/configure.in: Moved to ...
22727         * sysdeps/s390/s390-64/configure.ac: ... here.
22728         * sysdeps/sh/configure.in: Moved to ...
22729         * sysdeps/sh/configure.ac: ... here.
22730         * sysdeps/sparc/configure.in: Moved to ...
22731         * sysdeps/sparc/configure.ac: ... here.
22732         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22733         * sysdeps/unix/sysv/linux/configure.ac: ... here.
22734         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22735         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22736         * sysdeps/x86_64/configure.in: Moved to ...
22737         * sysdeps/x86_64/configure.ac: ... here.
22738         * sysdeps/x86_64/preconfigure.in: Moved to ...
22739         * sysdeps/x86_64/preconfigure.ac: ... here.
22740         * aclocal.m4: Change reference to configure.in to configure.ac.
22741         * config.h.in: Likewise.
22742         * manual/install.texi: Likewise.
22743         * manual/maint.texi: Likewise.
22744         * Makefile: Likewise.
22745         * malloc/Makefile: Likewise.
22746         * nscd/Makefile: Likewise.
22747         * Makeconfig: Change reference to configure.in and
22748         preconfigure.in to configure.ac and preconfigure.ac
22749         respectively.
22750         * INSTALL: Regenerated.
22751         * configure: Likewise.
22752         * sysdeps/gnu/configure: Likewise.
22753         * sysdeps/i386/configure: Likewise.
22754         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22755         * sysdeps/mach/configure: Likewise.
22756         * sysdeps/mach/hurd/configure: Likewise.
22757         * sysdeps/powerpc/configure: Likewise.
22758         * sysdeps/powerpc/powerpc32/configure: Likewise.
22759         * sysdeps/powerpc/powerpc64/configure: Likewise.
22760         * sysdeps/s390/s390-32/configure: Likewise.
22761         * sysdeps/s390/s390-64/configure: Likewise.
22762         * sysdeps/sh/configure: Likewise.
22763         * sysdeps/sparc/configure: Likewise.
22764         * sysdeps/unix/sysv/linux/configure: Likewise.
22765         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22766         * sysdeps/x86_64/configure: Likewise.
22767         * sysdeps/x86_64/preconfigure: Likewise.
22769 2013-10-29  Andreas Schwab  <schwab@suse.de>
22771         * stdio-common/Makefile (tst-swscanf-ENV): Define.
22773 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22775         * benchtests/pow-inputs: Add new inputs.
22777         * benchtests/exp-inputs: Add new inputs.
22779         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22780         conditional check for return value.
22781         (__cos32): Likewise.
22783 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22785         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22786         to provide a boost for large inputs with word alignment.
22787         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22788         implementation based on optimized PPC64 strcpy.
22789         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22790         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22791         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22792         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22794 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22796         [BZ #2801]
22797         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22799 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22801         [BZ #14876]
22802         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22803         * time/tst-strptime.c (day_tests): Add testcase.
22805 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22807         [BZ #14029]
22808         * manual/pattern.texi: Acknowledge that fnmatch can fail.
22810 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
22812         [BZ #16074]
22813         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22814         MAP_FAILED on error.
22816 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22818         [BZ #16072]
22819         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22820         heap for large requests.
22822 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22824         [BZ #9954]
22825         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22826         result if the result has no associated interface.
22827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22828         interface for all 127.X.Y.Z addresses.
22830 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22832         * locale/iso-639.def: Add Ligurian (lij)
22834 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22836         [BZ #15825]
22837         * sunrpc/rpc_main.c: Document rpcgen -5.
22839 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22841         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22843 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22845         [BZ #10278]
22846         * posix/glob.c: Match only directories when trailing slash is present.
22847         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22848         (main): Add testcase.
22850 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22852         [BZ #15670]
22853         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22855 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22857         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22858         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22859         AUTH_DES and cindex for FIPS 140-2.
22860         (DES Encryption): Add cindex FIPS 46-3.
22862         * locale/locarchive.h (struct locarhandle): Add fname.
22863         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22864         if an optional argument was specified to --list-archive,
22865         otherwise NULL.
22866         * locale/programs/locarchive.c (show_archive_content): Take new
22867         argument fname and pass it via ah.fname to open_archive.
22868         * locale/programs/localedef.h: Update decl.
22869         (open_archive): If AH->fname is non-null, open that file
22870         rather than the default file name, and don't ignore ENOENT.
22871         (create_archive): Set AH.fname to NULL.
22872         (delete_locales_from_archive): Likewise.
22873         (add_locales_to_archive): Likewise.
22874         * locale/programs/locfile.c (write_all_categories): Likewise.
22876 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22877             Aldy Hernandez  <aldyh@redhat.com>
22879         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22880         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22881         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22882         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22883         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22884         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22885         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22886         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22887         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22888         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22889         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22890         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22891         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22892         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22893         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22894         Likewise.
22895         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22896         Likewise.
22897         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22898         Likewise.
22899         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22900         Likewise.
22901         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22902         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22903         Likewise.
22904         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22905         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22906         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22907         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22908         Likewise.
22909         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22910         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22911         * sysdeps/powerpc/preconfigure: Likewise.
22912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22913         Likewise.
22914         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22915         Replace contents of file by #include of <fenv_libc.h>.
22916         * sysdeps/powerpc/soft-fp/sfp-machine.h
22917         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22918         and <sys/prctl.h>.
22919         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22920         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22932         Allow copysignl PLT reference to be missing.
22934 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22935             Joseph Myers  <joseph@codesourcery.com
22937         [BZ #15948]
22938         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22939         single character.
22940         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22942 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22944         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22945         * elf/tst-tls1.c: Likewise.
22946         * elf/tst-tls10.h: Likewise.
22947         * elf/tst-tls14.c: Likewise.
22948         * elf/tst-tls2.c: Likewise.
22949         * elf/tst-tls3.c: Likewise.
22950         * elf/tst-tls4.c: Likewise.
22951         * elf/tst-tls5.c: Likewise.
22952         * elf/tst-tls6.c: Likewise.
22953         * elf/tst-tls7.c: Likewise.
22954         * elf/tst-tls8.c: Likewise.
22955         * elf/tst-tls9.c: Likewise.
22956         * elf/tst-tlsmod1.c: Likewise.
22957         * elf/tst-tlsmod13.c: Likewise.
22958         * elf/tst-tlsmod13a.c: Likewise.
22959         * elf/tst-tlsmod14a.c: Likewise.
22960         * elf/tst-tlsmod16a.c: Likewise.
22961         * elf/tst-tlsmod16b.c: Likewise.
22962         * elf/tst-tlsmod2.c: Likewise.
22963         * elf/tst-tlsmod3.c: Likewise.
22964         * elf/tst-tlsmod4.c: Likewise.
22965         * elf/tst-tlsmod5.c: Likewise.
22966         * elf/tst-tlsmod6.c: Likewise.
22968 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22970         [BZ #12486]
22971         * malloc/malloc.c: remove checks for statistics.
22973 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22975         [BZ #15277]
22976         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22977         * inet/tst-network.c: Add testcase.
22979 2013-10-17  Andreas Schwab  <schwab@suse.de>
22981         [BZ #15218]
22982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22983         to determine canonical name.
22985 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22987         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22988         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22989         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22990         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22992         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22993         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22994         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22995         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22996         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22997         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22998         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22999         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23000         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23002         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23005         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23006         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23007         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23008         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23009         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23010         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23011         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23012         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23013         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23014         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23015         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23016         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23017         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23018         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23019         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23020         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23021         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23022         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23023         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23024         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23025         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23027         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23028         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23029         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23030         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23031         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23032         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23033         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23034         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23035         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23036         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23037         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23038         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23039         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23040         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23041         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23042         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23043         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23044         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23046 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23048         [BZ #16041]
23049         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23050         make result into a quiet NaN.
23052 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23054         * soft-fp/adddf3.c: Fix horizontal whitespace.
23055         * soft-fp/addsf3.c: Likewise.
23056         * soft-fp/addtf3.c: Likewise.
23057         * soft-fp/divdf3.c: Likewise.
23058         * soft-fp/divsf3.c: Likewise.
23059         * soft-fp/divtf3.c: Likewise.
23060         * soft-fp/double.h: Likewise.
23061         * soft-fp/eqdf2.c: Likewise.
23062         * soft-fp/eqsf2.c: Likewise.
23063         * soft-fp/eqtf2.c: Likewise.
23064         * soft-fp/extenddftf2.c: Likewise.
23065         * soft-fp/extended.h: Likewise.
23066         * soft-fp/extendsfdf2.c: Likewise.
23067         * soft-fp/extendsftf2.c: Likewise.
23068         * soft-fp/extendxftf2.c: Likewise.
23069         * soft-fp/fixdfdi.c: Likewise.
23070         * soft-fp/fixdfsi.c: Likewise.
23071         * soft-fp/fixdfti.c: Likewise.
23072         * soft-fp/fixsfdi.c: Likewise.
23073         * soft-fp/fixsfsi.c: Likewise.
23074         * soft-fp/fixsfti.c: Likewise.
23075         * soft-fp/fixtfdi.c: Likewise.
23076         * soft-fp/fixtfsi.c: Likewise.
23077         * soft-fp/fixtfti.c: Likewise.
23078         * soft-fp/fixunsdfdi.c: Likewise.
23079         * soft-fp/fixunsdfsi.c: Likewise.
23080         * soft-fp/fixunsdfti.c: Likewise.
23081         * soft-fp/fixunssfdi.c: Likewise.
23082         * soft-fp/fixunssfsi.c: Likewise.
23083         * soft-fp/fixunssfti.c: Likewise.
23084         * soft-fp/fixunstfdi.c: Likewise.
23085         * soft-fp/fixunstfsi.c: Likewise.
23086         * soft-fp/fixunstfti.c: Likewise.
23087         * soft-fp/floatdidf.c: Likewise.
23088         * soft-fp/floatdisf.c: Likewise.
23089         * soft-fp/floatditf.c: Likewise.
23090         * soft-fp/floatsidf.c: Likewise.
23091         * soft-fp/floatsisf.c: Likewise.
23092         * soft-fp/floatsitf.c: Likewise.
23093         * soft-fp/floattidf.c: Likewise.
23094         * soft-fp/floattisf.c: Likewise.
23095         * soft-fp/floattitf.c: Likewise.
23096         * soft-fp/floatundidf.c: Likewise.
23097         * soft-fp/floatundisf.c: Likewise.
23098         * soft-fp/floatunditf.c: Likewise.
23099         * soft-fp/floatunsidf.c: Likewise.
23100         * soft-fp/floatunsisf.c: Likewise.
23101         * soft-fp/floatunsitf.c: Likewise.
23102         * soft-fp/floatuntidf.c: Likewise.
23103         * soft-fp/floatuntisf.c: Likewise.
23104         * soft-fp/floatuntitf.c: Likewise.
23105         * soft-fp/fmadf4.c: Likewise.
23106         * soft-fp/fmasf4.c: Likewise.
23107         * soft-fp/fmatf4.c: Likewise.
23108         * soft-fp/gedf2.c: Likewise.
23109         * soft-fp/gesf2.c: Likewise.
23110         * soft-fp/getf2.c: Likewise.
23111         * soft-fp/ledf2.c: Likewise.
23112         * soft-fp/lesf2.c: Likewise.
23113         * soft-fp/letf2.c: Likewise.
23114         * soft-fp/muldf3.c: Likewise.
23115         * soft-fp/mulsf3.c: Likewise.
23116         * soft-fp/multf3.c: Likewise.
23117         * soft-fp/negdf2.c: Likewise.
23118         * soft-fp/negsf2.c: Likewise.
23119         * soft-fp/negtf2.c: Likewise.
23120         * soft-fp/op-1.h: Likewise.
23121         * soft-fp/op-2.h: Likewise.
23122         * soft-fp/op-4.h: Likewise.
23123         * soft-fp/op-8.h: Likewise.
23124         * soft-fp/op-common.h: Likewise.
23125         * soft-fp/quad.h: Likewise.
23126         * soft-fp/single.h: Likewise.
23127         * soft-fp/soft-fp.h: Likewise.
23128         * soft-fp/sqrtdf2.c: Likewise.
23129         * soft-fp/sqrtsf2.c: Likewise.
23130         * soft-fp/sqrttf2.c: Likewise.
23131         * soft-fp/subdf3.c: Likewise.
23132         * soft-fp/subsf3.c: Likewise.
23133         * soft-fp/subtf3.c: Likewise.
23134         * soft-fp/truncdfsf2.c: Likewise.
23135         * soft-fp/trunctfdf2.c: Likewise.
23136         * soft-fp/trunctfsf2.c: Likewise.
23137         * soft-fp/trunctfxf2.c: Likewise.
23138         * soft-fp/unorddf2.c: Likewise.
23139         * soft-fp/unordsf2.c: Likewise.
23140         * soft-fp/unordtf2.c: Likewise.
23142 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23144         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23145         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23147 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23149         * elf/dl-libc.c: Clear initfini list after freeing.
23151 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23153         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23154         * soft-fp/addsf3.c: Likewise.
23155         * soft-fp/addtf3.c: Likewise.
23156         * soft-fp/divdf3.c: Likewise.
23157         * soft-fp/divsf3.c: Likewise.
23158         * soft-fp/divtf3.c: Likewise.
23159         * soft-fp/double.h: Likewise.
23160         * soft-fp/eqdf2.c: Likewise.
23161         * soft-fp/eqsf2.c: Likewise.
23162         * soft-fp/eqtf2.c: Likewise.
23163         * soft-fp/extenddftf2.c: Likewise.
23164         * soft-fp/extended.h: Likewise.
23165         * soft-fp/extendsfdf2.c: Likewise.
23166         * soft-fp/extendsftf2.c: Likewise.
23167         * soft-fp/extendxftf2.c: Likewise.
23168         * soft-fp/fixdfdi.c: Likewise.
23169         * soft-fp/fixdfsi.c: Likewise.
23170         * soft-fp/fixdfti.c: Likewise.
23171         * soft-fp/fixsfdi.c: Likewise.
23172         * soft-fp/fixsfsi.c: Likewise.
23173         * soft-fp/fixsfti.c: Likewise.
23174         * soft-fp/fixtfdi.c: Likewise.
23175         * soft-fp/fixtfsi.c: Likewise.
23176         * soft-fp/fixtfti.c: Likewise.
23177         * soft-fp/fixunsdfdi.c: Likewise.
23178         * soft-fp/fixunsdfsi.c: Likewise.
23179         * soft-fp/fixunsdfti.c: Likewise.
23180         * soft-fp/fixunssfdi.c: Likewise.
23181         * soft-fp/fixunssfsi.c: Likewise.
23182         * soft-fp/fixunssfti.c: Likewise.
23183         * soft-fp/fixunstfdi.c: Likewise.
23184         * soft-fp/fixunstfsi.c: Likewise.
23185         * soft-fp/fixunstfti.c: Likewise.
23186         * soft-fp/floatdidf.c: Likewise.
23187         * soft-fp/floatdisf.c: Likewise.
23188         * soft-fp/floatditf.c: Likewise.
23189         * soft-fp/floatsidf.c: Likewise.
23190         * soft-fp/floatsisf.c: Likewise.
23191         * soft-fp/floatsitf.c: Likewise.
23192         * soft-fp/floattidf.c: Likewise.
23193         * soft-fp/floattisf.c: Likewise.
23194         * soft-fp/floattitf.c: Likewise.
23195         * soft-fp/floatundidf.c: Likewise.
23196         * soft-fp/floatundisf.c: Likewise.
23197         * soft-fp/floatunsidf.c: Likewise.
23198         * soft-fp/floatunsisf.c: Likewise.
23199         * soft-fp/floatuntidf.c: Likewise.
23200         * soft-fp/floatuntisf.c: Likewise.
23201         * soft-fp/floatuntitf.c: Likewise.
23202         * soft-fp/fmadf4.c: Likewise.
23203         * soft-fp/fmasf4.c: Likewise.
23204         * soft-fp/fmatf4.c: Likewise.
23205         * soft-fp/gedf2.c: Likewise.
23206         * soft-fp/gesf2.c: Likewise.
23207         * soft-fp/getf2.c: Likewise.
23208         * soft-fp/ledf2.c: Likewise.
23209         * soft-fp/lesf2.c: Likewise.
23210         * soft-fp/letf2.c: Likewise.
23211         * soft-fp/muldf3.c: Likewise.
23212         * soft-fp/mulsf3.c: Likewise.
23213         * soft-fp/multf3.c: Likewise.
23214         * soft-fp/negdf2.c: Likewise.
23215         * soft-fp/negsf2.c: Likewise.
23216         * soft-fp/negtf2.c: Likewise.
23217         * soft-fp/op-1.h: Likewise.
23218         * soft-fp/op-2.h: Likewise.
23219         * soft-fp/op-4.h: Likewise.
23220         * soft-fp/op-8.h: Likewise.
23221         * soft-fp/op-common.h: Likewise.
23222         * soft-fp/quad.h: Likewise.
23223         * soft-fp/single.h: Likewise.
23224         * soft-fp/soft-fp.h: Likewise.
23225         * soft-fp/sqrtdf2.c: Likewise.
23226         * soft-fp/sqrtsf2.c: Likewise.
23227         * soft-fp/sqrttf2.c: Likewise.
23228         * soft-fp/subdf3.c: Likewise.
23229         * soft-fp/subsf3.c: Likewise.
23230         * soft-fp/subtf3.c: Likewise.
23231         * soft-fp/truncdfsf2.c: Likewise.
23232         * soft-fp/trunctfdf2.c: Likewise.
23233         * soft-fp/trunctfsf2.c: Likewise.
23234         * soft-fp/trunctfxf2.c: Likewise.
23235         * soft-fp/unorddf2.c: Likewise.
23236         * soft-fp/unordsf2.c: Likewise.
23237         * soft-fp/unordtf2.c: Likewise.
23239 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23241         [BZ #15672]
23242         * misc/error.c (error_tail): Fix possible buffer overflow.
23244 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23246         [BZ #13028]
23247         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23248         address.
23250 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23252         [BZ #832]
23253         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23254         testing pipefail option.
23256 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23258         * soft-fp/double.h: Indent preprocessor directives inside #if.
23259         * soft-fp/extended.h: Likewise.
23260         * soft-fp/op-2.h: Likewise.
23261         * soft-fp/op-4.h: Likewise.
23262         * soft-fp/op-common.h: Likewise.
23263         * soft-fp/quad.h: Likewise.
23264         * soft-fp/single.h: Likewise.
23265         * soft-fp/soft-fp.h: Likewise.
23267 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23269         * iconv/iconv_prog.c: Fix typos.
23270         * stdio-common/psiginfo-data.h: Likewise.
23272 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23274         [BZ #15764]
23275         * locale/setlocale.c: Fix typo.
23277 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23279         [BZ #16036]
23280         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23281         signaling NaN arguments.
23282         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23283         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23285         [BZ #14910]
23286         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23287         unordered operands.
23288         * soft-fp/gesf2.c (__gesf2): Likewise.
23289         * soft-fp/getf2.c (__getf2): Likewise.
23290         * soft-fp/ledf2.c (__ledf2): Likewise.
23291         * soft-fp/lesf2.c (__lesf2): Likewise.
23292         * soft-fp/letf2.c (__letf2): Likewise.
23294         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23295         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23296         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23297         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23298         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23299         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23300         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23301         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23302         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23303         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23304         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23305         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23306         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23307         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23308         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23309         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23310         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23311         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23312         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23313         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23314         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23315         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23316         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23317         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23318         * soft-fp/floattidf.c (__floattidf): Likewise.
23319         * soft-fp/floattisf.c (__floattisf): Likewise.
23320         * soft-fp/floattitf.c (__floattitf): Likewise.
23321         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23322         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23323         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23324         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23325         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23326         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23327         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23328         * soft-fp/gesf2.c (__gesf2): Likewise.
23329         * soft-fp/getf2.c (__getf2): Likewise.
23330         * soft-fp/ledf2.c (__ledf2): Likewise.
23331         * soft-fp/lesf2.c (__lesf2): Likewise.
23332         * soft-fp/letf2.c (__letf2): Likewise.
23334         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23335         Undefine and redefine.
23336         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23337         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23338         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23339         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23340         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23341         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23342         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23343         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23344         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23345         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23346         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23347         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23348         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23349         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23350         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23352         [BZ #16032]
23353         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23354         without decrementing exponent if mantissa >= that for the
23355         denominator, not >.
23356         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23357         denominator, not >.  Decrement exponent in < case instead of
23358         incrementing in >= case.
23359         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23360         without decrementing exponent if mantissa >= that for the
23361         denominator, not >.
23363         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23364         computing saturated result for unsigned overflow.
23366 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23367             Jeff Law  <law@redhat.com>
23369         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23370         (atan2Mp): Add systemtap probe marker.
23371         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23372         (__ieee754_log): Add systemtap probe marker.
23373         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23374         (atanMp): Add systemtap probe marker.
23375         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23376         (tanMp): Add systemtap probe marker.
23377         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23378         (__slowexp): Add systemtap probe marker.
23379         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23380         (__slowpow): Add systemtap probe marker.
23381         * manual/probes.texi: Document probes.
23383 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23385         [BZ #15362]
23386         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23387         written.
23388         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23389         written.
23390         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23391         written to buffer but not flushed.
23392         * libio/iofwrite_u.c:  Likewise.
23393         * libio/iopadn.c:  Return bytes returned even if EOF was
23394         encountered.
23395         * libio/iowpadn.c:  Likewise.
23396         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23397         if _IO_padn does not write the whole buffer.
23398         [!COMPILE_WPRINTF] (PAD): Likewise.
23400 2013-10-10  David S. Miller  <davem@davemloft.net>
23402         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23403         directory block.
23405 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23407         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23408         instead of FSF address.
23409         * soft-fp/fixdfti.c: Likewise.
23410         * soft-fp/fixsfti.c: Likewise.
23411         * soft-fp/fixtfti.c: Likewise.
23412         * soft-fp/fixunsdfti.c: Likewise.
23413         * soft-fp/fixunssfti.c: Likewise.
23414         * soft-fp/fixunstfti.c: Likewise.
23415         * soft-fp/floattidf.c: Likewise.
23416         * soft-fp/floattisf.c: Likewise.
23417         * soft-fp/floattitf.c: Likewise.
23418         * soft-fp/floatuntidf.c: Likewise.
23419         * soft-fp/floatuntisf.c: Likewise.
23420         * soft-fp/floatuntitf.c: Likewise.
23421         * soft-fp/trunctfxf2.c: Likewise.
23423         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23424         * soft-fp/fixdfti.c: Likewise.
23425         * soft-fp/fixsfti.c: Likewise.
23426         * soft-fp/fixtfti.c: Likewise.
23427         * soft-fp/fixunsdfti.c: Likewise.
23428         * soft-fp/fixunssfti.c: Likewise.
23429         * soft-fp/fixunstfti.c: Likewise.
23430         * soft-fp/floattidf.c: Likewise.
23431         * soft-fp/floattisf.c: Likewise.
23432         * soft-fp/floattitf.c: Likewise.
23433         * soft-fp/floatuntidf.c: Likewise.
23434         * soft-fp/floatuntisf.c: Likewise.
23435         * soft-fp/floatuntitf.c: Likewise.
23436         * soft-fp/trunctfxf2.c: Likewise.
23438 2013-10-10  David S. Miller  <davem@davemloft.net>
23440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23442 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
23444         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23445         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23446         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23447         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23448         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23449         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23450         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23452         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23453         for NaNs before doing comparisons on argument.
23454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23455         Likewise.
23457 2013-10-10  Will Newton  <will.newton@linaro.org>
23459         * malloc/hooks.c (memalign_check): Ensure the value of bytes
23460         passed to _int_memalign does not overflow.
23462 2013-10-10  Torvald Riegel  <triegel@redhat.com>
23464         * scripts/bench.pl: Add include-sources directive.
23465         * benchtests/README: Update documentation.
23467 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23469         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23470         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23471         instead of FP_INIT_ROUNDMODE.
23472         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23473         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23475         [BZ #16034]
23476         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
23477         copy class of input value.
23478         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
23479         not handle exceptions.
23480         * soft-fp/negsf2.c (__negsf2): Likewise.
23481         * soft-fp/negtf2.c (__negtf2): Likewise.
23482         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23484 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
23486         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23487         semicolon.  From Linux kernel.
23489 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
23491         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23493 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
23495         [BZ #156]
23496         * manual/socket.texi: Added statement about buffer
23497         for gethostbyname2_r.
23499 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
23501         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23502         Use .p2align directive instead, throughout.
23503         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23504         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23505         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23507         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23508         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23509         * sysdeps/x86_64/strchr.S: Likewise.
23510         * sysdeps/x86_64/strrchr.S: Likewise.
23512 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23514         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23516         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23518         * sysdeps/generic/math_private.h (__mpsin1): Remove
23519         declaration.
23520         (__mpcos1): Likewise.
23521         (__mpsin): New argument __range_reduce.
23522         (__mpcos): Likewise.
23523         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23524         (slow): Use __mpsin and __mpcos.
23525         (slow1): Likewise.
23526         (slow2): Likewise.
23527         (sloww): Likewise.
23528         (sloww1): Likewise.
23529         (sloww2): Likewise.
23530         (bsloww): Likewise.
23531         (bsloww1): Likewise.
23532         (bsloww2): Likewise.
23533         (cslow2): Likewise.
23534         (csloww): Likewise.
23535         (csloww1): Likewise.
23536         (csloww2): Likewise.
23537         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23538         range_reduce.  Merge in __mpsin1.
23539         (__mpcos): Likewise.
23540         (__mpsin1): Remove.
23541         (__mpcos1): Likewise.
23543 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
23545         * locale/loadlocale.c (_nl_intern_locale_data): Use
23546         LOCFILE_ALIGNED_P.
23547         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23548         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23549         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23550         obstack data is appropriately aligned.
23551         (obstack_int32_grow_fast): Likewise.
23552         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23553         * locale/programs/locfile.c (add_locale_uint32): Likewise.
23554         (add_locale_uint32_array): Likewise.
23556 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23558         * benchtests/Makefile: Remove ARGLIST and RET variables.
23559         ($(objpfx)bench-%.c): Pass only function name to the script.
23560         * benchtests/README: Update documentation.
23561         * benchtests/acos-inputs: Add new directives.
23562         * benchtests/acosh-inputs: Likewise.
23563         * benchtests/asin-inputs: Likewise.
23564         * benchtests/asinh-inputs: Likewise.
23565         * benchtests/atan-inputs: Likewise.
23566         * benchtests/atanh-inputs: Likewise.
23567         * benchtests/cos-inputs: Likewise.
23568         * benchtests/cosh-inputs: Likewise.
23569         * benchtests/exp-inputs: Likewise.
23570         * benchtests/log-inputs: Likewise.
23571         * benchtests/pow-inputs: Likewise.
23572         * benchtests/rint-inputs: Likewise.
23573         * benchtests/sin-inputs: Likewise.
23574         * benchtests/sinh-inputs: Likewise.
23575         * benchtests/tan-inputs: Likewise.
23576         * benchtests/tanh-inputs: Likewise.
23577         * scripts/bench.pl: Add support for new directives.
23579 2013-10-07  Alan Modra  <amodra@gmail.com>
23581         * README: Fix careless merge.
23583 2013-10-05  Alan Modra  <amodra@gmail.com>
23585         * NEWS: Mention powerpc64le support and bugs fixed.
23586         * README: Both big-endian and little-endian powerpc64 supported.
23588 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23590         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23591         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23592         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23593         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23595 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
23597         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23598         match prototype.
23600 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
23602         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23603         Move -mhard-float appending from
23604         ports/sysdeps/powerpc/powerpc32/Makefile.
23605         [$(with-fp) = yes] (ASFLAGS): Likewise.
23606         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23607         * sysdeps/powerpc/nofpu: Move directory from
23608         ports/sysdeps/powerpc/nofpu.
23609         * sysdeps/powerpc/soft-fp: Move directory from
23610         ports/sysdeps/powerpc/soft-fp.
23611         * sysdeps/powerpc/powerpc32/405: Move directory from
23612         ports/sysdeps/powerpc/powerpc32/405.
23613         * sysdeps/powerpc/powerpc32/440: Move directory from
23614         ports/sysdeps/powerpc/powerpc32/440.
23615         * sysdeps/powerpc/powerpc32/464: Move directory from
23616         ports/sysdeps/powerpc/powerpc32/464.
23617         * sysdeps/powerpc/powerpc32/476: Move directory from
23618         ports/sysdeps/powerpc/powerpc32/476.
23619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23620         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23622         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23624         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23626         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23628         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23629         * README: Update for powerpc-*-linux-gnu software floating point
23630         support in libc.
23632         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23633         case to powerpc/powerpc32*.
23634         * sysdeps/unix/sysv/linux/configure: Regenerated.
23636         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23637         (_FPU_MASK_OM): Define as 0x04.
23638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23640         0x00c10080.
23641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23642         0x0000003c.
23643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23646         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23647         getcontext_e500.
23648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23649         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23650         setcontext_e500.
23651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23652         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23653         and setcontext_e500.
23655 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
23657         * locale/iso-3166.def: Update iso-1366.def and related occurrences
23659 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23661         * manual/threads.texi (Default Thread Attributes): Fix typo.
23663 2013-10-04  Will Newton  <will.newton@linaro.org>
23665         * malloc/Makefile: Add tst-memalign.
23666         * malloc/tst-memalign.c: New file.
23668         * malloc/tst-posix_memalign.c: Add comments.
23669         (do_test): Add comments and call free on all potentially
23670         allocated pointers. Add space after cast.
23672         * malloc/tst-pvalloc.c: Add comments.
23673         (do_test): Add comments and call free on all potentially
23674         allocated pointers. Remove duplicate check for NULL pointer.
23675         Add space after cast.
23677         * malloc/tst-valloc.c: Add comments.
23678         (do_test): Add comments and call free on all potentially
23679         allocated pointers. Remove duplicate check for NULL pointer.
23680         Add space after cast.
23682 2013-10-04  Alan Modra  <amodra@gmail.com>
23684         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23685         Use stdint types in rather than __attribute__((mode())).
23686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23688 2013-10-04  Alan Modra  <amodra@gmail.com>
23690         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23691         Correct handling of unaligned relocs for little-endian.
23692         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23694 2013-10-04  Alan Modra  <amodra@gmail.com>
23696         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23697         * configure: Regenerate.
23698         * nptl/shlib-versions: Powerpc*le starts at 2.18.
23699         * shlib-versions: Likewise.
23701 2013-10-04  Alan Modra  <amodra@gmail.com>
23703         * string/tester.c (test_memrchr): Increment reported test cycle.
23705 2013-10-04  Alan Modra  <amodra@gmail.com>
23707         * string/test-memcpy.c (do_one_test): When reporting errors, print
23708         string address and don't overrun end of string.
23710 2013-10-04  Alan Modra  <amodra@gmail.com>
23712         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23713         insrdi.  Make better use of reg selection to speed exit slightly.
23714         Schedule entry path a little better.  Remove useless "are we done"
23715         checks on entry to main loop.  Handle wrapping around zero address.
23716         Correct main loop count.  Handle single left-over word from main
23717         loop inline rather than by using loop_small.  Remove extra word
23718         case in loop_small caused by wrong loop count.  Add little-endian
23719         support.
23720         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23721         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
23722         cache hint.
23723         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23724         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23725         support.  Avoid rlwimi.
23726         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23728 2013-10-04  Alan Modra  <amodra@gmail.com>
23730         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23731         insrdi.  Formatting.
23732         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23733         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23734         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23735         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23736         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23737         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23739 2013-10-04  Alan Modra  <amodra@gmail.com>
23741         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23742         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23743         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23744         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23745         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23746         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23747         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23748         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23749         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
23750         use of regs.  Use power7 mtocrf.  Tidy function tails.
23752 2013-10-04  Alan Modra  <amodra@gmail.com>
23754         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23755         Formatting.  Consistently use rXXX register defines or rN defines.
23756         Use early exit labels that avoid restoring unused non-volatile regs.
23757         Make cr field use more consistent with rWORDn compares.  Rename
23758         regs used as shift registers for unaligned loop, using rN defines
23759         for short lifetime/multiple use regs.
23760         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23761         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
23762         addi 1,1,64 to pop stack frame.  Simplify return value code.
23763         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23765 2013-10-04  Alan Modra  <amodra@gmail.com>
23767         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23768         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
23769         rather than rlwimi.
23770         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23771         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23772         little-endian support.  Correct typos.
23773         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
23774         rather than rlwimi.
23775         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
23776         in loop and entry code to keep "and." results.
23777         (strchr): Add little-endian support.  Comment.  Move cntlzd
23778         earlier in tail.
23779         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23781 2013-10-04  Alan Modra  <amodra@gmail.com>
23783         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23784         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23785         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23786         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23788 2013-10-04  Alan Modra  <amodra@gmail.com>
23790         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23791         (rTMP): Define as r11.
23792         (strcmp): Add little-endian support.  Optimise tail.
23793         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23794         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23795         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23796         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23797         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23798         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23799         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23801 2013-10-04  Alan Modra  <amodra@gmail.com>
23803         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23804         little-endian support.  Remove unnecessary "are we done" tests.
23805         Handle "s" wrapping around zero and extremely large "size".
23806         Correct main loop count.  Handle single left-over word from main
23807         loop inline rather than by using small_loop.  Correct comments.
23808         Delete "zero" tail, use "end_max" instead.
23809         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23811 2013-10-04  Alan Modra  <amodra@gmail.com>
23813         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23814         support.  Don't branch over align.
23815         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23816         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23817         support.  Rearrange tmp reg use to suit.  Comment.
23818         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23820 2013-10-04  Alan Modra  <amodra@gmail.com>
23822         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23824 2013-10-04  Alan Modra  <amodra@gmail.com>
23826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23827         conditional form of branch and link when obtaining pc.
23828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23830 2013-10-04  Alan Modra  <amodra@gmail.com>
23832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23833         HIWORD/LOWORD.
23834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23837 2013-10-04  Alan Modra  <amodra@gmail.com>
23839         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23840         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23841         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23842         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23843         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23844         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23845         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23846         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23847         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23848         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23850 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23851             Alistair Popple <alistair@ozlabs.au.ibm.com>
23852             Alan Modra <amodra@gmail.com>
23854         [BZ #15723]
23855         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23856         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23857         _dl_hwcap access for little-endian.
23858         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23859         destroy vmx regs when saving unaligned.
23860         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23861         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23862         destroy vmx regs when saving unaligned.
23864 2013-10-04  Alan Modra  <amodra@gmail.com>
23866         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23867         Don't use a union to pack hi/low value.
23869 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23871         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23872         for little-endian.
23873         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23874         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23875         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23876         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23877         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23879 2013-10-04  Alan Modra  <amodra@gmail.com>
23881         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23882         constants to usual value for .cst8 section, and remove redundant
23883         high address load.
23884         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23885         constant for 0x1p52.  Load little-endian words of double from
23886         correct stack offsets.
23888 2013-10-04  Alan Modra  <amodra@gmail.com>
23890         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23891         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23892         words of double from correct stack offsets.
23893         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23894         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23895         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23896         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23897         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23898         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23899         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23900         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23901         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23902         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23903         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23905         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23906         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23907         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23908         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23909         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23911 2013-10-04  Alan Modra  <amodra@gmail.com>
23913         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23914         64-bit int/double union.
23915         (_FPU_SETCW): Likewise.
23916         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23917         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23919 2013-10-04  Alan Modra  <amodra@gmail.com>
23921         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23922         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23924 2013-10-04  Alan Modra  <amodra@gmail.com>
23926         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23927         use vector int constants.
23928         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23930 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23932         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23933         array with long long.
23934         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23935         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23936         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23937         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23938         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23939         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23940         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23941         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23942         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23943         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23944         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23945         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23946         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23948 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23950         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23951         (__signbit): Likewise.  Correct for little-endian.
23952         (__signbitl): Call __signbit.
23953         (lrint): Correct for little-endian.
23954         (lrintf): Call lrint.
23956 2013-10-04  Alan Modra  <amodra@gmail.com>
23958         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23959         union 32-bit int array member with 64-bit int array.
23960         (t515, tm256): Double rather than long double.
23961         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23963 2013-10-04  Alan Modra  <amodra@gmail.com>
23965         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23966         Delete.
23967         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23968         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23969         version of math_ldbl.h.
23971 2013-10-04  Alan Modra  <amodra@gmail.com>
23973         [BZ #15734], [BZ #15735]
23974         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23975         all uses of ieee875 long double macros and unions.  Simplify test
23976         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23977         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23978         normalize after ldbl_extract_mantissa, and don't add hidden bit
23979         already handled.  Don't treat low word of ieee854 mantissa like
23980         low word of IBM long double and mask off bit when testing for
23981         zero.
23982         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23983         all uses of ieee875 long double macros and unions.  Simplify tests
23984         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23985         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23986         two1022, instead use their values.  Recognise that tests for large
23987         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23988         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23989         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23990         test for 0.0L and nan.  Correct negation.
23991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23992         ieee875 long double macros and unions.  Correct output for large
23993         magnitude x.  Correct absolute value calculation.
23994         (__erfcl): Likewise.
23995         * math/libm-test.inc: Add tests for errors discovered in IBM long
23996         double versions of fmodl, remainderl, erfl and erfcl.
23998 2013-10-04  Alan Modra  <amodra@gmail.com>
24000         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24001         all uses of ieee854 long double macros and unions.  Simplify tests
24002         for long doubles that are fully specified by the high double.
24003         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24004         Likewise.
24005         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24006         Remove dead code too.
24007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24008         (__ieee754_ynl): Likewise.
24009         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24010         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24011         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24012         Remove dead code too.
24013         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24015         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24016         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24017         Simplify.
24018         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24019         Simplify.
24020         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24022         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24023         Comment on variable precision.
24024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24026         Likewise.
24027         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24028         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24030         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24031         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24033 2013-10-04  Alan Modra  <amodra@gmail.com>
24035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24036         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24037         all uses of ieee854 long double macros and unions.
24038         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24039         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24040         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24041         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24042         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24043         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24044         Likewise.
24045         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24046         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24047         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24048         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24050         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24051         Simplify sign and nan test too.
24052         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24053         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24054         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24055         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24056         Likewise.
24057         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24058         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24059         Likewise.
24060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24061         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24062         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24063         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24064         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24067 2013-10-04  Alan Modra  <amodra@gmail.com>
24069         * stdio-common/printf_size.c (__printf_size): Don't use
24070         union ieee854_long_double in fpnum union.
24071         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24072         signbit macro to retrieve sign from long double.
24073         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24074         retrieve sign from long double.
24075         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24076         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24077         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24078         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24079         * math/test-misc.c (main): Don't use union ieee854_long_double.
24081 2013-10-04  Alan Modra  <amodra@gmail.com>
24083         [BZ #15680]
24084         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24085         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24086         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24087         calculation.  Remove unnecessary test for denormal exponent.
24088         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24089         Correct handling of denormals.  Avoid undefined shift behaviour.
24090         Correct normalisation of low mantissa when low double is denormal.
24091         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24092         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24093         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24094         Correct normalisation of low mantissa.  Test for overflow of high
24095         mantissa and normalise.
24096         (ldbl_nearbyint): Use more readable constant for two52.
24097         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24098         (__mpn_construct_long_double): Fix test for overflow of high
24099         mantissa and correct normalisation.  Avoid undefined shift.
24101 2013-10-04  Alan Modra  <amodra@gmail.com>
24103         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24104         (union ibm_extended_long_double): Define as an array of ieee754_double.
24105         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24106         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24107         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24108         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24109         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24110         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24112         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24113         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24114         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24115         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24117 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24119         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24120         page size instead of calling getpagesize.
24122         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24123         (LOCFILE_ALIGN_MASK): Likewise.
24124         (LOCFILE_ALIGN_UP): Likewise.
24125         (LOCFILE_ALIGNED_P): Likewise.
24126         * locale/programs/ld-collate.c (collate_output): Use the new
24127         macros instead of __alignof__ (int32_t).
24128         * locale/weight.h (findidx): Likewise.
24130 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24132         [BZ #431]
24133         * manual/string.texi: Fix strncat and wcsncat.
24135 2013-10-03  Brooks Moses  <bmoses@google.com>
24137         [BZ #15915]
24138         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24139         * Makerules: ...here, and adjust associated comments.
24141 2013-10-02  Will Newton  <will.newton@linaro.org>
24143         * malloc/Makefile: Add tst-pvalloc.
24144         * malloc/tst-pvalloc.c: New file.
24146 2013-10-02  Will Newton  <will.newton@linaro.org>
24148         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24149         improve test coverage.
24151 2013-10-02  Will Newton  <will.newton@linaro.org>
24153         * malloc/Makefile: Add tst-posix_memalign.
24154         * malloc/tst-posix_memalign.c: New file.
24156 2013-10-01  Eric Blake  <eblake@redhat.com>
24158         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24159         Use __THROWNL rather than __THROW on static functions.
24161 2013-09-30  Petr Machata  <pmachata@redhat.com>
24163         * elf/elf.h (R_AARCH64_ABS16): New macro.
24164         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24165         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24166         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24167         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24168         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24169         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24170         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24171         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24172         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24173         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24174         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24175         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24176         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24177         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24178         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24179         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24180         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24181         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24182         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24183         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24184         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24185         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24186         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24187         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24188         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24189         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24190         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24191         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24192         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24193         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24194         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24195         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24196         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24197         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24198         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24199         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24200         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24201         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24202         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24203         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24204         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24205         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24206         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24207         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24208         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24209         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24210         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24211         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24212         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24213         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24214         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24215         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24216         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24217         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24218         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24219         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24220         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24221         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24222         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24223         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24224         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24225         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24226         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24227         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24228         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24229         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24230         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24231         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24232         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24233         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24234         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24235         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24236         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24237         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24238         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24239         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24240         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24241         (R_AARCH64_TLSDESC_LDR): Likewise.
24242         (R_AARCH64_TLSDESC_ADD): Likewise.
24243         (R_AARCH64_TLSDESC_CALL): Likewise.
24245 2013-09-30  Andreas Schwab  <schwab@suse.de>
24247         [BZ #15048]
24248         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24249         the nss database lookup.
24250         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24253 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24255         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24257 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24260         ${Bash-specific parameter/pattern/string} parameter expansion.
24261         * sysdeps/unix/make-syscalls.sh: Likewise.
24263 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24265         * sysdeps/sh/stackguard-macros.h: New file.
24267 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24271         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24272         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24273         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24274         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24276 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24278         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24279         Fix thread ID register.
24281 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24283         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24284         [POSIX || UNIX98]: Require rather than permitting all symbols from
24285         <time.h>.
24286         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24287         element of struct sched_param.
24288         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24289         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24290         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24291         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24292         constant.
24294 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24296         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24297         argument calculation.
24299 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24301         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24302         Expect macro.
24303         [POSIX] (pthread_attr_t): Do not require type.
24304         [POSIX] (pthread_cond_t): Likewise.
24305         [POSIX] (pthread_condattr_t): Likewise.
24306         [POSIX] (pthread_key_t): Likewise.
24307         [POSIX] (pthread_mutex_t): Likewise.
24308         [POSIX] (pthread_mutexattr_t): Likewise.
24309         [POSIX] (pthread_once_t): Likewise.
24310         [POSIX] (pthread_t): Likewise.
24311         [POSIX-based standards] (pthread_atfork): Expect function.
24313 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24314             Richard Sandiford  <richard@codesourcery.com>
24316         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24317         (swap_endianness_p): New extern variable.
24318         (set_big_endian): New inline function.
24319         (maybe_swap_uint32): Likewise.
24320         (maybe_swap_uint32_array): Likewise.
24321         (maybe_swap_uint32_obstack): Likewise.
24322         * locale/programs/locfile.c: Include <stdbool.h>.
24323         (swap_endianness_p): New variable.
24324         (add_locale_uint32): Call maybe_swap_uint32.
24325         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24326         (write_locale_data): Call maybe_swap_uint32_array.
24327         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24328         maybe_swap_uint32.
24329         (obstack_int32_grow_fast): Likewise.
24330         (output_weightwc): Call maybe_swap_uint32_obstack.
24331         (collate_output): Likewise.
24332         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24333         (OPT_LITTLE_ENDIAN): Likewise.
24334         (options): Add --little-endian and --big-endian options.
24335         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24336         * locale/programs/locarchive.c: Include "locfile.h".
24337         (GET): New macro.
24338         (SET): Likewise.
24339         (INC): Likewise.
24340         (create_archive): Use the new macros to access fields of
24341         structures directly mapped from or written to locale archives.
24342         (oldlocrecentcmp): Likewise.
24343         (enlarge_archive): Likewise.
24344         (insert_name): Likewise.
24345         (add_alias): Likewise.
24346         (add_locale): Likewise.
24347         (delete_locales_from_archive): Likewise.
24348         (show_archive_content): Likewise.
24349         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24350         locale data.
24352 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24354         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24355         http://www.gnu.org/doc/freemanuals.texi.
24356         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24358 2013-09-24  Will Newton  <will.newton@linaro.org>
24360         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24361         macro.
24363 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24365         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24366         unsigned char.
24368 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24370         * manual/threads.texi (POSIX Threads): Fix a typo.
24372 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24374         [BZ #14547]
24375         * string/tst-strcoll-overflow.c: New test case.
24376         * string/Makefile (xtests): Add tst-strcoll-overflow.
24377         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24378         cache if string sizes may cause integer overflow.
24380         [BZ #14547]
24381         * string/strcoll_l.c (coll_seq): New members rule, idx,
24382         save_idx and back_us.
24383         (get_next_seq_nocache): New function.
24384         (do_compare_nocache): New function.
24385         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24386         when malloc fails.
24388 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24390         [BZ #15754]
24391         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24392         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24393         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24395         [BZ #15754]
24396         * elf/Makefile (tests): Add tst-ptrguard1.
24397         (tests-static): Add tst-ptrguard1-static.
24398         (tst-ptrguard1-ARGS): Define.
24399         (tst-ptrguard1-static-ARGS): Define.
24400         * elf/tst-ptrguard1.c: New file.
24401         * elf/tst-ptrguard1-static.c: New file.
24402         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24403         * sysdeps/i386/stackguard-macros.h: Likewise.
24404         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24405         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24406         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24407         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24408         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24409         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24411 2013-09-23  Hector Marco  <hecmargi@upv.es>
24412             Ismael Ripoll  <iripoll@disca.upv.es>
24413             Carlos O'Donell  <carlos@redhat.com>
24415         [BZ #15754]
24416         * sysdeps/generic/stackguard-macros.h: Define
24417         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24418         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24419         Define __pointer_chk_guard_local.
24420         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24421         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24423 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24425         [BZ #15859]
24426         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24428 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24430         * include/string.h (__ffs): Declare as hidden.
24431         * string/ffs.c (__ffs): Define as hidden.
24432         * sysdeps/i386/ffs.c (__ffs): Likewise.
24433         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24434         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24435         * sysdeps/s390/ffs.c (__ffs): Likewise.
24436         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24438 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
24440         * NEWS: Mention malloc probes.
24442         * malloc/arena.c (new_heap): New memory_heap_new probe.
24443         (grow_heap): New memory_heap_more probe.
24444         (shrink_heap): New memory_heap_less probe.
24445         (heap_trim): New memory_heap_free probe.
24446         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24447         (systrim): New memory_sbrk_less probe.
24448         * manual/probes.texi: Document them.
24450         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24451         * manual/probes.texi: Document it.
24453         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24454         (__libc_realloc): Add memory_realloc_retry probe.
24455         (__libc_memalign): Add memory_memalign_retry probe.
24456         (__libc_valloc): Add memory_valloc_retry probe.
24457         (__libc_pvalloc): Add memory_pvalloc_retry probe.
24458         (__libc_calloc): Add memory_calloc_retry probe.
24459         * manual/probes.texi: Document them.
24461         * malloc/arena.c (get_free_list): Add probe
24462         memory_arena_reuse_free_list.
24463         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24464         and memory_arena_reuse.
24465         (arena_get2) [!PER_THREAD]: Likewise.
24466         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24467         memory_arena_reuse_realloc.
24468         * manual/probes.texi: Document them.
24470         * malloc/malloc.c (__libc_free): Add
24471         memory_mallopt_free_dyn_thresholds probe.
24472         (__libc_mallopt): Add multiple memory_mallopt probes.
24473         * manual/probes.texi: Document them.
24475         * malloc/malloc.c: Include stap-probe.h.
24476         (__libc_mallopt): Add memory_mallopt probe.
24477         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24478         * manual/probes.texi: New.
24479         * manual/Makefile (chapters): Add probes.
24480         * manual/threads.texi: Set next node.
24482 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
24484         [BZ #15963, #13985]
24485         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24486         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24487         Add `Chinese' to `nan' entry name.
24489 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24491         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24492         (POLYNOMIAL): Likewise.
24493         (TAYLOR_SINCOS): Likewise.
24494         (TAYLOR_SLOW): Likewise.
24495         (__sin): Use TAYLOR_SINCOS.
24496         (__cos): Likewise.
24497         (slow): Use TAYLOR_SLOW.
24498         (sloww): Likewise.
24499         (bsloww): Likewise.
24500         (csloww): Likewise.
24502 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24504         * stdlib/strtod_l.c: Fix buffer overrun.
24506 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24508         * benchtests/Makefile (bench): Add sincos.
24509         * benchtests/bench-sincos.c: New file.
24511         * math/libm-test.inc (cos_test_data): New test inputs.
24512         (sin_test_data): Likewise.
24514         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24515         macro.
24516         (__sin): Use it.
24517         (__cos): Likewise.
24518         (slow1): Likewise.
24519         (slow2): Likewise.
24520         (sloww1): Likewise.
24521         (sloww2): Likewise.
24522         (bsloww1): Likewise.
24523         (bsloww2): Likewise.
24524         (cslow2): Likewise.
24525         (csloww1): Likewise.
24526         (csloww2): Likewise.
24528         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24529         function.
24530         (__sin): Use it.
24531         (__cos): Likewise.
24533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24534         gotos.
24535         (__cos): Likewise.
24537 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
24539         * config.h.in (HAVE_MIPS_NAN2008): New macro.
24540         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24541         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24542         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24543         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24544         * elf/cache.c (print_entry): Handle the new cache flags.
24546 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24547             Aldy Hernandez  <aldyh@redhat.com>
24549         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24550         Change condition to [_SOFT_FLOAT].
24551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24563         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24566         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24567         declaration.
24569 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24571         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24572         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24573         (__longjmp): Use LOAD_GP to load saved GPRs.
24574         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24575         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24576         (__sigsetjmp): Use SAVE_GP to save GPRs.
24578         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24579         Do not append -msoft-float.
24580         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24582 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24584         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24586 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
24588         [BZ #15966]
24589         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24590         (_FPU_GETCW): Use initial "__" on variable and field names but not
24591         on macro parameter name.
24592         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
24593         parentheses around reference to macro parameter.
24595 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
24597         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24598         prototype.
24599         (ctype_startup): Use uint32_t in cast and sizeof for
24600         ctype->charnames.
24602 2013-09-11  Jia Liu  <proljc@gmail.com>
24604         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24605         __daddr_t_defined.
24606         [__FreeBSD__]: Likewise.
24608 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
24610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24611         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24612         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24613         (strchr): Remove __strchr_sse42 ifunc selection.
24614         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24615         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24617 2013-09-11  Will Newton  <will.newton@linaro.org>
24619         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24620         parameter to RES. Remove hardcoded 1000 value.
24621         * benchtests/bench-skeleton.c (main): Pass RES parameter
24622         to TIMING_INIT and multiply result by 1000.
24624 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24628 2013-09-11  Andreas Schwab  <schwab@suse.de>
24630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24631         if not defined.
24632         (O_TMPFILE) [__USE_GNU]: Define.
24633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24634         Define.
24636 2013-09-11  Will Newton  <will.newton@linaro.org>
24638         [BZ #15857]
24639         * malloc/malloc.c (__libc_memalign): Check the value of bytes
24640         does not overflow.
24642 2013-09-11  Will Newton  <will.newton@linaro.org>
24644         [BZ #15856]
24645         * malloc/malloc.c (__libc_valloc): Check the value of bytes
24646         does not overflow.
24648 2013-09-11  Will Newton  <will.newton@linaro.org>
24650         [BZ #15855]
24651         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24652         does not overflow.
24654 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
24656         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24657         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24658         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24659         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24660         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24662 2013-09-10  Allan McRae  <allan@archlinux.org>
24664         [BZ #15748]
24665         * manual/arith.texi (Parsing of Floats): Clarify
24666         cross-reference.
24668         [BZ #15849]
24669         * manual/install.texi (Running make install): Mention
24670         --enable-pt-chown.
24671         * INSTALL: Regenerated.
24673 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
24675         * csu/init-first.c (_init): Remove the !SHARED condition around
24676         FPU control word initialization.
24677         * elf/dl-support.c (_dl_fpu_control): New variable.
24678         (_dl_aux_init) <AT_FPUCW>: Initialize it.
24679         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24680         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24681         * math/test-fpucw-static.c: New file.
24682         * math/test-fpucw-ieee.c: New file.
24683         * math/test-fpucw-ieee-static.c: New file.
24684         * math/Makefile (tests): Add `test-fpucw-ieee' and
24685         `$(tests-static)'.
24686         (tests-static): New variable.
24687         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24688         dependency to...
24689         [($(build-shared),yes)]
24690         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24691         ... this.
24692         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24693         New dependency.
24695 2013-09-09  Allan McRae  <allan@archlinux.org>
24697         [BZ #15939]
24698         * manual/string.texi (Collation Functions): Fix typo in
24699         strcoll example.
24700         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24702         [BZ #15893]
24703         * stdlib/isomac.c (get_null_defines): Fix memory leak.
24705         [BZ #15892]
24706         * libio/memstream.c (open_memstream): Fix memory leak.
24707         * libio/wmemstream.c (open_wmemstream): Likewise.
24709         [BZ #15895]
24710         * nscd/netgroupcache.c: Fix nesting of ifdefs.
24712 2013-09-09  Will Newton  <will.newton@linaro.org>
24714         * malloc/Makefile: Add tst-realloc to tests.
24715         * malloc/tst-realloc.c: New file.
24717 2013-09-09  Allan McRae  <allan@archlinux.org>
24719         [BZ #15844]
24720         * COPYING: Update from GNU website to fix FSF address.
24721         * COPYING.LIB: Likewise.
24723 2013-09-06  David S. Miller  <davem@davemloft.net>
24725         * po/zh_TW.po: Update Chinese (traditional) translation from
24726         translation project.
24728 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
24729             Joseph Myers  <joseph@codesourcery.com>
24731         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24732         "localeinfo.h".
24733         (obstack_chunk_alloc): New macro.
24734         (obstack_chunk_free): Likewise.
24735         (record_offset): New function.
24736         (init_locale_data): Likewise.
24737         (align_locale_data): Likewise.
24738         (add_locale_empty): Likewise.
24739         (add_locale_raw_data): Likewise.
24740         (add_locale_raw_obstack): Likewise.
24741         (add_locale_string): Likewise.
24742         (add_locale_wstring): Likewise.
24743         (add_locale_uint32): Likewise.
24744         (add_locale_uint32_array): Likewise.
24745         (add_locale_char): Likewise.
24746         (start_locale_structure): Likewise.
24747         (end_locale_structure): Likewise.
24748         (start_locale_prelude): Likewise.
24749         (end_locale_prelude): Likewise.
24750         (write_locale_data): Take locale_file structure rather than an
24751         iovec.
24752         * locale/programs/locfile.h: Include "obstack.h".
24753         (struct locale_file): Change to store locale file contents instead
24754         of header.
24755         (init_locale_data): New prototype.
24756         (align_locale_data): Likewise.
24757         (add_locale_empty): Likewise.
24758         (add_locale_raw_data): Likewise.
24759         (add_locale_raw_obstack): Likewise.
24760         (add_locale_string): Likewise.
24761         (add_locale_wstring): Likewise.
24762         (add_locale_uint32): Likewise.
24763         (add_locale_uint32_array): Likewise.
24764         (add_locale_char): Likewise.
24765         (start_locale_structure): Likewise.
24766         (end_locale_structure): Likewise.
24767         (start_locale_prelude): Likewise.
24768         (end_locale_prelude): Likewise.
24769         (write_locale_data): Update prototype.
24770         * locale/programs/3level.h (struct TABLE): Remove result field.
24771         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24772         Use new locale_file interface.
24773         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24774         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24775         * locale/programs/ld-address.c (address_output): Use new
24776         locale_file interface.
24777         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24778         NO_ADD_LOCALE.
24779         (collate_finish): Don't call collseq_table_finalize.
24780         (collate_output): Use new locale_file interface.
24781         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24782         in file.
24783         (NO_FINALIZE): Change to NO_ADD_LOCALE.
24784         (TABLE): Move defines earlier in file.
24785         (ELEMENT): Likewise.
24786         (DEFAULT): Likewise.
24787         (wctrans_table_add): Move macro and inline function earlier in
24788         file.
24789         (struct wctype_table): Move type earlier in file.
24790         (add_locale_wctype_table): New static prototype.
24791         (struct locale_ctype_t): Use logical types instead of struct iovec
24792         pointers for members.
24793         (ctype_output): Use new locale_file interface.
24794         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
24795         new locale_file interface.
24796         (allocate_arrays): Update for use of new locale_file interface.
24797         * locale/programs/ld-identification.c (identification_output): Use
24798         new locale_file interface.
24799         * locale/programs/ld-measurement.c (measurement_output): Likewise.
24800         * locale/programs/ld-messages.c (messages_output): Likewise.
24801         * locale/programs/ld-monetary.c (monetary_output): Likewise.
24802         * locale/programs/ld-name.c (name_output): Likewise.
24803         * locale/programs/ld-numeric.c (numeric_output): Likewise.
24804         * locale/programs/ld-paper.c (paper_output): Likewise.
24805         * locale/programs/ld-telephone.c (telephone_output): Likewise.
24806         * locale/programs/ld-time.c (time_output): Likewise.
24808 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24810         * benchtests/Makefile: Add memrchr benchmark.
24811         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24812         benchmark as memrchr.
24813         * benchtests/bench-memrchr-ifunc.c: New file.
24814         * benchtests/bench-memrchr.c: New file.
24816 2013-09-06   Will Newton  <will.newton@linaro.org>
24818         * benchtests/Makefile (string-bench): Add memcpy.
24820 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24821             Cong Wang  <amwang@redhat.com>
24823         [BZ #15850]
24824         * sysdeps/unix/sysv/linux/bits/in.h
24825         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24826         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24827         before __USE_KERNEL_IPV6_DEFS uses.
24828         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24829         IPPROTO_BEETPH.
24830         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24831         sockaddr_in6, or ipv6_mreq.
24833 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24835         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24836         memory access for final bytes in some large inputs.
24837         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24839 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24841         * string/test-memrchr.c: New file.
24842         * string/test-memrchr-ifunc.c: New file.
24843         * string/Makefile: Add new memrchr testcase.
24845 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24847         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24848         fanotify_init returns EPERM.
24850 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24852         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24853         errors.
24854         (top level): Treat second token from macro or constant entries for
24855         allowed headers as allowed.
24856         * include/complex.h: Condition internal declarations on
24857         [!_ISOMAC].
24858         * include/fenv.h: Condition include of <stdbool.h> and internal
24859         declarations on [!_ISOMAC].
24861 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24863         [BZ #15923]
24864         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24866 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24868         * configure.in (--enable-versioning): Remove configure option.
24869         (libc_cv_asm_symver_directive): Remove configure test.
24870         (libc_cv_ld_version_script_option): Likewise.
24871         (VERSIONING): Remove variable and AC_SUBST.
24872         (DO_VERSIONING): Remove AC_DEFINE.
24873         * configure: Regenerated.
24874         * config.h.in (DO_VERSIONING): Remove macro.
24875         * Makerules [$(versioning) = yes]: Change conditionals to
24876         [$(build-shared) = yes].
24877         * config.make.in (versioning): Remove variable.
24878         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24879         [$(build-shared) = yes].
24880         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24881         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24882         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24883         [$(build-shared) = yes].
24884         * extra-lib.mk [$(versioning) = yes]: Likewise.
24885         * hurd/Makefile [$(versioning) = yes]: Likewise.
24886         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24887         [SHARED].
24888         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24889         [SHARED].
24890         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24891         [SHARED && !NO_HIDDEN].
24892         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24893         [SHARED].
24894         [SHARED && DO_VERSIONING]: Likewise..
24895         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24896         [$(build-shared) = yes].
24897         * manual/install.texi (--disable-versioning): Remove
24898         documentation.
24899         * INSTALL: Regenerated.
24900         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24901         to [SHARED].
24902         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24903         [$(build-shared) = yes].
24904         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24905         * sysdeps/i386/i686/multiarch/strstr-c.c
24906         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24907         [SHARED && !NO_HIDDEN].
24908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24909         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24910         * sysdeps/powerpc/powerpc32/dl-machine.c
24911         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24912         * sysdeps/powerpc/powerpc32/sysdep.h
24913         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24914         to [SHARED && PIC && !NO_HIDDEN].
24915         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24916         conditional to [SHARED].
24918 2013-09-04   Will Newton  <will.newton@linaro.org>
24920         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24921         * benchtests/bench-string.h: Include bench-timing.h instead
24922         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24923         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24924         call to HP_TIMING_DIFF_INIT.
24925         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24926         instead of hp-timing.h macros.
24927         * benchtests/bench-memchr.c: Likewise.
24928         * benchtests/bench-memcmp.c: Likewise.
24929         * benchtests/bench-memcpy.c: Likewise.
24930         * benchtests/bench-memmem.c: Likewise.
24931         * benchtests/bench-memmove.c: Likewise.
24932         * benchtests/bench-memset.c: Likewise.
24933         * benchtests/bench-rawmemchr.c: Likewise.
24934         * benchtests/bench-strcasecmp.c: Likewise.
24935         * benchtests/bench-strcasestr.c: Likewise.
24936         * benchtests/bench-strcat.c: Likewise.
24937         * benchtests/bench-strchr.c: Likewise.
24938         * benchtests/bench-strcmp.c: Likewise.
24939         * benchtests/bench-strcpy.c: Likewise.
24940         * benchtests/bench-strcpy_chk.c: Likewise.
24941         * benchtests/bench-strlen.c: Likewise.
24942         * benchtests/bench-strncasecmp.c: Likewise.
24943         * benchtests/bench-strncat.c: Likewise.
24944         * benchtests/bench-strncmp.c: Likewise.
24945         * benchtests/bench-strncpy.c: Likewise.
24946         * benchtests/bench-strnlen.c: Likewise.
24947         * benchtests/bench-strpbrk.c: Likewise.
24948         * benchtests/bench-strrchr.c: Likewise.
24949         * benchtests/bench-strspn.c: Likewise.
24950         * benchtests/bench-strstr.c: Likewise.
24952 2013-09-04  Will Newton  <will.newton@linaro.org>
24954         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24956 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24958         [BZ #15427]
24959         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24960         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24961         * math/libm-test.inc (lgamma_test_data): Add more tests.
24962         * sysdeps/i386/fpu/libm-test-ulps: Update.
24963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24965 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24967         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24969         Add ifunc.
24970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24971         Add strcmp-sse2-unaligned
24972         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24974 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24976         * Versions.def (libc): Add GLIBC_2.19.
24978 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24980         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24981         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24983 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24985         [BZ #14155]
24986         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24987         intermediate calculations in recurrence.
24988         (__ieee754_ynf): Likewise.
24989         * math/libm-test.inc (jn_test_data): Do not allow spurious
24990         underflow exception.  Add more tests.
24991         (yn_test_data): Add more tests.
24992         * sysdeps/i386/fpu/libm-test-ulps: Update.
24993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24995 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24997         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24999 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25001         * csu/init-first.c: Fix then/than typos.
25002         * locale/programs/ld-collate.c: Likewise.
25003         * locale/programs/linereader.h: Likewise.
25004         * manual/charset.texi: Likewise.
25005         * manual/filesys.texi: Likewise.
25006         * manual/stdio.texi: Likewise.
25007         * manual/string.texi: Likewise.
25008         * stdlib/fmtmsg.c: Likewise.
25009         * sysdeps/i386/stpncpy.S: Likewise.
25010         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25011         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25012         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25013         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25015 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25017         * elf/dl-open.c: Fix typos.
25018         * iconvdata/gbbig5.c: Likewise.
25019         * iconvdata/iso-2022-jp.c: Likewise.
25020         * iconv/gconv_int.h: Likewise.
25021         * iconv/loop.c: Likewise.
25022         * nis/rpcsvc/nis.h: Likewise.
25023         * resolv/ns_name.c: Likewise.
25024         * stdio-common/vfscanf.c: Likewise.
25025         * streams/stropts.h: Likewise.
25026         * sunrpc/rpc_thread.c: Likewise.
25027         * sysdeps/i386/strpbrk.S: Likewise.
25028         * sysdeps/ieee754/k_standard.c: Likewise.
25029         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25030         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25031         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25032         * sysdeps/mach/hurd/profil.c: Likewise.
25033         * sysdeps/s390/dl-procinfo.h: Likewise.
25034         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25035         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25036         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25037         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25038         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25040 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25042         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25045 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25047         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25048         aix specific files.
25049         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25050         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25051         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25052         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25053         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25054         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25055         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25056         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25058 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25059             Roland McGrath  <roland@hack.frob.com>
25061         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25062         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25064 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25066         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25067         __executable_start symbol instead of _start.
25069 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25071         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25072         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25073         Move macros to...
25074         * sysdeps/gnu/ldsodefs.h: ... this new file.
25076         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25077         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25078         instead of ELFOSABI_LINUX.
25080         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25081         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25082         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25083         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25084         Likewise.
25085         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25086         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25087         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25088         Likewise.
25089         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25090         (ibm_extended_long_double): Add ieee_nan member.
25091         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25092         (do_test): New function.
25094         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25095         TEST_TRUNC.
25096         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25097         functions, renamed from truncdfsf_test, trunctfsf_test,
25098         trunctfdf_test.
25099         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25100         functions.
25101         (do_test): Run all these.
25103 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25105         * argp/argp-help.c: Fix typos.
25106         * argp/argp-parse.c: Likewise.
25107         * debug/backtracesyms.c: Likewise.
25108         * elf/elf.h: Likewise.
25109         * malloc/malloc.c: Likewise.
25110         * nis/nis_print.c: Likewise.
25111         * resolv/res_comp.c: Likewise.
25112         * stdlib/stdlib.h: Likewise.
25113         * sunrpc/clnt_tcp.c: Likewise.
25114         * sunrpc/clnt_udp.c: Likewise.
25115         * sunrpc/clnt_unix.c: Likewise.
25116         * sysdeps/unix/bsd/ptsname.c: Likewise.
25117         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25118         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25120         Likewise.
25121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25122         Likewise.
25123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25124         Likewise.
25125         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25127 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25129         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25132 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25134         [BZ #15897]
25135         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25136         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25137         ($(objpfx)bug-dl-leaf): New rule.
25138         ($(objpfx)bug-dl-leaf.so): Likewise.
25139         ($(objpfx)bug-dl-leaf.out): Likewise.
25140         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25141         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25142         * dlfcn/bug-dl-leaf.c: New test.
25143         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25144         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25145         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25146         (dlclose): Likewise.
25147         (dlmopen): Likewise.
25149 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25151         * include/netdb.h [!_ISOMAC]:
25152         Don't include <tls.h>.
25153         (h_errno, __libc_h_errno): Move declaration and macros out of
25154         [_LIBC_REENTRANT].
25156         * include/resolv.h [_RESOLV_H_]:
25157         Don't include <tls.h>.
25158         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25159         * resolv/res_libc.c: Don't include <tls.h>.
25160         (_res): Use __attribute__ ((nocommon)) in place of
25161         __attribute__ ((section (".bss"))).
25163         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25164         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25166         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25168         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25169         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25171         * resolv/res_mkquery.c: Include <sys/time.h>.
25173         * inet/ifreq.c: Moved to ...
25174         * sysdeps/unix/ifreq.c: ... here.
25175         * inet/ifreq.c: New file, true stub version.
25177         * socket/sa_len.c: New file.
25178         * socket/Makefile (aux): Add it.
25179         * sysdeps/unix/sysv/linux/Makefile
25180         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25181         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25182         and #include <socket/sa_len.c>.
25183         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25184         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25186         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25187         * bits/socket.h: ... here.
25189         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25190         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25191         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25193 2013-08-27  Andreas Schwab  <schwab@suse.de>
25195         [BZ #15736]
25196         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25197         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25198         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25199         * string/test-strcasecmp.c (test_main): Run tests in several
25200         locales.
25201         * string/test-strncasecmp.c (test_main): Likewise.
25203         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25204         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25205         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25207         (__strncasecmp_ssse3) [PIC]: Likewise.
25209 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25211         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25213         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25214         instead of explicitly declaring xdecrypt.
25215         * nis/nss_nis/nis-publickey.c: Likewise.
25217 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25219         [BZ #15890]
25220         * nscd/aicache.c: Include res_hconf.h.
25221         (addhstaiX): Initialize res_hconf.
25223 2013-08-26  Andreas Schwab  <schwab@suse.de>
25225         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25226         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25228 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25230         * nscd/aicache.c (addhstaiX): Fix indentation.
25232 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25234         * configure.ac: Quote $build_pt_chown test.
25235         * configure: Regenerated.
25237 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25239         [BZ #15532]
25240         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25241         * math/s_cexpf.c (__cexpf): Likewise.
25242         * math/s_cexpl.c (__cexpl): Likewise.
25243         * math/libm-test.inc (cexp_test_data): Correct expected return
25244         value for NaN + i0.  Add another test.
25246 2013-08-22  David S. Miller  <davem@davemloft.net>
25248         * po/ca.po: Update Catalan translation from translation project.
25249         * po/uk.po: Add Ukrainian translations from translation project.
25251 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25253         [BZ #15797]
25254         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25255         is infinite, not alongside NaN test.
25256         * math/s_fdimf.c (__fdimf): Likewise.
25257         * math/s_fdiml.c (__fdiml): Likewise.
25258         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25259         errno is unchanged.
25261 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25263         * argp/argp-help.c: Fix typos.
25264         * crypt/speeds.c: Likewise.
25265         * csu/check_fds.c: Likewise.
25266         * elf/dl-load.c: Likewise.
25267         * elf/dl-open.c: Likewise.
25268         * elf/reldep3.c: Likewise.
25269         * elf/reldep.c: Likewise.
25270         * elf/sprof.c: Likewise.
25271         * iconv/iconv_charmap.c: Likewise.
25272         * iconv/skeleton.c: Likewise.
25273         * iconv/strtab.c: Likewise.
25274         * io/lockf64.c: Likewise.
25275         * libio/libioP.h: Likewise.
25276         * resolv/gai_notify.c: Likewise.
25277         * resolv/ns_name.c: Likewise.
25278         * resolv/ns_samedomain.c: Likewise.
25279         * resolv/res_send.c: Likewise.
25280         * stdlib/random.c: Likewise.
25281         * sunrpc/rpc/xdr.h: Likewise.
25282         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25283         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25284         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25285         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25286         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25289         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25290         * sysdeps/mach/hurd/check_fds.c: Likewise.
25291         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25292         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25293         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25294         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25295         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25296         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25297         * sysdeps/pthread/aio_notify.c: Likewise.
25298         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25299         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25300         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25301         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25302         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25304 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25306         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25307         version if bit_Slow_SSE4_2 is set.
25308         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25309         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25311 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25313         [BZ #15867]
25314         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25315         trampoline stack frame information.
25316         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25317         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25318         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25319         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25320         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25321         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25322         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25323         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25324         sa_flags value.
25325         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25326         interrupting a syscall and set with option SA_SIGINFO.
25328 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25330         [BZ #15531]
25331         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25332         argument is infinite.
25333         * math/s_cprojf.c (__cprojf): Likewise.
25334         * math/s_cprojl.c (__cprojl): Likewise.
25335         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25336         * math/libm-test.inc (cproj_test_data): Add more tests.
25338         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25340         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25341         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25342         size.  Use __ffs to determine corresponding shift.
25344 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25345             Roland McGrath  <roland@hack.frob.com>
25347         * Makefile (INSTALL): Remove trailing blank lines from output of
25348         makeinfo.
25350 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25352         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25353         Align 32 bit compat elf_greg to 8 bytes.
25355 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25357         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25359 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25361         * string/strcoll_l.c (coll_seq): New structure.
25362         (get_next_seq_cached): New function.
25363         (get_next_seq): New function.
25364         (do_compare): New function.
25365         (STRCOLL): Use GNU style definition.  Simplify implementation
25366         by using get_next_seq, get_next_seq_cached and do_compare.
25368 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25370         [BZ #14699]
25371         CVE-2013-4237
25372         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25373         member.
25374         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25375         member.
25376         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25377         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25378         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25379         conditional.
25380         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25381         GETDENTS_64BIT_ALIGNED.
25382         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25383         * manual/filesys.texi (Reading/Closing Directory): Document
25384         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25385         strongly.
25386         * manual/conf.texi (Limits for Files): Add portability note to
25387         NAME_MAX, PATH_MAX.
25388         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25390 2013-08-13  Andreas Schwab  <schwab@suse.de>
25392         [BZ #15749]
25393         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25394         of fabs.
25395         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25396         LDBL_MAX_EXP >= 16384]: Add tests for it.
25398 2013-08-12  David S. Miller  <davem@davemloft.net>
25400         * version.h (RELEASE): Set to "development".
25401         (VERSION): Set to "2.18.90".
25402         * NEWS: Add 2.19 section.
25404 2013-08-03  David S. Miller  <davem@davemloft.net>
25406         * po/ko.po: Update Korean translation from translation project.
25408 2013-08-01  David S. Miller  <davem@davemloft.net>
25410         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25411         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25412         Bilka.
25414 2013-07-30  David S. Miller  <davem@davemloft.net>
25416         * po/fr.po: Update French translation from translation project.
25418 2013-07-28  David S. Miller  <davem@davemloft.net>
25420         * po/cs.po: Update Czech translation from translation project.
25422         * po/sv.po: Update Swedish translation from translation project.
25424 2013-07-27  David S. Miller  <davem@davemloft.net>
25426         * po/eo.po: Update Esperanto translation from translation project.
25428         * po/vi.po: Update Vietnamese translation from translation project.
25430         * po/de.po: Update German translation from translation project.
25432 2013-07-26  David S. Miller  <davem@davemloft.net>
25434         * po/bg.po: Update Bulgarian translation from translation project.
25436         * po/nl.po: Update Dutch translation from translation project.
25437         * po/pl.po: Update Polish translation from translation project.
25438         * po/ru.po: Update Russian translation from translation project.
25440 2013-07-24  David S. Miller  <davem@davemloft.net>
25442         * po/libc.pot: Update.
25444 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25446         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25447         variable page size.
25448         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25449         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25450         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25452 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25454         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25456 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25457             Andreas Schwab  <schwab@suse.de>
25458             Roland McGrath  <roland@hack.frob.com>
25459             Joseph Myers  <joseph@codesourcery.com>
25460             Carlos O'Donell  <carlos@redhat.com>
25462         [BZ #15755]
25463         * config.h.in: Define HAVE_PT_CHOWN.
25464         * config.make.in (build-pt-chown): New variable.
25465         * configure.in (--enable-pt_chown): New configure option.
25466         * configure: Regenerate.
25467         * login/Makefile: Include Makeconfig.  Build pt_chown only if
25468         build-pt-chown is enabled.
25469         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25470         pt_chown to fix pty ownership.
25471         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25472         CLOSE_ALL_FDS.
25473         * manual/install.texi (Configuring and compiling): Mention
25474         --enable-pt_chown. Add @findex for grantpt.
25475         * INSTALL: Regenerate.
25477 2013-07-20  David S. Miller  <davem@davemloft.net>
25479         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25480         difference between 32-bit and 64-bit.
25482 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
25484         [BZ #15711]
25485         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25486         Avoid system header dependency with -ffreestanding.
25487         ($(objpfx)bits/syscall%d): Likewise.
25489 2013-07-13  David S. Miller  <davem@davemloft.net>
25491         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25492         underflows from atanl/atan2l due to bug 15319.
25493         (casinh_test_data): Likewise.
25495 2013-07-07  David S. Miller  <davem@davemloft.net>
25497         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25499 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
25501         * sysdeps/i386/fpu/libm-test-ulps: Update.
25502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25504 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25506         * configure.in (--enable-lock-elision): Fix message text.
25507         * INSTALL: Regenerate.
25508         * configure: Regenerate.
25510 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25514 2013-07-03  Andreas Jaeger  <aj@suse.de>
25516         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25517         define.
25518         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25519         (ptrace_peeksiginfo_args): Add.
25520         (__ptrace_peeksiginfo_flags): Add.
25521         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25523         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25525 2013-07-03  Allan McRae  <allan@archlinux.org>
25527         * sysdeps/i386/fpu/libm-test-ulps: Update.
25529 2013-07-02  David S. Miller  <davem@davemloft.net>
25531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25533 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
25535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25537 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25539         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25542 2013-07-02  Andi Kleen <ak@linux.intel.com>
25544         * config.h.in (ENABLE_LOCK_ELISION): Add.
25545         * configure.in (--enable-lock-elision): Add option.
25546         * manual/install.texi: Document --enable lock elision.
25547         * configure: Regenerate
25548         * INSTALL: Regenerate.
25550 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
25552         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25553         SSE4.2 strcasecmp for libc.a.
25554         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25556 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25558         [BZ #13304]
25559         * soft-fp/op-common.h (_FP_FMA): New macro.
25560         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25561         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
25562         (_FP_MUL_MEAT_1_imm): ... here.
25563         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
25564         (_FP_MUL_MEAT_1_wide): ... here.
25565         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
25566         (_FP_MUL_MEAT_1_hard): ... here.
25567         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25568         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
25569         (_FP_MUL_MEAT_2_wide): ... here.
25570         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
25571         (_FP_MUL_MEAT_2_wide_3mul): ... here.
25572         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
25573         (_FP_MUL_MEAT_2_gmp): ... here.
25574         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25575         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
25576         (_FP_MUL_MEAT_4_wide): ... here.
25577         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
25578         (_FP_MUL_MEAT_4_gmp): ... here.
25579         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25580         (_FP_WFRACBITS_DW_S): Likewise.
25581         (_FP_WFRACXBITS_DW_S): Likewise.
25582         (_FP_HIGHBIT_DW_S): Likewise.
25583         (FP_FMA_S): Likewise.
25584         (_FP_FRAC_HIGH_DW_S): Likewise.
25585         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25586         (_FP_WFRACBITS_DW_D): Likewise.
25587         (_FP_WFRACXBITS_DW_D): Likewise.
25588         (_FP_HIGHBIT_DW_D): Likewise.
25589         (FP_FMA_D): Likewise.
25590         (_FP_FRAC_HIGH_DW_D): Likewise.
25591         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25592         (_FP_WFRACBITS_DW_E): Likewise.
25593         (_FP_WFRACXBITS_DW_E): Likewise.
25594         (_FP_HIGHBIT_DW_E): Likewise.
25595         (FP_FMA_E): Likewise.
25596         (_FP_FRAC_HIGH_DW_E): Likewise.
25597         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25598         (_FP_WFRACBITS_DW_Q): Likewise.
25599         (_FP_WFRACXBITS_DW_Q): Likewise.
25600         (_FP_HIGHBIT_DW_Q): Likewise.
25601         (FP_FMA_Q): Likewise.
25602         (_FP_FRAC_HIGH_DW_Q): Likewise.
25603         * soft-fp/fmasf4.c: New file.
25604         * soft-fp/fmadf4.c: Likewise.
25605         * soft-fp/fmatf4.c: Likewise.
25607 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25610         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25611         Silvermont.
25612         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25613         macro.
25614         (index_Slow_SSE4_2): Likewise.
25615         (index_Prefer_PMINUB_for_stringop): Likewise.
25616         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25617         bit_Slow_SSE4_2 is set.
25618         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25619         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25621 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25623         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25624         rtld_global._dl_hwcap2.
25625         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25626         POWER8.
25627         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25628         POWER8 feature descriptions defined in _dl_hwcap2.
25629         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25630         string handling for POWER8 feature bits.
25631         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25632         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25633         _dl_powerpc_cap_flags.
25634         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25635         * sysdeps/powerpc/rtld-global-offsets.sym
25636         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25637         _dl_hwcap2 in the rtld_global_ro structure.
25639 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25641         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25642         hardware capabilities in support of AT_HWCAP2.
25643         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25644         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25645         GLRO(dl_hwcap2).
25646         (_dl_show_auxv): Add support for calling _dl_procinfo to display
25647         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
25648         explicitly the unknown a_type display mechanism is used.
25649         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25650         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25651         struct member.
25652         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25653         to macro prototype for AT_HWCAP2 support.
25654         * sysdeps/i386/dl-procinfo.h: Likewise.
25655         * sysdeps/s390/dl-procinfo.h: Likewise.
25656         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25657         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
25658         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
25659         return -1 for unknown a_type display fallback.
25660         * sysdeps/sparc/dl-procinfo.h: Likewise.
25661         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25662         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25664 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
25666         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25667         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25669 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
25671         [BZ #12492]
25672         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25673         mprotect making __stack_prot writable.
25675 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
25676             Joseph Myers  <joseph@codesourcery.com>
25678         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25679         as being properly aligned.
25681 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
25683         * dlfcn/modstatic5.c: New file.
25684         * dlfcn/tststatic5.c: New file.
25685         * dlfcn/Makefile (tests): Add tststatic5.
25686         (tests-static): Likewise.
25687         (modules-names): Add modstatic5.
25688         (tststatic5-ENV): New variable.
25689         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25691         [BZ #15022]
25692         * elf/dl-support.c (_dl_main_map): New variable.
25693         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25694         (_dl_nns, _dl_load_adds): Set to 1.
25695         (_dl_initial_searchlist): Refer to _dl_main_map.
25696         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25697         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25698         call to _dl_get_origin.
25699         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25700         around call_map.
25701         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25702         * dlfcn/modstatic3.c: New file.
25703         * dlfcn/tststatic3.c: New file.
25704         * dlfcn/tststatic4.c: New file.
25705         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25706         (tests-static): Likewise.
25707         (modules-names): Add modstatic3.
25708         (tststatic3-ENV, tststatic4-ENV): New variables.
25709         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25710         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25712 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
25714         * configure.in (CC): Require GCC version 4.4 or later.
25715         * configure: Regenerated.
25716         * manual/install.texi (Tools for Compilation): Update GCC version
25717         requirement.
25718         * INSTALL: Regenerated.
25720 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25722         [BZ #15674]
25723         * string/test-memcmp.c (check2): New.
25724         (main): Call check2.
25726         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25728 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
25730         [BZ #15022]
25731         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25732         over to...
25733         (dl_open_worker) [!SHARED]: ... here.
25735 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25737         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25739 2013-06-25  Richard Henderson  <rth@redhat.com>
25741         * locale/programs/locarchive.c: Include <libc-internal.h>
25743 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
25745         * manual/texinfo.tex: Update to version 2013-06-21.17, with
25746         trailing whitespace removed.
25748 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25750         [BZ #10283]
25751         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25752         * locale/programs/locarchive.c: Include libc-mmap.h.
25753         (prepare_address_space): Take two new outputs (the mmap base and len).
25754         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
25755         values.
25756         (create_archive): Declare new mmap base and len values for
25757         prepare_address_space, and store the result in ah.
25758         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25759         (enlarge_archive): If ah->mmap_base is not NULL, use that and
25760         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25761         Declare new mmap base and len values for
25762         prepare_address_space, and store the result in new_ah.
25763         (open_archive): Declare new mmap base and len values for
25764         prepare_address_space, and store the result in ah.
25765         (close_archive): If ah->mmap_base is not NULL, use that and
25766         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25767         * sysdeps/generic/libc-mmap.h: New file.
25769 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25771         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25772         (ALIGN_UP): Likewise.
25773         (PTR_ALIGN_DOWN): Likewise.
25774         (PTR_ALIGN_UP): Likewise.
25776 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25778         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25779         entry mapped to PPC_PLATFORM_POWER8.
25780         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25781         POWER8.
25782         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25783         (_dl_string_platform): Add case for exporting platform position for
25784         POWER8.
25785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25786         search path to sysdeps/powerpc/powerpc32/power8 directory.
25787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25788         search path to sysdeps/powerpc/powerpc64/power8 directory.
25789         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25790         power7 directories.
25791         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25792         power7 directories.
25794 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25796         * INSTALL: Regenerate.
25798         * nscd/connections.c (nscd_init): Fix comment.
25800 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
25802         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25804         [BZ #15667]
25805         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25806         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25808 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25810         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25811         DL_DST_REQ_STATIC.
25812         (DL_DST_REQ_STATIC): Remove macro.
25814 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
25816         [BZ #7006]
25817         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25818         with a shift of 0 bits.
25820 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25822         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25823         $(tststatic-ENV).
25825 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25827         [BZ #15655]
25828         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25830 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25832         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25833         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25834         accepts -fno-tree-loop-distribute-patterns.
25835         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25836         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25837         recursive call.
25838         * string/memset.c (memset): Likewise.
25839         * string/test-memmove.c (simple_memmove): Disable loop transformation
25840         to library calls.
25841         * string/test-memset.c (simple_memset): Likewise.
25842         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25843         * benchtests/bench-memset.c (simple_memset): Likewise.
25844         * configure: Regenerated.
25846 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25848         * math/test-misc.c (main): Ignore fesetround failure when failures
25849         of subsequent rounding tests would be ignored.
25851         [BZ #15654]
25852         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25853         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25854         * math/fegetenv.c (__fegetenv): Return 0.
25855         * math/fegetexcept.c (fegetexcept): Return 0.
25856         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25857         FE_TONEAREST.
25858         * math/feholdexcpt.c (feholdexcept): Return 0.
25859         * math/fesetenv.c (__fesetenv): Return 0.
25860         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25861         argument FE_TONEAREST.
25862         * math/feupdateenv.c (__feupdateenv): Return 0.
25863         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25865 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25867         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25868         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25869         ($(objpfx)rtld-%.os rules): Use them.
25871 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25873         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25874         fields.
25876 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25878         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25879         length of target pattern, then descending length of dependency pattern.
25880         * configure.in (AWK): Require gawk 3.1.2 or newer.
25881         * manual/install.texi (Tools for Compilation): Say that we do.
25882         * configure: Regenerated.
25884         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25885         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25886         * scripts/sysd-rules.awk: ... this new script.
25887         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25888         than a glob-style pattern.
25890 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25892         * math/test-misc.c (main): Do not treat incorrectly rounded
25893         conversions as failure unless ROUNDING_TESTS passes.
25895 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25897         [BZ #15631]
25898         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25899         restore exception state around main square root computation, then
25900         check for inexactness explicitly.
25902         * math/libm-test.inc (fma_test_data): Add another test.
25904 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25906         * manual/threads.texi (Non-POSIX Extensions): New document
25907         node.  Document pthread_getattr_default_np and
25908         pthread_setattr_default_np.
25910         * Versions.def (libpthread): Add GLIBC_2.18.
25911         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25913         Likewise.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25915         Likewise.
25916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25917         Likewise.
25918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25919         Likewise.
25920         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25921         Likewise.
25922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25923         Likewise.
25924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25925         Likewise.
25926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25927         Likewise.
25928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25929         Likewise.
25931 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25934         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25936 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25937             H.J. Lu  <hjl.tools@gmail.com>
25939         [BZ #15627]
25940         * sysdeps/x86_64/rtld-memset.c: Remove file.
25941         * sysdeps/x86_64/rtld-memset.S: New file.
25943 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25945         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25946         (test_in_one_mode): Take arguments for whether the rounding mode
25947         is supported for each floating-point type.
25948         (do_test): Pass new arguments to test_in_one_mode using
25949         ROUNDING_TESTS.
25951 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25953         * posix/tst-waitid.c (do_test): Distinguish different instances of
25954         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25955         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25956         before entering the kernel for waitpid.
25958 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25960         * NEWS: Fix note on clock function precision.  Text by Roland
25961         McGrath.
25963 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25965         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25966         it into place only when and if the sanity check passes.
25968 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25970         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25971         output for whether conversion result is exact.  Take argument
25972         indicating whether type is IBM long double.
25973         (round_for_all): Change need_exact field to ibm_ld.
25974         * stdlib/tst-strtod-round.c (struct exactness): New type.
25975         (struct test): Change bool ld_ok field to struct exactness exact.
25976         (TEST): Update all definitions for change to field.
25977         (tests): Regenerate array contents.
25978         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25979         field value.  Check for IBM long double here.
25980         (do_test): Update calls to test_in_one_mode.
25982 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25984         [BZ #12515]
25985         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25986         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25988 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25990         [BZ #15605]
25991         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25992         generated by the compiler on loop optimizations.
25993         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25994         general definitions.
25996 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25998         * math/bug-nextafter.c: Include <math-tests.h>.
25999         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26000         the relevant type.
26001         * math/bug-nexttoward.c: Include <math-tests.h>.
26002         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26003         the relevant type.
26004         * math/test-misc.c: Include <math-tests.h>.
26005         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26006         the relevant type.
26008 2013-06-12  Andreas Jaeger  <aj@suse.de>
26010         * po/ia.po: Update Interlingua translation from translation
26011         project.
26013 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26015         * include/fenv.h: Include stdbool.h.
26016         (struct rm_ctx): New structure.
26017         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26018         Define macro.
26019         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26020         (SET_RESTORE_ROUNDF): Likewise.
26021         (SET_RESTORE_ROUNDL): Likewise.
26022         (SET_RESTORE_ROUND_NOEX): Likewise.
26023         (SET_RESTORE_ROUND_NOEXF): Likewise.
26024         (SET_RESTORE_ROUND_NOEXL): Likewise.
26025         (SET_RESTORE_ROUND_53BIT): Likewise.
26026         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26027         (libc_feresetround_noexf_ctx): Likewise.
26028         (libc_feresetround_noexl_ctx): Likewise.
26029         (libc_feholdsetround_53bit_ctx): Likewise.
26030         (libc_feresetround_53bit_ctx): Likewise.
26031         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26032         (libc_feholdexcept_setround_sse_ctx): New function.
26033         (libc_fesetenv_sse_ctx): Likewise.
26034         (libc_feupdateenv_sse_ctx): Likewise.
26035         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26036         (libc_feholdexcept_setround_387_ctx): Likewise.
26037         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26038         (libc_feholdsetround_387_prec_ctx): Likewise.
26039         (libc_feholdsetround_387_ctx): Likewise.
26040         (libc_feholdsetround_387_53bit_ctx): Likewise.
26041         (libc_feholdsetround_sse_ctx): Likewise.
26042         (libc_feresetround_sse_ctx): Likewise.
26043         (libc_feresetround_387_ctx): Likewise.
26044         (libc_feupdateenv_387_ctx): Likewise.
26045         (libc_feholdexcept_setroundf_ctx): Define macro.
26046         (libc_fesetenvf_ctx): Likewise.
26047         (libc_feupdateenvf_ctx): Likewise.
26048         (libc_feholdsetroundf_ctx): Likewise.
26049         (libc_feresetroundf_ctx): Likewise.
26050         (libc_feholdexcept_setround_ctx): Likewise.
26051         (libc_fesetenv_ctx): Likewise.
26052         (libc_feupdateenv_ctx): Likewise.
26053         (libc_feholdsetround_ctx): Likewise.
26054         (libc_feresetround_ctx): Likewise.
26055         (libc_feholdexcept_setroundl_ctx): Likewise.
26056         (libc_feupdateenvl_ctx): Likewise.
26057         (libc_feholdsetroundl_ctx): Likewise.
26058         (libc_feresetroundl_ctx): Likewise.
26059         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26060         (libc_feresetround_53bit_ctx): Likewise.
26062 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26064         * locale/iso-639.def: Convert to UTF-8.
26066 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26068         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26069         (EXCEPTION_TESTS_double): Likewise.
26070         (EXCEPTION_TESTS_long_double): Likewise.
26071         (EXCEPTION_TESTS): Likewise.
26072         * math/libm-test.inc (test_exceptions): Only test exceptions if
26073         EXCEPTION_TESTS (FLOAT).
26075 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26077         * benchtests/Makefile (string-bench): Add strcpy_chk and
26078         stpcpy_chk.
26079         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26080         * benchtests/bench-stpcpy_chk.c: New file.
26081         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26082         * benchtests/bench-strcpy_chk.c: New file.
26083         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26084         code.
26085         (do_test): Likewise.
26087 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26089         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26090         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26091         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26092         with tabs where appropriate.
26093         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26094         dl-procinfo.h.
26095         [PPC_PLATFORM_PPC440]: Likewise.
26096         [PPC_PLATFORM_PPC464]: Likewise.
26097         [PPC_PLATFORM_PPC476]: Likewise.
26098         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26099         ppc464, and ppc476 platform strings merging from ports/
26100         dl-procinfo.h.
26102 2013-06-11  Andreas Schwab  <schwab@suse.de>
26104         [BZ #14991]
26105         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26106         (from_ucs4_idx): Regenerate.
26107         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26108         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26109         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26110         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26111         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26112         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26113         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26114         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26115         from FROM_LOOP and TO_LOOP specific macros.
26116         (BODY): Handle combining characters.
26117         * iconvdata/BIG5HKSCS.irreversible: Update.
26118         * iconvdata/BIG5HKSCS.precomposed: New file.
26119         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26120         characters.
26121         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26123 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26125         * include/sys/time.h: Fix indentation and add copyright header.
26127         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26128         (do_test): Likewise.
26129         * string/test-memchr.c (do_one_test): Likewise.
26130         (do_test): Likewise.
26131         * string/test-memcmp.c (do_one_test): Likewise.
26132         (do_test): Likewise.
26133         * string/test-memcpy.c (do_one_test): Likewise.
26134         (do_test): Likewise.
26135         * string/test-memmem.c (do_one_test): Likewise.
26136         (do_test): Likewise.
26137         (do_random_tests): Likewise.
26138         * string/test-memmove.c (do_one_test): Likewise.
26139         (do_test): Likewise.
26140         * string/test-memset.c (do_one_test): Likewise.
26141         (do_test): Likewise.
26142         * string/test-rawmemchr.c (do_one_test): Likewise.
26143         (do_test): Likewise.
26144         * string/test-strcasecmp.c (do_one_test): Likewise.
26145         (do_test): Likewise.
26146         * string/test-strcasestr.c (do_one_test): Likewise.
26147         (do_test): Likewise.
26148         * string/test-strcat.c (do_one_test): Likewise.
26149         (do_test): Likewise.
26150         * string/test-strchr.c (do_one_test): Likewise.
26151         (do_test): Likewise.
26152         * string/test-strcmp.c (do_one_test): Likewise.
26153         (do_test): Likewise.
26154         * string/test-strcpy.c (do_one_test): Likewise.
26155         (do_test): Likewise.
26156         * string/test-string.h: Likewise.
26157         (test_init): Likewise.
26158         * string/test-strlen.c (do_one_test): Likewise.
26159         (do_test): Likewise.
26160         * string/test-strncasecmp.c (do_one_test): Likewise.
26161         (do_test): Likewise.
26162         * string/test-strncat.c (do_one_test): Likewise.
26163         (do_test): Likewise.
26164         * string/test-strncmp.c (do_one_test): Likewise.
26165         (do_test_limit): Likewise.
26166         (do_test): Likewise.
26167         * string/test-strncpy.c (do_one_test): Likewise.
26168         (do_test): Likewise.
26169         * string/test-strnlen.c (do_one_test): Likewise.
26170         (do_test): Likewise.
26171         * string/test-strpbrk.c (do_one_test): Likewise.
26172         (do_test): Likewise.
26173         * string/test-strrchr.c (do_one_test): Likewise.
26174         (do_test): Likewise.
26175         * string/test-strspn.c (do_one_test): Likewise.
26176         (do_test): Likewise.
26177         * string/test-strstr.c (do_one_test): Likewise.
26178         (do_test): Likewise.
26180         * benchtests/Makefile (string-bench): Add string benchmarks.
26181         * benchtests/bench-bcopy-ifunc.c: New file.
26182         * benchtests/bench-bcopy.c: New file.
26183         * benchtests/bench-bzero-ifunc.c: New file.
26184         * benchtests/bench-bzero.c: New file.
26185         * benchtests/bench-memccpy-ifunc.c: New file.
26186         * benchtests/bench-memccpy.c: New file.
26187         * benchtests/bench-memchr-ifunc.c: New file.
26188         * benchtests/bench-memchr.c: New file.
26189         * benchtests/bench-memcmp-ifunc.c: New file.
26190         * benchtests/bench-memcmp.c: New file.
26191         * benchtests/bench-memmem-ifunc.c: New file.
26192         * benchtests/bench-memmem.c: New file.
26193         * benchtests/bench-memmove-ifunc.c: New file.
26194         * benchtests/bench-memmove.c: New file.
26195         * benchtests/bench-mempcpy-ifunc.c: New file.
26196         * benchtests/bench-mempcpy.c: New file.
26197         * benchtests/bench-memset-ifunc.c: New file.
26198         * benchtests/bench-memset.c: New file.
26199         * benchtests/bench-rawmemchr-ifunc.c: New file.
26200         * benchtests/bench-rawmemchr.c: New file.
26201         * benchtests/bench-stpcpy-ifunc.c: New file.
26202         * benchtests/bench-stpcpy.c: New file.
26203         * benchtests/bench-stpncpy-ifunc.c: New file.
26204         * benchtests/bench-stpncpy.c: New file.
26205         * benchtests/bench-strcasecmp-ifunc.c: New file.
26206         * benchtests/bench-strcasecmp.c: New file.
26207         * benchtests/bench-strcasestr-ifunc.c: New file.
26208         * benchtests/bench-strcasestr.c: New file.
26209         * benchtests/bench-strcat-ifunc.c: New file.
26210         * benchtests/bench-strcat.c: New file.
26211         * benchtests/bench-strchr-ifunc.c: New file.
26212         * benchtests/bench-strchr.c: New file.
26213         * benchtests/bench-strchrnul-ifunc.c: New file.
26214         * benchtests/bench-strchrnul.c: New file.
26215         * benchtests/bench-strcmp-ifunc.c: New file.
26216         * benchtests/bench-strcmp.c: New file.
26217         * benchtests/bench-strcpy-ifunc.c: New file.
26218         * benchtests/bench-strcpy.c: New file.
26219         * benchtests/bench-strcspn-ifunc.c: New file.
26220         * benchtests/bench-strcspn.c: New file.
26221         * benchtests/bench-strlen-ifunc.c: New file.
26222         * benchtests/bench-strlen.c: New file.
26223         * benchtests/bench-strncasecmp-ifunc.c: New file.
26224         * benchtests/bench-strncasecmp.c: New file.
26225         * benchtests/bench-strncat-ifunc.c: New file.
26226         * benchtests/bench-strncat.c: New file.
26227         * benchtests/bench-strncmp-ifunc.c: New file.
26228         * benchtests/bench-strncmp.c: New file.
26229         * benchtests/bench-strncpy-ifunc.c: New file.
26230         * benchtests/bench-strncpy.c: New file.
26231         * benchtests/bench-strnlen-ifunc.c: New file.
26232         * benchtests/bench-strnlen.c: New file.
26233         * benchtests/bench-strpbrk-ifunc.c: New file.
26234         * benchtests/bench-strpbrk.c: New file.
26235         * benchtests/bench-strrchr-ifunc.c: New file.
26236         * benchtests/bench-strrchr.c: New file.
26237         * benchtests/bench-strspn-ifunc.c: New file.
26238         * benchtests/bench-strspn.c: New file.
26239         * benchtests/bench-strstr-ifunc.c: New file.
26240         * benchtests/bench-strstr.c: New file.
26242         * benchtests/Makefile: Disable parallel execution of targets.
26243         (string-bench): Add memcpy.
26244         (benchset): New variable to store a list of benchmark sets.
26245         (bench-func): Renamed from bench.
26246         (bench-set): New target.
26247         (bench): Depend on bench-func and bench-set.
26248         * benchtests/README: Add section on benchmark sets.
26249         * benchtests/bench-memcpy-ifunc.c: New file.
26250         * benchtests/bench-memcpy.c: New file.
26251         * benchtests/bench-string.h: New file.
26253 2013-06-11  Andreas Schwab  <schwab@suse.de>
26255         [BZ #15577]
26256         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26257         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26258         values in the triple.
26259         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26260         terminator in the group key.
26262 2013-06-11  Andreas Jaeger  <aj@suse.de>
26264         * po/zh_TW.po: Update Chinese (traditional) translation from
26265         translation project.
26267 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26269         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26270         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26271         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26272         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26273         (clock_getcpuclockid): Likewise.
26274         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26275         Add weak_alias and libc_hidden_def.
26276         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26277         * rt/clock_gettime.c (clock_gettime): Rename to
26278         __clock_gettime.  Add weak_alias and libc_hidden_def.
26279         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26280         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26281         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26282         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26283         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26284         Likewise.
26285         * rt/clock_settime.c (clock_settime): Rename to
26286         __clock_settime.  Add weak_alias and libc_hidden_def.
26287         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26289 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26291         * mach/err_boot.sub: Remove trailing whitespace.
26292         * mach/err_ipc.sub: Likewise.
26293         * mach/err_mach.sub: Likewise.
26295         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26296         (ROUNDING_TESTS_double): Likewise.
26297         (ROUNDING_TESTS_long_double): Likewise.
26298         (ROUNDING_TESTS): Likewise.
26299         * math/libm-test.inc: Include <math-tests.h>.
26300         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26301         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26302         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26303         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26305 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26307         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26308         of assigning.
26310 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26312         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26313         otherwise empty TRANS lines.
26314         * sysdeps/gnu/errlist.c: Regenerated.
26316         * catgets/gencat.c (error_print): Use (void) in function
26317         definition.
26318         * crypt/crypt_util.c (__init_des): Likewise.
26319         * crypt/speeds.c (Stop): Likewise.
26320         (main): Likewise.
26321         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26322         * inet/ruserpass.c (token): Likewise.
26323         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26324         * intl/localealias.c (extend_alias_table): Likewise.
26325         * intl/plural-exp.c (init_germanic_plural): Likewise.
26326         * libio/fcloseall.c (__fcloseall): Likewise.
26327         * libio/genops.c (_IO_flush_all): Likewise.
26328         (_IO_flush_all_linebuffered): Likewise.
26329         (_IO_cleanup): Likewise.
26330         (_IO_iter_begin): Likewise.
26331         (_IO_iter_end): Likewise.
26332         (_IO_list_lock): Likewise.
26333         (_IO_list_unlock): Likewise.
26334         (_IO_list_resetlock): Likewise.
26335         * libio/getchar.c (getchar): Likewise.
26336         * libio/getchar_u.c (getchar_unlocked): Likewise.
26337         * libio/getwchar.c (getwchar): Likewise.
26338         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26339         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26340         * login/getpt.c (__getpt): Likewise.
26341         * login/tst-utmp.c (main): Likewise.
26342         * malloc/hooks.c (__malloc_check_init): Likewise.
26343         * malloc/malloc.c (__malloc_stats): Likewise.
26344         * malloc/mtrace.c (tr_break): Likewise.
26345         (mtrace): Likewise.
26346         (muntrace): Likewise.
26347         * misc/fstab.c (endfsent): Likewise.
26348         * misc/getclktck.c (__getclktck): Likewise.
26349         * misc/getdtsz.c (__getdtablesize): Likewise.
26350         * misc/gethostid.c (gethostid): Likewise.
26351         * misc/getpagesize.c (__getpagesize): Likewise.
26352         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26353         (__get_nprocs): Likewise.
26354         (__get_phys_pages): Likewise.
26355         (__get_avphys_pages): Likewise.
26356         * misc/getttyent.c (getttyent): Likewise.
26357         (setttyent): Likewise.
26358         (endttyent): Likewise.
26359         * misc/getusershell.c (getusershell): Likewise.
26360         (endusershell): Likewise.
26361         (setusershell): Likewise.
26362         (initshells): Likewise.
26363         * misc/hsearch.c (__hdestroy): Likewise.
26364         * misc/sync.c (sync): Likewise.
26365         * misc/syslog.c (closelog_internal): Likewise.
26366         (closelog): Likewise.
26367         * misc/ttyslot.c (ttyslot): Likewise.
26368         * misc/vhangup.c (vhangup): Likewise.
26369         * posix/fork.c (__fork): Likewise.
26370         * posix/getegid.c (__getegid): Likewise.
26371         * posix/geteuid.c (__geteuid): Likewise.
26372         * posix/getgid.c (__getgid): Likewise.
26373         * posix/getpid.c (__getpid): Likewise.
26374         * posix/getppid.c (__getppid): Likewise.
26375         * posix/getuid.c (__getuid): Likewise.
26376         * posix/pause.c (pause): Likewise.
26377         * posix/setpgrp.c (setpgrp): Likewise.
26378         * posix/setsid.c (__setsid): Likewise.
26379         * posix/test-vfork.c (noop): Likewise.
26380         * resolv/gethnamaddr.c (_endhtent): Likewise.
26381         (_gethtent): Likewise.
26382         (ht_endhostent): Likewise.
26383         (gethostent): Likewise.
26384         (dns_service): Likewise.
26385         * stdlib/drand48.c (drand48): Likewise.
26386         * stdlib/lrand48.c (lrand48): Likewise.
26387         * stdlib/mrand48.c (mrand48): Likewise.
26388         * stdlib/rand.c (rand): Likewise.
26389         * stdlib/random.c (__random): Likewise.
26390         * stdlib/setenv.c (clearenv): Likewise.
26391         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26392         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26393         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26394         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26395         (__get_nprocs): Likewise.
26396         (__get_phys_pages): Likewise.
26397         (__get_avphys_pages): Likewise.
26398         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26399         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26400         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26401         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26402         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26403         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26404         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26405         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26406         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26407         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26408         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26409         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26410         * sysdeps/posix/clock.c (clock): Likewise.
26411         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26412         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26413         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26414         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26415         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26416         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26417         (__get_nprocs_conf): Likewise.
26418         (__get_phys_pages): Likewise.
26419         (__get_avphys_pages): Likewise.
26420         * time/clock.c (clock): Likewise.
26421         * time/tzset.c (__tzname_max): Likewise.
26423 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26425         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26426         (__bswap_32): Do not use "register".
26427         * crypt/crypt.c (_ufc_doit_r): Likewise.
26428         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26429         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26430         * gmon/gmon.c (__monstartup): Likewise.
26431         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26432         * hurd/hurdmalloc.c (more_memory): Likewise.
26433         (malloc): Likewise.
26434         (free): Likewise.
26435         (realloc): Likewise.
26436         (malloc_fork_prepare): Likewise.
26437         (malloc_fork_parent): Likewise.
26438         (malloc_fork_child): Likewise.
26439         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26440         (_svcauth_des): Likewise.
26441         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26442         * inet/inet_net.c (inet_network): Likewise.
26443         * inet/inet_netof.c (inet_netof): Likewise.
26444         * inet/rcmd.c (__validuser2_sa): Likewise.
26445         * io/fts.c (fts_open): Likewise.
26446         (fts_load): Likewise.
26447         (fts_close): Likewise.
26448         (fts_read): Likewise.
26449         (fts_children): Likewise.
26450         (fts_build): Likewise.
26451         (fts_stat): Likewise.
26452         (fts_sort): Likewise.
26453         (fts_alloc): Likewise.
26454         (fts_lfree): Likewise.
26455         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26456         (_IO_file_xsgetn): Likewise.
26457         (_IO_file_xsgetn_mmap): Likewise.
26458         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26459         (_IO_cookie_write): Likewise.
26460         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26461         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26462         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26463         * malloc/obstack.c (_obstack_begin): Likewise.
26464         (_obstack_begin_1): Likewise.
26465         (_obstack_newchunk): Likewise.
26466         (_obstack_allocated_p): Likewise.
26467         (obstack_free): Likewise.
26468         (_obstack_memory_used): Likewise.
26469         * misc/getttyent.c (getttynam): Likewise.
26470         (getttyent): Likewise.
26471         (skip): Likewise.
26472         (value): Likewise.
26473         * misc/getusershell.c (initshells): Likewise.
26474         * misc/syslog.c (__vsyslog_chk): Likewise.
26475         * misc/ttyslot.c (ttyslot): Likewise.
26476         * nis/nis_hash.c (__nis_hash): Likewise.
26477         * posix/fnmatch_loop.c (FCT): Likewise.
26478         * posix/getconf.c (print_all): Likewise.
26479         (main): Likewise.
26480         * posix/getopt.c (exchange): Likewise.
26481         * posix/glob.c (globfree): Likewise.
26482         (prefix_array): Likewise.
26483         (__glob_pattern_type): Likewise.
26484         * resolv/arpa/nameser.h (NS_GET16): Likewise.
26485         (NS_GET32): Likewise.
26486         (NS_PUT16): Likewise.
26487         (NS_PUT32): Likewise.
26488         * resolv/gethnamaddr.c (getanswer): Likewise.
26489         (gethostbyname2): Likewise.
26490         (gethostbyaddr): Likewise.
26491         (_gethtent): Likewise.
26492         (_gethtbyname2): Likewise.
26493         (_gethtbyaddr): Likewise.
26494         * resolv/ns_print.c (dst_s_get_int16): Likewise.
26495         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26496         * resolv/res_init.c (__res_vinit): Likewise.
26497         (net_mask): Likewise.
26498         * resolv/res_mkquery.c (outchar): Likewise.
26499         (PRINT): Likewise.
26500         * stdio-common/printf_fp.c (outchar): Likewise.
26501         (PRINT): Likewise.
26502         * stdio-common/printf_fphex.c (outchar): Likewise.
26503         (PRINT): Likewise.
26504         * stdio-common/printf_size.c (outchar): Likewise.
26505         (PRINT): Likewise.
26506         * stdio-common/test_rdwr.c (main): Likewise.
26507         * stdio-common/tfformat.c (matches): Likewise.
26508         * stdio-common/vfprintf.c (outchar): Likewise.
26509         (printf_unknown): Likewise.
26510         (buffered_vfprintf): Likewise.
26511         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26512         * stdio-common/xbug.c (AppendToBuffer): Likewise.
26513         (ReadFile): Likewise.
26514         * stdlib/qsort.c (SWAP): Likewise.
26515         (_quicksort): Likewise.
26516         * stdlib/setenv.c (__add_to_environ): Likewise.
26517         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26518         * stdlib/strtol_l.c (__strtol_l): Likewise.
26519         * stdlib/tst-strtod.c (main): Likewise.
26520         * stdlib/tst-strtol.c (main): Likewise.
26521         * stdlib/tst-strtoll.c (main): Likewise.
26522         * string/bits/string2.h (__strcmp_cc): Likewise.
26523         (__strcmp_cg): Likewise.
26524         (__strcspn_c1): Likewise.
26525         (__strcspn_c2): Likewise.
26526         (__strcspn_c3): Likewise.
26527         (__strspn_c1): Likewise.
26528         (__strspn_c2): Likewise.
26529         (__strspn_c3): Likewise.
26530         (__strsep_1c): Likewise.
26531         (__strsep_2c): Likewise.
26532         (__strsep_3c): Likewise.
26533         * string/memccpy.c (__memccpy): Likewise.
26534         * string/stpcpy.c (__stpcpy): Likewise.
26535         * string/strcmp.c (strcmp): Likewise.
26536         * string/strrchr.c (strrchr): Likewise.
26537         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26538         Likewise.
26539         * sysdeps/mach/hurd/getcwd.c
26540         (_hurd_canonicalize_directory_name_internal): Likewise.
26541         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26542         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26543         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26544         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26545         Likewise, in both definitions.
26546         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26547         definitions.
26548         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26549         64] (__bswap_64): Likewise.
26550         * time/test_time.c (main): Likewise.
26551         * time/tzfile.c (__tzfile_read): Likewise.
26552         (__tzfile_compute): Likewise.
26553         * time/tzset.c (__tzset_parse_tz): Likewise.
26554         (tzset_internal): Likewise.
26555         (compute_change): Likewise.
26556         * wcsmbs/wcscat.c (__wcscat): Likewise.
26557         * wcsmbs/wcschr.c (wcschr): Likewise.
26558         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26559         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26560         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26561         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26562         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26563         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26564         * wcsmbs/wmemchr.c (wmemchr): Likewise.
26565         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26566         * wcsmbs/wmemset.c (wmemset): Likewise.
26568 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
26570         * scripts/config.guess: Update to version 2013-05-16.
26571         * scripts/config.sub: Update to version 2013-04-24.
26572         * scripts/install-sh: Update to version 2011-11-20.07.
26573         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26574         * scripts/move-if-change: Update to version 2012-01-06 07:23.
26576 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
26578         * debug/fgetws_u_chk.c: Fix leading whitespaces.
26579         * elf/sln.c: Likewise.
26580         * hurd/hurd/ioctl.h: Likewise.
26581         * hurd/hurdmalloc.c: Likewise.
26582         * hurd/xattr.c: Likewise.
26583         * include/shlib-compat.h: Likewise.
26584         * inet/ruserpass.c: Likewise.
26585         * libio/iofgets_u.c: Likewise.
26586         * libio/iofgetws_u.c: Likewise.
26587         * locale/programs/ld-identification.c: Likewise.
26588         * locale/programs/ld-time.c: Likewise.
26589         * mach/msg-destroy.c: Likewise.
26590         * nss/nss_files/files-netgrp.c: Likewise.
26591         * resolv/res_data.c: Likewise.
26592         * soft-fp/op-1.h: Likewise.
26593         * soft-fp/op-2.h: Likewise.
26594         * soft-fp/op-4.h: Likewise.
26595         * soft-fp/op-common.h: Likewise.
26596         * stdio-common/printf_fphex.c: Likewise.
26597         * stdlib/strtod_l.c: Likewise.
26598         * sunrpc/rpc/clnt.h: Likewise.
26599         * sysdeps/generic/framestate.c: Likewise.
26600         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26601         * sysdeps/i386/bsd-setjmp.S: Likewise.
26602         * sysdeps/i386/__longjmp.S: Likewise.
26603         * sysdeps/i386/setjmp.S: Likewise.
26604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26605         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26606         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26607         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26608         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26609         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26610         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26611         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26612         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26613         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26614         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26615         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26616         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26617         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26618         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26619         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26620         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26621         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26622         * sysdeps/ieee754/support.c: Likewise.
26623         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26624         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26625         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26626         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26627         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26628         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26629         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26630         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26631         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26632         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26633         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26634         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26635         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26636         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26637         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26638         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26639         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26642 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
26644         * posix/transbug.c: Remove executable mode.
26646 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
26648         * crypt/speeds.c: Remove trailing whitespace.
26649         * dlfcn/default.c: Likewise.
26650         * elf/ifuncdep2.c: Likewise.
26651         * elf/ifuncmain1.c: Likewise.
26652         * elf/ifuncmain1vis.c: Likewise.
26653         * elf/testobj.h: Likewise.
26654         * elf/tst-stackguard1.c: Likewise.
26655         * gmon/sys/gmon.h: Likewise.
26656         * hurd/hurdmsg.c: Likewise.
26657         * hurd/new-fd.c: Likewise.
26658         * hurd/ports-get.c: Likewise.
26659         * iconvdata/ibm1008_420.c: Likewise.
26660         * inet/tst-getni1.c: Likewise.
26661         * inet/tst-getni2.c: Likewise.
26662         * libio/ioungetc.c: Likewise.
26663         * libio/wfiledoalloc.c: Likewise.
26664         * manual/libm-err-tab.pl: Likewise.
26665         * math/w_dremf.c: Likewise.
26666         * misc/ftruncate.c: Likewise.
26667         * posix/bug-glob2.c: Likewise.
26668         * posix/tst-pcre.c: Likewise.
26669         * posix/wait4.c: Likewise.
26670         * resolv/README: Likewise.
26671         * resolv/res_debug.h: Likewise.
26672         * resolv/tst-inet_ntop.c: Likewise.
26673         * setjmp/bug269-setjmp.c: Likewise.
26674         * soft-fp/extended.h: Likewise.
26675         * soft-fp/op-1.h: Likewise.
26676         * soft-fp/op-2.h: Likewise.
26677         * soft-fp/op-4.h: Likewise.
26678         * soft-fp/op-8.h: Likewise.
26679         * soft-fp/testit.c: Likewise.
26680         * stdio-common/bug16.c: Likewise.
26681         * stdlib/random.c: Likewise.
26682         * sunrpc/rpcsvc/rquota.x: Likewise.
26683         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26684         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26685         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26686         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26687         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26688         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26689         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26690         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26691         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26692         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26693         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26694         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26695         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26696         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26697         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26698         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26699         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26700         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26701         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26702         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26704         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26705         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26706         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26707         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26708         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26709         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26710         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26711         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26712         * sysdeps/ieee754/s_lib_version.c: Likewise.
26713         * sysdeps/mach/hurd/check_fds.c: Likewise.
26714         * sysdeps/mach/hurd/getsockname.c: Likewise.
26715         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26716         * sysdeps/mach/hurd/recvfrom.c: Likewise.
26717         * sysdeps/powerpc/bits/link.h: Likewise.
26718         * sysdeps/powerpc/dl-procinfo.c: Likewise.
26719         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26720         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26721         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26722         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26723         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26724         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26725         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26726         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26727         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26728         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26729         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26730         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26731         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26732         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26733         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26734         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26735         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26736         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26737         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26738         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26739         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26741         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26742         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26743         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26744         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26745         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26746         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26747         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26748         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26749         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26750         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26751         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26752         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26753         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26754         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26755         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26756         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26757         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26758         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26759         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26760         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26761         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26762         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26763         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26764         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26765         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26766         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26767         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26770         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26771         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26772         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26773         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26774         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26775         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26776         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26777         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26778         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26779         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26780         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26781         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26782         * sysdeps/powerpc/sysdep.h: Likewise.
26783         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26784         * sysdeps/s390/s390-64/sub_n.S: Likewise.
26785         * sysdeps/sh/dl-trampoline.S: Likewise.
26786         * sysdeps/sh/memset.S: Likewise.
26787         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26788         * sysdeps/sh/strlen.S: Likewise.
26789         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26790         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26791         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26792         * sysdeps/sparc/sparc32/rem.S: Likewise.
26793         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26794         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26795         * sysdeps/sparc/sparc32/strchr.S: Likewise.
26796         * sysdeps/sparc/sparc32/udiv.S: Likewise.
26797         * sysdeps/sparc/sparc32/urem.S: Likewise.
26798         * sysdeps/sparc/sparc64/add_n.S: Likewise.
26799         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26800         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26801         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26802         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26803         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26804         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26805         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26806         * sysdeps/unix/bsd/times.c: Likewise.
26807         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26808         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26812         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26813         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26814         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26815         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26816         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26817         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26818         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26819         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26820         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26821         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26822         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26823         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26824         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26825         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26826         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26827         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26828         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26829         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26830         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26831         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26832         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26833         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26834         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26835         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26836         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26837         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26838         * sysdeps/x86_64/strcspn.S: Likewise.
26840 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26842         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26843         generated file.  Regenerate properly from gen-translit.pl.
26844         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26845         locale/C-translit.h.
26847 2013-06-05  Andreas Schwab  <schwab@suse.de>
26849         [BZ #15100]
26850         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26851         week as 6 instead of -1.
26852         * time/tst-strptime.c (day_tests): Add test case.
26854 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26856         * sysdeps/generic/math_private.h
26857         (libc_feholdexcept_setround_53bit): Replace with
26858         libc_feholdsetround_53bit.
26859         (libc_feupdateenv_53bit): Replace with
26860         libc_feresetround_53bit.
26861         (SET_RESTORE_ROUND_53BIT): Adjust.
26863 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26865         * string/test-strchrnul.c: Add copyright header.
26867         * posix/tst-getaddrinfo4.c: Increase test timeout.
26869 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26871         [BZ #15536]
26872         * math/libm-test.inc (MAX_EXP): Remove
26873         (MIN_EXP): Define.
26874         (ulp): Use MIN_EXP - MANT_DIG.
26875         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26877 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26879         * po/be.po: Revert last change.
26880         * po/zh_CN.po: Likewise.
26881         * po/header.pot: Likewise.
26883 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26885         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26886         link-libc-deps to empty as target-specific variable.
26887         * Makerules (link-libc-args): New variable.
26888         (libc-for-link): Likewise.
26889         (link-libc-deps): Likewise.
26890         (lib%.so): Depend on $(link-libc-deps).  Link with
26891         $(link-libc-args).
26892         (build-module): Link with $(link-libc-args).
26893         (build-module-asneeded): Likewise.
26894         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26895         list of objects.
26896         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26897         target-specific variable.
26898         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26899         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26900         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26901         libc.
26902         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26903         libc and ld.so.
26904         ($(objpfx)libpcprofile.so): Likewise.
26905         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26906         libc_nonshared.a.
26907         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26908         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26909         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26910         $(link-libc-deps).
26911         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26912         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26913         * login/Makefile ($(objpfx)libutil.so): Likewise.
26914         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26915         * math/Makefile ($(objpfx)libm.so): Likewise.
26916         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26917         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26918         variable instead of depending directly on libc.
26919         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26920         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26921         $(link-libc-deps).
26922         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26923         libc.
26924         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26925         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26926         ($(objpfx)libanl.so): Likewise.
26927         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26928         ld.so.
26929         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26930         $(link-libc-deps).
26931         * sysdeps/i386/fpu/Makefile: Remove file.
26932         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26933         ($(objpfx)libm.so): Remove dependency on ld.so.
26935 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26937         [BZ # 15553]
26938         * nis/yp_xdr.c (XDRMAXNAME): Define.
26939         (XDRMAXRECORD): Define.
26940         (xdr_domainname): Use XDRMAXNAME.
26941         (xdr_mapname): Likewise.
26942         (xdr_peername): Likewise.
26943         (xdr_keydat): Use XDRMAXRECORD.
26944         (xdr_valdat): Likewise.
26946 2013-05-30  Jeff Law  <law@redhat.com>
26948         [BZ #14256]
26949         * manual/errno.texi (ESTALE): Update to account for more than
26950         just NFS file systems.
26951         * sysdeps/gnu/errlist.c: Regenerated.
26953 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26955         [BZ #15465]
26956         * elf/Makefile (tests): Add tst-null-argv.
26957         (modules-names):  Add tst-null-argv-lib.
26958         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26959         (tst-null-argv-ENV): Set environment for tst-null-argv.
26960         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26961         (RTLD_PROGNAME): New macro.
26962         * elf/tst-null-argv.c: New test case.
26963         * elf/tst-null-argv-lib.c: Library for test case.
26964         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26965         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26966         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26967         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26968         * elf/dl-init.c (call_init): Likewise.
26969         (_dl_init): Likewise.
26970         * elf/dl-load.c (print_search_path): Likewise.
26971         (_dl_map_object): Likewise.
26972         * elf/dl-lookup.c (do_lookup_x): Likewise.
26973         (add_dependency): Likewise.
26974         (_dl_lookup_symbol_x): Likewise.
26975         (_dl_debug_bindings): Likewise.
26976         * elf/dl-open.c (_dl_show_scope): Likewise.
26977         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26978         * elf/dl-version.c (match_symbol): Likewise.
26979         (_dl_check_map_versions): Likewise.
26980         * elf/rtld.c (dl_main): Likewise.
26981         (print_unresolved): Use RTLD_PROGNAME.
26982         (print_missing_version): Likewise.
26983         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26984         (elf_machine_rela): Likewise.
26985         * sysdeps/powerpc/powerpc32/dl-machine.c
26986         (__process_machine_rela): Likewise.
26987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26988         Likewise.
26989         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26990         Likewise.
26991         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26992         Likewise.
26993         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26994         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26995         Likewise.
26996         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26997         Likewise.
26998         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27000 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27002         * po/be.po: Add descriptive title.
27003         * po/zh_CN.po: Likewise.
27004         * po/header.pot: Likewise.
27006 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27008         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27009         error message.
27010         (enlarge_archive): Likewise.
27012 2013-05-28  Ben North  <ben@redfrontdoor.org>
27014         * manual/arith.texi (frexp): It is the magnitude of the return
27015         value which lies in [0.5, 1), not the return value itself.
27017 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27021 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27023         * stdio-common/bug26.c (main): Correct fscanf template.
27025         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27026         declare _dl_skip_args.
27028         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27029         Don't declare.
27031         * manual/platform.texi: Add missing @end deftypefun.
27033 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27035         [BZ #15529]
27036         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27037         bit of mantissa of 2^16382.
27038         * math/libm-test.inc (hypot_test_data): Add more tests.
27040         * math/libm-test.inc: Add drem and pow10 to list of tested
27041         functions.
27042         (pow10_test): New function.
27043         (drem_test): Likewise.
27044         (drem_test_tonearest): Likewise.
27045         (drem_test_towardzero): Likewise.
27046         (drem_test_downward): Likewise.
27047         (drem_test_upward): Likewise.
27048         (main): Call the new functions.
27050         * math/libm-test.inc (finite_test_data): Remove.
27051         (finite_test): Run tests from isfinite_test_data.
27052         (gamma_test_data): Remove.
27053         (gamma_test): Run tests from lgamma_test_data.
27054         * sysdeps/i386/fpu/libm-test-ulps: Update.
27055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27057 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27059         * manual/platform.texi: Add PowerPC PPR function set documentation.
27060         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27061         implementation.
27063 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27065         * math/libm-test.inc (MAX_EXP): Define.
27066         (ULPDIFF): Define.
27067         (ulp): New function.
27068         (check_float_internal): Use ULPDIFF.
27069         (cpow_test): Disable failing test.
27070         (check_ulp): Test ulp() implemetnation.
27071         (main): Call check_ulp before starting tests.
27073 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27075         * math/gen-libm-test.pl (generate_testfile): Do not handle
27076         START_DATA and END_DATA.
27077         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27078         END_DATA.
27079         (acos_tonearest_test_data): Likewise.
27080         (acos_towardzero_test_data): Likewise.
27081         (acos_downward_test_data): Likewise.
27082         (acos_upward_test_data): Likewise.
27083         (acosh_test_data): Likewise.
27084         (asin_test_data): Likewise.
27085         (asin_tonearest_test_data): Likewise.
27086         (asin_towardzero_test_data): Likewise.
27087         (asin_downward_test_data): Likewise.
27088         (asin_upward_test_data): Likewise.
27089         (asinh_test_data): Likewise.
27090         (atan_test_data): Likewise.
27091         (atanh_test_data): Likewise.
27092         (atan2_test_data): Likewise.
27093         (cabs_test_data): Likewise.
27094         (cacos_test_data): Likewise.
27095         (cacosh_test_data): Likewise.
27096         (carg_test_data): Likewise.
27097         (casin_test_data): Likewise.
27098         (casinh_test_data): Likewise.
27099         (catan_test_data): Likewise.
27100         (catanh_test_data): Likewise.
27101         (cbrt_test_data): Likewise.
27102         (ccos_test_data): Likewise.
27103         (ccosh_test_data): Likewise.
27104         (ceil_test_data): Likewise.
27105         (cexp_test_data): Likewise.
27106         (cimag_test_data): Likewise.
27107         (clog_test_data): Likewise.
27108         (clog10_test_data): Likewise.
27109         (conj_test_data): Likewise.
27110         (copysign_test_data): Likewise.
27111         (cos_test_data): Likewise.
27112         (cos_tonearest_test_data): Likewise.
27113         (cos_towardzero_test_data): Likewise.
27114         (cos_downward_test_data): Likewise.
27115         (cos_upward_test_data): Likewise.
27116         (cosh_test_data): Likewise.
27117         (cosh_tonearest_test_data): Likewise.
27118         (cosh_towardzero_test_data): Likewise.
27119         (cosh_downward_test_data): Likewise.
27120         (cosh_upward_test_data): Likewise.
27121         (cpow_test_data): Likewise.
27122         (cproj_test_data): Likewise.
27123         (creal_test_data): Likewise.
27124         (csin_test_data): Likewise.
27125         (csinh_test_data): Likewise.
27126         (csqrt_test_data): Likewise.
27127         (ctan_test_data): Likewise.
27128         (ctan_tonearest_test_data): Likewise.
27129         (ctan_towardzero_test_data): Likewise.
27130         (ctan_downward_test_data): Likewise.
27131         (ctan_upward_test_data): Likewise.
27132         (ctanh_test_data): Likewise.
27133         (ctanh_tonearest_test_data): Likewise.
27134         (ctanh_towardzero_test_data): Likewise.
27135         (ctanh_downward_test_data): Likewise.
27136         (ctanh_upward_test_data): Likewise.
27137         (erf_test_data): Likewise.
27138         (erfc_test_data): Likewise.
27139         (exp_test_data): Likewise.
27140         (exp_tonearest_test_data): Likewise.
27141         (exp_towardzero_test_data): Likewise.
27142         (exp_downward_test_data): Likewise.
27143         (exp_upward_test_data): Likewise.
27144         (exp10_test_data): Likewise.
27145         (exp2_test_data): Likewise.
27146         (expm1_test_data): Likewise.
27147         (fabs_test_data): Likewise.
27148         (fdim_test_data): Likewise.
27149         (finite_test_data): Likewise.
27150         (floor_test_data): Likewise.
27151         (fma_test_data): Likewise.
27152         (fma_towardzero_test_data): Likewise.
27153         (fma_downward_test_data): Likewise.
27154         (fma_upward_test_data): Likewise.
27155         (fmax_test_data): Likewise.
27156         (fmin_test_data): Likewise.
27157         (fmod_test_data): Likewise.
27158         (fpclassify_test_data): Likewise.
27159         (frexp_test_data): Likewise.
27160         (gamma_test_data): Likewise.
27161         (hypot_test_data): Likewise.
27162         (ilogb_test_data): Likewise.
27163         (isfinite_test_data): Likewise.
27164         (isgreater_test_data): Likewise.
27165         (isgreaterequal_test_data): Likewise.
27166         (isinf_test_data): Likewise.
27167         (isless_test_data): Likewise.
27168         (islessequal_test_data): Likewise.
27169         (islessgreater_test_data): Likewise.
27170         (isnan_test_data): Likewise.
27171         (isnormal_test_data): Likewise.
27172         (issignaling_test_data): Likewise.
27173         (isunordered_test_data): Likewise.
27174         (j0_test_data): Likewise.
27175         (j1_test_data): Likewise.
27176         (jn_test_data): Likewise.
27177         (ldexp_test_data): Likewise.
27178         (lgamma_test_data): Likewise.
27179         (lrint_test_data): Likewise.
27180         (lrint_tonearest_test_data): Likewise.
27181         (lrint_towardzero_test_data): Likewise.
27182         (lrint_downward_test_data): Likewise.
27183         (lrint_upward_test_data): Likewise.
27184         (llrint_test_data): Likewise.
27185         (llrint_tonearest_test_data): Likewise.
27186         (llrint_towardzero_test_data): Likewise.
27187         (llrint_downward_test_data): Likewise.
27188         (llrint_upward_test_data): Likewise.
27189         (log_test_data): Likewise.
27190         (log10_test_data): Likewise.
27191         (log1p_test_data): Likewise.
27192         (log2_test_data): Likewise.
27193         (logb_test_data): Likewise.
27194         (logb_downward_test_data): Likewise.
27195         (lround_test_data): Likewise.
27196         (llround_test_data): Likewise.
27197         (modf_test_data): Likewise.
27198         (nearbyint_test_data): Likewise.
27199         (nextafter_test_data): Likewise.
27200         (nexttoward_test_data): Likewise.
27201         (pow_test_data): Likewise.
27202         (pow_tonearest_test_data): Likewise.
27203         (pow_towardzero_test_data): Likewise.
27204         (pow_downward_test_data): Likewise.
27205         (pow_upward_test_data): Likewise.
27206         (remainder_test_data): Likewise.
27207         (remainder_tonearest_test_data): Likewise.
27208         (remainder_towardzero_test_data): Likewise.
27209         (remainder_downward_test_data): Likewise.
27210         (remainder_upward_test_data): Likewise.
27211         (remquo_test_data): Likewise.
27212         (rint_test_data): Likewise.
27213         (rint_tonearest_test_data): Likewise.
27214         (rint_towardzero_test_data): Likewise.
27215         (rint_downward_test_data): Likewise.
27216         (rint_upward_test_data): Likewise.
27217         (round_test_data): Likewise.
27218         (scalb_test_data): Likewise.
27219         (scalbn_test_data): Likewise.
27220         (scalbln_test_data): Likewise.
27221         (signbit_test_data): Likewise.
27222         (sin_test_data): Likewise.
27223         (sin_tonearest_test_data): Likewise.
27224         (sin_towardzero_test_data): Likewise.
27225         (sin_downward_test_data): Likewise.
27226         (sin_upward_test_data): Likewise.
27227         (sincos_test_data): Likewise.
27228         (sinh_test_data): Likewise.
27229         (sinh_tonearest_test_data): Likewise.
27230         (sinh_towardzero_test_data): Likewise.
27231         (sinh_downward_test_data): Likewise.
27232         (sinh_upward_test_data): Likewise.
27233         (sqrt_test_data): Likewise.
27234         (tan_test_data): Likewise.
27235         (tan_tonearest_test_data): Likewise.
27236         (tan_towardzero_test_data): Likewise.
27237         (tan_downward_test_data): Likewise.
27238         (tan_upward_test_data): Likewise.
27239         (tanh_test_data): Likewise.
27240         (tgamma_test_data): Likewise.
27241         (trunc_test_data): Likewise.
27242         (y0_test_data): Likewise.
27243         (y1_test_data): Likewise.
27244         (yn_test_data): Likewise.
27245         (significand_test_data): Likewise.
27247         * math/gen-libm-test.pl (@functions): Remove variable.
27248         (generate_testfile): Don't handle START and END lines.
27249         * math/libm-test.inc (START): New macro.
27250         (END): Likewise.
27251         (END_COMPLEX): Likewise.
27252         (acos_test): Use END macro without arguments.
27253         (acos_test_tonearest): Likewise.
27254         (acos_test_towardzero): Likewise.
27255         (acos_test_downward): Likewise.
27256         (acos_test_upward): Likewise.
27257         (acosh_test): Likewise.
27258         (asin_test): Likewise.
27259         (asin_test_tonearest): Likewise.
27260         (asin_test_towardzero): Likewise.
27261         (asin_test_downward): Likewise.
27262         (asin_test_upward): Likewise.
27263         (asinh_test): Likewise.
27264         (atan_test): Likewise.
27265         (atanh_test): Likewise.
27266         (atan2_test): Likewise.
27267         (cabs_test): Likewise.
27268         (cacos_test): Use END_COMPLEX macro without arguments.
27269         (cacosh_test): Likewise.
27270         (carg_test): Use END macro without arguments.
27271         (casin_test): Use END_COMPLEX macro without arguments.
27272         (casinh_test): Likewise.
27273         (catan_test): Likewise.
27274         (catanh_test): Likewise.
27275         (cbrt_test): Use END macro without arguments.
27276         (ccos_test): Use END_COMPLEX macro without arguments.
27277         (ccosh_test): Likewise.
27278         (ceil_test): Use END macro without arguments.
27279         (cexp_test): Use END_COMPLEX macro without arguments.
27280         (cimag_test): Use END macro without arguments.
27281         (clog_test): Use END_COMPLEX macro without arguments.
27282         (clog10_test): Likewise.
27283         (conj_test): Likewise.
27284         (copysign_test): Use END macro without arguments.
27285         (cos_test): Likewise.
27286         (cos_test_tonearest): Likewise.
27287         (cos_test_towardzero): Likewise.
27288         (cos_test_downward): Likewise.
27289         (cos_test_upward): Likewise.
27290         (cosh_test): Likewise.
27291         (cosh_test_tonearest): Likewise.
27292         (cosh_test_towardzero): Likewise.
27293         (cosh_test_downward): Likewise.
27294         (cosh_test_upward): Likewise.
27295         (cpow_test): Use END_COMPLEX macro without arguments.
27296         (cproj_test): Likewise.
27297         (creal_test): Use END macro without arguments.
27298         (csin_test): Use END_COMPLEX macro without arguments.
27299         (csinh_test): Likewise.
27300         (csqrt_test): Likewise.
27301         (ctan_test): Likewise.
27302         (ctan_test_tonearest): Likewise.
27303         (ctan_test_towardzero): Likewise.
27304         (ctan_test_downward): Likewise.
27305         (ctan_test_upward): Likewise.
27306         (ctanh_test): Likewise.
27307         (ctanh_test_tonearest): Likewise.
27308         (ctanh_test_towardzero): Likewise.
27309         (ctanh_test_downward): Likewise.
27310         (ctanh_test_upward): Likewise.
27311         (erf_test): Use END macro without arguments.
27312         (erfc_test): Likewise.
27313         (exp_test): Likewise.
27314         (exp_test_tonearest): Likewise.
27315         (exp_test_towardzero): Likewise.
27316         (exp_test_downward): Likewise.
27317         (exp_test_upward): Likewise.
27318         (exp10_test): Likewise.
27319         (exp2_test): Likewise.
27320         (expm1_test): Likewise.
27321         (fabs_test): Likewise.
27322         (fdim_test): Likewise.
27323         (finite_test): Likewise.
27324         (floor_test): Likewise.
27325         (fma_test): Likewise.
27326         (fma_test_towardzero): Likewise.
27327         (fma_test_downward): Likewise.
27328         (fma_test_upward): Likewise.
27329         (fmax_test): Likewise.
27330         (fmin_test): Likewise.
27331         (fmod_test): Likewise.
27332         (fpclassify_test): Likewise.
27333         (frexp_test): Likewise.
27334         (gamma_test): Likewise.
27335         (hypot_test): Likewise.
27336         (ilogb_test): Likewise.
27337         (isfinite_test): Likewise.
27338         (isgreater_test): Likewise.
27339         (isgreaterequal_test): Likewise.
27340         (isinf_test): Likewise.
27341         (isless_test): Likewise.
27342         (islessequal_test): Likewise.
27343         (islessgreater_test): Likewise.
27344         (isnan_test): Likewise.
27345         (isnormal_test): Likewise.
27346         (issignaling_test): Likewise.
27347         (isunordered_test): Likewise.
27348         (j0_test): Likewise.
27349         (j1_test): Likewise.
27350         (jn_test): Likewise.
27351         (ldexp_test): Likewise.
27352         (lgamma_test): Likewise.
27353         (lrint_test): Likewise.
27354         (lrint_test_tonearest): Likewise.
27355         (lrint_test_towardzero): Likewise.
27356         (lrint_test_downward): Likewise.
27357         (lrint_test_upward): Likewise.
27358         (llrint_test): Likewise.
27359         (llrint_test_tonearest): Likewise.
27360         (llrint_test_towardzero): Likewise.
27361         (llrint_test_downward): Likewise.
27362         (llrint_test_upward): Likewise.
27363         (log_test): Likewise.
27364         (log10_test): Likewise.
27365         (log1p_test): Likewise.
27366         (log2_test): Likewise.
27367         (logb_test): Likewise.
27368         (logb_test_downward): Likewise.
27369         (lround_test): Likewise.
27370         (llround_test): Likewise.
27371         (modf_test): Likewise.
27372         (nearbyint_test): Likewise.
27373         (nextafter_test): Likewise.
27374         (nexttoward_test): Likewise.
27375         (pow_test): Likewise.
27376         (pow_test_tonearest): Likewise.
27377         (pow_test_towardzero): Likewise.
27378         (pow_test_downward): Likewise.
27379         (pow_test_upward): Likewise.
27380         (remainder_test): Likewise.
27381         (remainder_test_tonearest): Likewise.
27382         (remainder_test_towardzero): Likewise.
27383         (remainder_test_downward): Likewise.
27384         (remainder_test_upward): Likewise.
27385         (remquo_test): Likewise.
27386         (rint_test): Likewise.
27387         (rint_test_tonearest): Likewise.
27388         (rint_test_towardzero): Likewise.
27389         (rint_test_downward): Likewise.
27390         (rint_test_upward): Likewise.
27391         (round_test): Likewise.
27392         (scalb_test): Likewise.
27393         (scalbn_test): Likewise.
27394         (scalbln_test): Likewise.
27395         (signbit_test): Likewise.
27396         (sin_test): Likewise.
27397         (sin_test_tonearest): Likewise.
27398         (sin_test_towardzero): Likewise.
27399         (sin_test_downward): Likewise.
27400         (sin_test_upward): Likewise.
27401         (sincos_test): Likewise.
27402         (sinh_test): Likewise.
27403         (sinh_test_tonearest): Likewise.
27404         (sinh_test_towardzero): Likewise.
27405         (sinh_test_downward): Likewise.
27406         (sinh_test_upward): Likewise.
27407         (sqrt_test): Likewise.
27408         (tan_test): Likewise.
27409         (tan_test_tonearest): Likewise.
27410         (tan_test_towardzero): Likewise.
27411         (tan_test_downward): Likewise.
27412         (tan_test_upward): Likewise.
27413         (tanh_test): Likewise.
27414         (tgamma_test): Likewise.
27415         (trunc_test): Likewise.
27416         (y0_test): Likewise.
27417         (y1_test): Likewise.
27418         (yn_test): Likewise.
27419         (significand_test): Likewise.
27421 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27423         [BZ #15381]
27424         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27426 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27428         [BZ #14894]
27429         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27430         __ppc_mdoio and __ppc_mdoom.
27431         * manual/platform.texi: Document new functions __ppc_yield,
27432         __ppc_mdoio and __ppc_mdoom.
27434 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27436         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27437         (main): Mention "tls" pseudo-hwcap is legacy.
27438         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27440 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27442         * math/gen-libm-test.pl (parse_args): Output only string of
27443         arguments as text for test name, not full call or descriptions of
27444         tests for extra outputs.
27445         (generate_testfile): Do not pass function name to parse_args.
27446         Generate this_func variable from START.
27447         * math/libm-test.inc (struct test_f_f_data): Rename test_name
27448         field to arg_str.
27449         (struct test_ff_f_data): Likewise.
27450         (test_ff_f_data_nexttoward): Likewise.
27451         (struct test_fi_f_data): Likewise.
27452         (struct test_fl_f_data): Likewise.
27453         (struct test_if_f_data): Likewise.
27454         (struct test_fff_f_data): Likewise.
27455         (struct test_c_f_data): Likewise.
27456         (struct test_f_f1_data): Likewise.  Remove field extra_name.
27457         (struct test_fF_f1_data): Likewise.
27458         (struct test_ffI_f1_data): Likewise.
27459         (struct test_c_c_data): Rename test_name field to arg_str.
27460         (struct test_cc_c_data): Likewise.
27461         (struct test_f_i_data): Likewise.
27462         (struct test_ff_i_data): Likewise.
27463         (struct test_f_l_data): Likewise.
27464         (struct test_f_L_data): Likewise.
27465         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
27466         and extra2_name.
27467         (COMMON_TEST_SETUP): New macro.
27468         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27469         (COMMON_TEST_CLEANUP): Likewise.
27470         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27471         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
27472         macros.
27473         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27474         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
27475         macros.
27476         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27477         (RUN_TEST_fff_f): Take argument string.  Call new setup and
27478         cleanup macros.
27479         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27480         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
27481         macros.
27482         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27483         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
27484         macros.
27485         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27486         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
27487         cleanup macros.
27488         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27489         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
27490         cleanup macros.
27491         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27492         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
27493         cleanup macros.
27494         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27495         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
27496         macros.
27497         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27498         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
27499         macros.
27500         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27501         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
27502         macros.
27503         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27504         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
27505         cleanup macros.
27506         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27507         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
27508         cleanup macros.
27509         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27510         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
27511         macros.
27512         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27513         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
27514         cleanup macros.
27515         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27516         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
27517         macros.
27518         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27519         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
27520         macros.
27521         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27522         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
27523         cleanup macros.
27524         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27526 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
27528         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27529         to _sifields.sigfault.
27530         (si_addr_lsb): Define new macro.
27531         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27532         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27533         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27535 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
27537         [BZ #15441]
27538         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27539         returns -1.
27540         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27541         null return -1.
27542         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27543         loading the domain.
27545 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27547         * math/gen-libm-test.pl (parse_args): Do not include expected
27548         result in test name.
27549         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27550         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27551         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27552         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27553         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27556 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27558         * benchtests/Makefile: Sort function entries.
27560         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27561         tanh, asinh, acosh, atanh.
27562         * benchtests/acos-inputs: New file.
27563         * benchtests/acosh-inputs: New file.
27564         * benchtests/asin-inputs: New file.
27565         * benchtests/asinh-inputs: New file.
27566         * benchtests/atanh-inputs: New file.
27567         * benchtests/cosh-inputs: New file.
27568         * benchtests/log-inputs: New file.
27569         * benchtests/sinh-inputs: New file.
27570         * benchtests/tanh-inputs: New file.
27572 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
27574         [BZ #15339]
27575         * posix/tst-getaddrinfo4.c: New test.
27576         * posix/Makefile (tests): Add it.
27578 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27580         [BZ #15339]
27581         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27582         when no services were used.
27583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27584         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27586 2013-05-21  Andreas Schwab  <schwab@suse.de>
27588         [BZ #15014]
27589         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27590         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27591         successful.
27592         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27593         redundant variable declarations and reallocation of buffer when
27594         parsing as IPv6 address.  Always set NSS status when called from
27595         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
27596         buffer too small.  Correct computation of needed size.
27597         * nss/Makefile (tests): Add test-digits-dots.
27598         * nss/test-digits-dots.c: New test.
27600 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27602         * benchtests/Makefile: Remove instructions for adding
27603         benchmark tests.
27604         * benchtests/README: New file to explain how to execute and
27605         enhance the benchmark tests.
27607 2013-05-21  Andreas Schwab  <schwab@suse.de>
27609         [BZ #15493]
27610         * setjmp/Makefile (tests): Add tst-sigsetjmp.
27611         * setjmp/tst-sigsetjmp.c: New test.
27613 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27615         * sysdeps/x86_64/memset.S (memset): New implementation.
27616         (__bzero): Likewise.
27617         (__memset_tail): New function.
27619 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27621         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27622         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27623         __memcpy_sse2_unaligned ifunc selection.
27624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27625         Add memcpy-sse2-unaligned.S.
27626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27627         Add: __memcpy_sse2_unaligned.
27629 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
27631         [BZ #15490]
27632         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27633         math_force_eval before restoring floating-point envrionment.
27634         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27636         Likewise.
27637         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27638         <math_private.h>.
27639         (__nearbyintl): Use math_force_eval before restoring
27640         floating-point environment.
27641         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27643         * math/gen-libm-test.pl (special_functions): Remove.
27644         (parse_args): Don't handle TEST_extra.  Handle functions with no
27645         return value.
27646         * math/libm-test.inc (struct test_sincos_data): Replace with
27647         struct test_fFF_11_data.
27648         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27649         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27650         (sincos_test_data): Change element type to struct
27651         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
27652         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27653         RUN_TEST_LOOP_sincos.
27654         * math/README.libm-test: Don't mention special handling of
27655         individual functions.
27656         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27657         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27658         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27659         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27660         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27663         * math/gen-libm-test.pl (get_variable): Remove function.
27664         (parse_args): Don't show pointer parameters to call in test
27665         names.  Use "extra output N" in test names for extra outputs
27666         rather than naming variables.
27668 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
27670         [BZ #15488]
27671         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27672         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27673         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27674         double tests.
27675         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27676         disable.
27677         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27678         check_long_double.
27680         * math/gen-libm-test.pl (@tests): Remove variable.
27681         ($count): Likewise.
27682         (new_test): Remove function.
27683         (show_exceptions): New function.
27684         (special_functions): Use show_exceptions instead of new_test.
27685         (parse_args): Likewise.
27686         (generate_testfile): Pass only function name in generated call to
27687         print_max_error or print_complex_max_error.
27688         (get_ulps): Do not handle complex tests specially.
27689         (output_test): Rename to ...
27690         (get_all_ulps_for_test): ... this.  Return a string rather than
27691         printing to a file.  Require ulps to be present.
27692         (output_ulps): Generate arrays rather than #defines.
27693         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27694         (struct ulp_data): New type.
27695         (BUILD_COMPLEX_ULP): Remove macro.
27696         (compare_ulp_data): New function.
27697         (find_ulps): Likewise.
27698         (find_test_ulps): Likewise.
27699         (find_function_ulps): Likewise.
27700         (find_complex_function_ulps): Likewise.
27701         (print_max_error): Determine allowed ulps using
27702         find_function_ulps.
27703         (print_complex_max_error): Determine allowed ulps using
27704         find_complex_function_ulps.
27705         (check_float_internal): Determine max ulps using find_test_ulps.
27706         (check_float): Do not take max_ulp parameter.  Update call to
27707         check_float_internal.
27708         (check_complex): Likewise.
27709         (check_int): Do not take max_ulp parameter.
27710         (check_long): Likewise.
27711         (check_bool): Likewise.
27712         (check_longlong): Likewise.
27713         (struct test_f_f_data): Remove max_ulp field.
27714         (struct test_ff_f_data): Likewise.
27715         (struct test_ff_f_data_nexttoward): Likewise.
27716         (struct test_fi_f_data): Likewise.
27717         (struct test_fl_f_data): Likewise.
27718         (struct test_if_f_data): Likewise.
27719         (struct test_fff_f_data): Likewise.
27720         (struct test_c_f_data): Likewise.
27721         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27722         (struct test_fF_f1_data): Likewise.
27723         (struct test_ffI_f1_data): Likewise.
27724         (struct test_c_c_data): Remove max_ulp field.
27725         (struct test_cc_c_data): Likewise.
27726         (struct test_f_i_data): Likewise.
27727         (struct test_ff_i_data): Likewise.
27728         (struct test_f_l_data): Likewise.
27729         (struct test_f_L_data): Likewise.
27730         (struct test_sincos_data): Likewise.
27731         (RUN_TEST_f_f): Do not handle ulps.
27732         (RUN_TEST_LOOP_f_f): Likewise.
27733         (RUN_TEST_2_f): Likewise.
27734         (RUN_TEST_LOOP_2_f): Likewise.
27735         (RUN_TEST_fff_f): Likewise.
27736         (RUN_TEST_LOOP_fff_f): Likewise.
27737         (RUN_TEST_c_f): Likewise.
27738         (RUN_TEST_LOOP_c_f): Likewise.
27739         (RUN_TEST_f_f1): Likewise.
27740         (RUN_TEST_LOOP_f_f1): Likewise.
27741         (RUN_TEST_fF_f1): Likewise.
27742         (RUN_TEST_LOOP_fF_f1): Likewise.
27743         (RUN_TEST_fI_f1): Likewise.
27744         (RUN_TEST_LOOP_fI_f1): Likewise.
27745         (RUN_TEST_ffI_f1): Likewise.
27746         (RUN_TEST_LOOP_ffI_f1): Likewise.
27747         (RUN_TEST_c_c): Likewise.
27748         (RUN_TEST_LOOP_c_c): Likewise.
27749         (RUN_TEST_cc_c): Likewise.
27750         (RUN_TEST_LOOP_cc_c): Likewise.
27751         (RUN_TEST_f_i): Likewise.
27752         (RUN_TEST_LOOP_f_i): Likewise.
27753         (RUN_TEST_f_i_tg): Likewise.
27754         (RUN_TEST_LOOP_f_i_tg): Likewise.
27755         (RUN_TEST_ff_i_tg): Likewise.
27756         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27757         (RUN_TEST_f_b): Likewise.
27758         (RUN_TEST_LOOP_f_b): Likewise.
27759         (RUN_TEST_f_b_tg): Likewise.
27760         (RUN_TEST_LOOP_f_b_tg): Likewise.
27761         (RUN_TEST_f_l): Likewise.
27762         (RUN_TEST_LOOP_f_l): Likewise.
27763         (RUN_TEST_f_L): Likewise.
27764         (RUN_TEST_LOOP_f_L): Likewise.
27765         (RUN_TEST_sincos): Likewise.
27766         (RUN_TEST_LOOP_sincos): Likewise.
27768 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
27770         [BZ #15480]
27771         [BZ #15485]
27772         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27773         main case of finite arguments, set rounding mode to FE_TONEAREST
27774         and discard exceptions.
27775         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27776         exceptions.
27777         (remainder_tonearest_test_data): New variable.
27778         (remainder_test_tonearest): New function.
27779         (remainder_towardzero_test_data): New variable.
27780         (remainder_test_towardzero): New function.
27781         (remainder_downward_test_data): New variable.
27782         (remainder_test_downward): New function.
27783         (remainder_upward_test_data): New variable.
27784         (remainder_test_upward): New function.
27785         (main): Call the new test functions.
27787         * math/libm-test.inc (struct test_f_f1_data): Remove field
27788         extra_init.
27789         (struct test_fF_f1_data): Likewise.
27790         (struct test_ffI_f1_data): Likewise.
27791         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
27792         based on value of EXTRA_EXPECTED.
27793         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27794         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
27795         EXTRA_VAR based on value of EXTRA_EXPECTED.
27796         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27797         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
27798         EXTRA_VAR based on value of EXTRA_EXPECTED.
27799         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27800         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
27801         EXTRA_VAR based on value of EXTRA_EXPECTED.
27802         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27803         * math/gen-libm-test.pl (parse_args): Don't output initializers
27804         for extra output values.
27806         * math/libm-test.inc (check_int): Expect result to be exactly
27807         equal to expected value and do not handle ulps.
27808         (check_long): Likewise.
27809         (check_longlong): Likewise.
27811         * math/libm-test.inc (ceil_test_data): Test for "inexact"
27812         exceptions.
27813         (cimag_test_data): Likewise.
27814         (conj_test_data): Likewise.
27815         (copysign_test_data): Likewise.
27816         (cproj_test_data): Likewise.
27817         (creal_test_data): Likewise.
27818         (fabs_test_data): Likewise.
27819         (fdim_test_data): Likewise.
27820         (finite_test_data): Likewise.
27821         (floor_test_data): Likewise.
27822         (fmax_test_data): Likewise.
27823         (fmin_test_data): Likewise.
27824         (fmod_test_data): Likewise.
27825         (fpclassify_test_data): Likewise.
27826         (frexp_test_data): Likewise.
27827         (ilogb_test_data): Likewise.
27828         (isfinite_test_data): Likewise.
27829         (isgreater_test_data): Likewise.
27830         (isgreaterequal_test_data): Likewise.
27831         (isinf_test_data): Likewise.
27832         (isless_test_data): Likewise.
27833         (islessequal_test_data): Likewise.
27834         (islessgreater_test_data): Likewise.
27835         (isnan_test_data): Likewise.
27836         (isnormal_test_data): Likewise.
27837         (issignaling_test_data): Likewise.
27838         (isunordered_test_data): Likewise.
27839         (ldexp_test_data): Likewise.
27840         (lrint_test_data): Likewise.
27841         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27842         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27843         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27844         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27845         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27846         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27847         test input.
27848         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27849         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27850         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27851         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27852         that test input.
27853         (lrint_downward_test_data): Test for "inexact" exceptions.
27854         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27855         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27856         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27857         test input.
27858         (lrint_upward_test_data): Test for "inexact" exceptions.
27859         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27860         test input.
27861         (llrint_test_data): Test for "inexact" exceptions.
27862         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27863         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27864         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27865         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27866         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27867         (llrint_downward_test_data): Test for "inexact" exceptions.
27868         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27869         (llrint_upward_test_data): Test for "inexact" exceptions.
27870         (logb_test_data): Likewise.
27871         (logb_downward_test_data): Likewise.
27872         (nextafter_test_data): Likewise.
27873         (nexttoward_test_data): Likewise.
27874         (remainder_test_data): Likewise.
27875         (remquo_test_data): Likewise.
27876         (scalbn_test_data): Likewise.
27877         (scalbln_test_data): Likewise.
27878         (signbit_test_data): Likewise.
27879         (sqrt_test_data): Likewise.
27880         (significand_test_data): Likewise.
27882 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27884         [BZ #15424]
27885         * benchtests/bench-modf.c (struct args): Mark arg0 as
27886         volatile.
27887         * scripts/bench.pl: Mark members of struct args as volatile.
27889 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27891         [BZ # 15497]
27892         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27893         negative infinity on POWER6 or lower.
27894         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27896 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27898         [BZ #15442]
27899         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27900         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27901         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27902         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27903         (_FP_SETQNAN): New macro.
27904         (_FP_SETQNAN_SEMIRAW): Likewise.
27905         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27906         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27907         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27908         (FP_EXTEND): Use _FP_FRAC_SNANP.
27909         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27910         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27911         into account.
27912         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27913         New macro.
27914         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27915         Likewise.
27917 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27919         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27920         with DIVIDE_BY_ZERO_EXCEPTION.
27921         (gamma_test_data): Likewise.
27922         (lgamma_test_data): Likewise.
27923         (log_test_data): Likewise.
27924         (log10_test_data): Likewise.
27925         (log2_test_data): Likewise.
27926         (tgamma_test_data): Likewise.
27928         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27929         (acos_test_tonearest): Likewise.
27930         (acos_test_towardzero): Likewise.
27931         (acos_test_downward): Likewise.
27932         (acos_test_upward): Likewise.
27933         (acosh_test): Likewise.
27934         (asin_test): Likewise.
27935         (asin_test_tonearest): Likewise.
27936         (asin_test_towardzero): Likewise.
27937         (asin_test_downward): Likewise.
27938         (asin_test_upward): Likewise.
27939         (asinh_test): Likewise.
27940         (atan_test): Likewise.
27941         (atanh_test): Likewise.
27942         (atan2_test): Likewise.
27943         (cabs_test): Likewise.
27944         (cacos_test): Likewise.
27945         (cacosh_test): Likewise.
27946         (casin_test): Likewise.
27947         (casinh_test): Likewise.
27948         (catan_test): Likewise.
27949         (catanh_test): Likewise.
27950         (cbrt_test): Likewise.
27951         (ccos_test): Likewise.
27952         (ccosh_test): Likewise.
27953         (cexp_test): Likewise.
27954         (clog_test): Likewise.
27955         (clog10_test): Likewise.
27956         (cos_test): Likewise.
27957         (cos_test_tonearest): Likewise.
27958         (cos_test_towardzero): Likewise.
27959         (cos_test_downward): Likewise.
27960         (cos_test_upward): Likewise.
27961         (cosh_test): Likewise.
27962         (cosh_test_tonearest): Likewise.
27963         (cosh_test_towardzero): Likewise.
27964         (cosh_test_downward): Likewise.
27965         (cosh_test_upward): Likewise.
27966         (cpow_test): Likewise.
27967         (csin_test): Likewise.
27968         (csinh_test): Likewise.
27969         (csqrt_test): Likewise.
27970         (ctan_test): Likewise.
27971         (ctan_test_tonearest): Likewise.
27972         (ctan_test_towardzero): Likewise.
27973         (ctan_test_downward): Likewise.
27974         (ctan_test_upward): Likewise.
27975         (ctanh_test): Likewise.
27976         (ctanh_test_tonearest): Likewise.
27977         (ctanh_test_towardzero): Likewise.
27978         (ctanh_test_downward): Likewise.
27979         (ctanh_test_upward): Likewise.
27980         (erf_test): Likewise.
27981         (erfc_test): Likewise.
27982         (exp_test): Likewise.
27983         (exp_test_tonearest): Likewise.
27984         (exp_test_towardzero): Likewise.
27985         (exp_test_downward): Likewise.
27986         (exp_test_upward): Likewise.
27987         (exp10_test): Likewise.
27988         (exp2_test): Likewise.
27989         (expm1_test): Likewise.
27990         (fmod_test): Likewise.
27991         (gamma_test): Likewise.
27992         (hypot_test): Likewise.
27993         (j0_test): Likewise.
27994         (j1_test): Likewise.
27995         (jn_test): Likewise.
27996         (lgamma_test): Likewise.
27997         (log_test): Likewise.
27998         (log10_test): Likewise.
27999         (log1p_test): Likewise.
28000         (log2_test): Likewise.
28001         (logb_test_downward): Likewise.
28002         (pow_test): Likewise.
28003         (pow_test_tonearest): Likewise.
28004         (pow_test_towardzero): Likewise.
28005         (pow_test_downward): Likewise.
28006         (pow_test_upward): Likewise.
28007         (remainder_test): Likewise.
28008         (remquo_test): Likewise.
28009         (sin_test): Likewise.
28010         (sin_test_tonearest): Likewise.
28011         (sin_test_towardzero): Likewise.
28012         (sin_test_downward): Likewise.
28013         (sin_test_upward): Likewise.
28014         (sincos_test): Likewise.
28015         (sinh_test): Likewise.
28016         (sinh_test_tonearest): Likewise.
28017         (sinh_test_towardzero): Likewise.
28018         (sinh_test_downward): Likewise.
28019         (sinh_test_upward): Likewise.
28020         (sqrt_test): Likewise.
28021         (tan_test): Likewise.
28022         (tan_test_tonearest): Likewise.
28023         (tan_test_towardzero): Likewise.
28024         (tan_test_downward): Likewise.
28025         (tan_test_upward): Likewise.
28026         (tanh_test): Likewise.
28027         (tgamma_test): Likewise.
28028         (y0_test): Likewise.
28029         (y1_test): Likewise.
28030         (yn_test): Likewise.
28032         * math/gen-libm-test.pl (adjust_arg): Remove function.
28033         (special_function): Remove argument $in_func.  Only handle
28034         generating output for tables of tests, not inside functions.
28035         (parse_args): Likewise.
28036         (generate_testfile): Remove variable $in_func.  Update call to
28037         parse_args.
28038         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28039         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28040         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28041         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28042         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28043         (MAX_VALUE_INIT): Rename macro to max_value.
28044         (MIN_VALUE_INIT): Rename macro to min_value.
28045         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28046         (plus_zero): Remove variable.
28047         (minus_zero): Likewise.
28048         (plus_infty): Likewise.
28049         (minus_infty): Likewise.
28050         (qnan_value): Likewise.
28051         (max_value): Likewise.
28052         (min_value): Likewise.
28053         (min_subnorm_value): Likewise.
28055 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28057         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28058         uint64_t or uint32_t usage.
28059         * crypt/sha256-block.c: Likewise.
28060         * crypt/sha256-crypt.c: Likewise.
28061         * crypt/sha256.c: Likewise.
28062         * crypt/sha512-block.c: Likewise.
28063         * crypt/sha512-crypt.c: Likewise.
28064         * crypt/sha512.c: Likewise.
28065         * debug/backtrace-tst.c: Likewise.
28066         * debug/pcprofiledump.c: Likewise.
28067         * elf/cache.c: Likewise.
28068         * elf/dl-cache.c: Likewise.
28069         * elf/dl-misc.c: Likewise.
28070         * elf/dl-profile.c: Likewise.
28071         * elf/dl-support.c: Likewise.
28072         * elf/ldconfig.c: Likewise.
28073         * elf/sprof.c: Likewise.
28074         * iconv/dummy-repertoire.c: Likewise.
28075         * iconv/iconv_charmap.c: Likewise.
28076         * iconv/skeleton.c: Likewise.
28077         * iconvdata/8bit-generic.c: Likewise.
28078         * iconvdata/cp737.h: Likewise.
28079         * iconvdata/cp775.h: Likewise.
28080         * iconvdata/ibm1008.h: Likewise.
28081         * iconvdata/ibm1025.h: Likewise.
28082         * iconvdata/ibm1046.h: Likewise.
28083         * iconvdata/ibm1097.h: Likewise.
28084         * iconvdata/ibm1112.h: Likewise.
28085         * iconvdata/ibm1122.h: Likewise.
28086         * iconvdata/ibm1123.h: Likewise.
28087         * iconvdata/ibm1124.h: Likewise.
28088         * iconvdata/ibm1129.h: Likewise.
28089         * iconvdata/ibm1130.h: Likewise.
28090         * iconvdata/ibm1132.h: Likewise.
28091         * iconvdata/ibm1133.h: Likewise.
28092         * iconvdata/ibm1137.h: Likewise.
28093         * iconvdata/ibm1140.h: Likewise.
28094         * iconvdata/ibm1141.h: Likewise.
28095         * iconvdata/ibm1142.h: Likewise.
28096         * iconvdata/ibm1143.h: Likewise.
28097         * iconvdata/ibm1144.h: Likewise.
28098         * iconvdata/ibm1145.h: Likewise.
28099         * iconvdata/ibm1146.h: Likewise.
28100         * iconvdata/ibm1147.h: Likewise.
28101         * iconvdata/ibm1148.h: Likewise.
28102         * iconvdata/ibm1149.h: Likewise.
28103         * iconvdata/ibm1153.h: Likewise.
28104         * iconvdata/ibm1154.h: Likewise.
28105         * iconvdata/ibm1155.h: Likewise.
28106         * iconvdata/ibm1156.h: Likewise.
28107         * iconvdata/ibm1157.h: Likewise.
28108         * iconvdata/ibm1158.h: Likewise.
28109         * iconvdata/ibm1160.h: Likewise.
28110         * iconvdata/ibm1161.h: Likewise.
28111         * iconvdata/ibm1162.h: Likewise.
28112         * iconvdata/ibm1163.h: Likewise.
28113         * iconvdata/ibm1164.h: Likewise.
28114         * iconvdata/ibm1166.h: Likewise.
28115         * iconvdata/ibm1167.h: Likewise.
28116         * iconvdata/ibm12712.h: Likewise.
28117         * iconvdata/ibm1390.h: Likewise.
28118         * iconvdata/ibm1399.h: Likewise.
28119         * iconvdata/ibm16804.h: Likewise.
28120         * iconvdata/ibm4517.h: Likewise.
28121         * iconvdata/ibm4899.h: Likewise.
28122         * iconvdata/ibm4909.h: Likewise.
28123         * iconvdata/ibm4971.h: Likewise.
28124         * iconvdata/ibm5347.h: Likewise.
28125         * iconvdata/ibm803.h: Likewise.
28126         * iconvdata/ibm856.h: Likewise.
28127         * iconvdata/ibm901.h: Likewise.
28128         * iconvdata/ibm902.h: Likewise.
28129         * iconvdata/ibm9030.h: Likewise.
28130         * iconvdata/ibm9066.h: Likewise.
28131         * iconvdata/ibm921.h: Likewise.
28132         * iconvdata/ibm922.h: Likewise.
28133         * iconvdata/ibm9448.h: Likewise.
28134         * iconvdata/isiri-3342.h: Likewise.
28135         * iconvdata/jis0201.h: Likewise.
28136         * include/link.h: Likewise.
28137         * include/netdb.h: Likewise.
28138         * inet/check_native.c: Likewise.
28139         * inet/check_pf.c: Likewise.
28140         * inet/getipv4sourcefilter.c: Likewise.
28141         * inet/getnameinfo.c: Likewise.
28142         * inet/getsourcefilter.c: Likewise.
28143         * inet/htonl.c: Likewise.
28144         * inet/setipv4sourcefilter.c: Likewise.
28145         * inet/setsourcefilter.c: Likewise.
28146         * inet/test-inet6_opt.c: Likewise.
28147         * inet/tst-network.c: Likewise.
28148         * locale/C-collate.c: Likewise.
28149         * locale/C-ctype.c: Likewise.
28150         * locale/C-time.c: Likewise.
28151         * locale/C-translit.h: Likewise.
28152         * locale/loadarchive.c: Likewise.
28153         * locale/programs/3level.h: Likewise.
28154         * locale/programs/charmap.c: Likewise.
28155         * locale/programs/charmap.h: Likewise.
28156         * locale/programs/ld-address.c: Likewise.
28157         * locale/programs/ld-collate.c: Likewise.
28158         * locale/programs/ld-ctype.c: Likewise.
28159         * locale/programs/ld-identification.c: Likewise.
28160         * locale/programs/ld-measurement.c: Likewise.
28161         * locale/programs/ld-messages.c: Likewise.
28162         * locale/programs/ld-monetary.c: Likewise.
28163         * locale/programs/ld-name.c: Likewise.
28164         * locale/programs/ld-numeric.c: Likewise.
28165         * locale/programs/ld-paper.c: Likewise.
28166         * locale/programs/ld-telephone.c: Likewise.
28167         * locale/programs/ld-time.c: Likewise.
28168         * locale/programs/linereader.c: Likewise.
28169         * locale/programs/locale.c: Likewise.
28170         * locale/programs/locarchive.c: Likewise.
28171         * locale/programs/locfile.h: Likewise.
28172         * locale/programs/repertoire.c: Likewise.
28173         * locale/programs/simple-hash.c: Likewise.
28174         * locale/programs/simple-hash.h: Likewise.
28175         * malloc/memusage.c: Likewise.
28176         * malloc/memusagestat.c: Likewise.
28177         * nis/nis_defaults.c: Likewise.
28178         * nis/nis_hash.c: Likewise.
28179         * nis/nis_print.c: Likewise.
28180         * nis/nis_xdr.c: Likewise.
28181         * nscd/connections.c: Likewise.
28182         * nscd/hstcache.c: Likewise.
28183         * nscd/nscd_gethst_r.c: Likewise.
28184         * nscd/nscd_getserv_r.c: Likewise.
28185         * nscd/nscd_helper.c: Likewise.
28186         * nscd/servicescache.c: Likewise.
28187         * nss/makedb.c: Likewise.
28188         * nss/nss_db/db-XXX.c: Likewise.
28189         * nss/nss_db/db-initgroups.c: Likewise.
28190         * nss/nss_db/db-netgrp.c: Likewise.
28191         * nss/nss_files/files-network.c: Likewise.
28192         * nss/nss_files/files-parse.c: Likewise.
28193         * posix/bug-regex5.c: Likewise.
28194         * posix/fnmatch_loop.c: Likewise.
28195         * posix/regcomp.c: Likewise.
28196         * posix/regexec.c: Likewise.
28197         * posix/tst-rfc3484-2.c: Likewise.
28198         * posix/tst-rfc3484-3.c: Likewise.
28199         * posix/tst-rfc3484.c: Likewise.
28200         * resolv/nss_dns/dns-canon.c: Likewise.
28201         * resolv/nss_dns/dns-network.c: Likewise.
28202         * resolv/res_init.c: Likewise.
28203         * resolv/res_mkquery.c: Likewise.
28204         * resolv/tst-aton.c: Likewise.
28205         * stdlib/cxa_atexit.c: Likewise.
28206         * stdlib/cxa_finalize.c: Likewise.
28207         * stdlib/gen-fpioconst.c: Likewise.
28208         * stdlib/strtol_l.c: Likewise.
28209         * string/tst-endian.c: Likewise.
28210         * sunrpc/auth_des.c: Likewise.
28211         * sunrpc/clnt_udp.c: Likewise.
28212         * sunrpc/rtime.c: Likewise.
28213         * sunrpc/svcauth_des.c: Likewise.
28214         * sunrpc/xdr.c: Likewise.
28215         * sunrpc/xdr_intXX_t.c: Likewise.
28216         * sunrpc/xdr_rec.c: Likewise.
28217         * sysdeps/generic/ldconfig.h: Likewise.
28218         * sysdeps/generic/ldsodefs.h: Likewise.
28219         * sysdeps/generic/memusage.h: Likewise.
28220         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28221         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28222         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28223         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28224         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28226         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28227         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28228         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28229         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28230         * sysdeps/posix/getaddrinfo.c: Likewise.
28231         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28232         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28233         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28234         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28235         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28236         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28237         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28238         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28239         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28240         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28241         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28242         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28243         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28244         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28245         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28246         * sysdeps/x86_64/dl-tls.h: Likewise.
28247         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28248         * time/alt_digit.c: Likewise.
28249         * time/era.c: Likewise.
28250         * wcsmbs/tst-c16c32-1.c: Likewise.
28252 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28254         * math/libm-test.inc (struct test_sincos_data): New type.
28255         (RUN_TEST_LOOP_sincos): New macro.
28256         (sincos_test_data): New variable.
28257         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28259 2013-05-16  Richard Henderson  <rth@redhat.com>
28261         * math/atest-exp2.c (LIMB64): New macro.
28262         (CONSTSZ): New macro.
28263         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28264         (hexdig): Move ...
28265         (print_mpn_fp): ... to function scope.
28266         (read_mpn_hex): Remove.
28267         (get_log2): Remove.
28268         (exp2_mpn): Use mp_log2.
28269         (main): Use mp_exp1.
28271 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28273         * math/libm-test.inc: Remove comment about not testing "inexact"
28274         exceptions.
28275         (INEXACT_EXCEPTION): New macro.
28276         (NO_INEXACT_EXCEPTION): Likewise.
28277         (INVALID_EXCEPTION_OK): Update value.
28278         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28279         (OVERFLOW_EXCEPTION_OK): Likewise.
28280         (UNDERFLOW_EXCEPTION_OK): Likewise.
28281         (IGNORE_ZERO_INF_SIGN): Likewise.
28282         (ERRNO_UNCHANGED): Likewise.
28283         (ERRNO_EDOM): Likewise.
28284         (ERRNO_ERANGE): Likewise.
28285         (test_exceptions): Handle testing "inexact" exceptions.
28286         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28287         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28288         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28289         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28290         INEXACT_EXCEPTION.
28291         (rint_towardzero_test_data): Likewise.
28292         (rint_downward_test_data): Likewise.
28293         (rint_upward_test_data): Likewise.
28295         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28296         with OVERFLOW_EXCEPTION.
28297         (exp10_test_data): Likewise.
28298         (exp2_test_data): Likewise.
28299         (expm1_test_data): Likewise.
28300         (lgamma_test_data): Likewise.
28301         (pow_test_data): Likewise.
28302         (tgamma_test_data): Likewise.
28303         (yn_test_data): Remove duplicate test of overflow.
28305         * math/libm-test.inc (struct test_cc_c_data): New type.
28306         (RUN_TEST_LOOP_cc_c): New macro.
28307         (cpow_test_data): New variable.
28308         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28310         * math/libm-test.inc (struct test_f_L_data): New type.
28311         (RUN_TEST_LOOP_f_L): New macro.
28312         (llrint_test_data): New variable.
28313         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28314         (llrint_tonearest_test_data): New variable.
28315         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28316         (llrint_towardzero_test_data): New variable.
28317         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28318         (llrint_downward_test_data): New variable.
28319         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28320         (llrint_upward_test_data): New variable.
28321         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28322         (llround_test_data): New variable.
28323         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28325 2013-05-13  Peter Collingbourne  <pcc@google.com>
28327         * math/atest-exp2.c (get_log2): Remove const attribute.
28329 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28331         * math/libm-test.inc (struct test_f_l_data): New type.
28332         (RUN_TEST_LOOP_f_l): New macro.
28333         (lrint_test_data): New variable.
28334         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28335         (lrint_tonearest_test_data): New variable.
28336         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28337         (lrint_towardzero_test_data): New variable.
28338         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28339         (lrint_downward_test_data): New variable.
28340         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28341         (lrint_upward_test_data): New variable.
28342         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28343         (lround_test_data): New variable.
28344         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28346 2013-05-15  Peter Collingbourne  <pcc@google.com>
28348         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28349         (EXTRACT_WORDS64) Use where appropriate.
28350         (INSERT_WORDS64) Likewise.
28352         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28353         constraints with x constraints.
28354         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28356         * malloc/obstack.c (_obstack_compat): Add initializer.
28358 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28360         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28361         si_trapno and add si_addr_lsb to _sifields.sigfault.
28362         (si_trapno): Remove macro.
28363         (si_addr_lsb): Define new macro.
28364         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28366 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28368         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28369         instead of TEST_f_l.
28370         (llrint_test_tonearest): Likewise.
28371         (llrint_test_towardzero): Likewise.
28372         (llrint_test_downward): Likewise.
28373         (llrint_test_upward): Likewise.
28374         (llround_test): Likewise.
28376         * math/libm-test.inc (struct test_f_i_data): Add comment.
28377         (RUN_TEST_LOOP_f_b): New macro.
28378         (RUN_TEST_LOOP_f_b_tg): Likewise.
28379         (finite_test_data): New variable.
28380         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28381         (isfinite_test_data): New variable.
28382         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28383         (isinf_test_data): New variable.
28384         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28385         (isnan_test_data): New variable.
28386         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28387         (isnormal_test_data): New variable.
28388         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28389         (issignaling_test_data): New variable.
28390         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28391         (signbit_test_data): New variable.
28392         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28394         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28395         with INVALID_EXCEPTION.
28396         (acosh_test_data): Likewise.
28397         (asin_test_data): Likewise.
28398         (atanh_test_data): Likewise.
28399         (fmod_test_data): Likewise.
28400         (log_test_data): Likewise.
28401         (log10_test_data): Likewise.
28402         (log2_test_data): Likewise.
28403         (pow_test_data): Likewise.
28404         (sqrt_test_data): Likewise.
28405         (y0_test_data): Likewise.
28406         (y1_test_data): Likewise.
28407         (yn_test_data): Likewise.
28409         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28410         function contents.
28412         * math/libm-test.inc (struct test_ff_i_data): New type.
28413         (RUN_TEST_LOOP_ff_i_tg): New macro.
28414         (isgreater_test_data): New variable.
28415         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28416         (isgreaterequal_test_data): New variable.
28417         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28418         (isless_test_data): New variable.
28419         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28420         (islessequal_test_data): New variable.
28421         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28422         (islessgreater_test_data): New variable.
28423         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28424         (isunordered_test_data): New variable.
28425         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28427 2013-05-14  David S. Miller  <davem@davemloft.net>
28429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28431 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28433         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28435         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28436         extra_test to int.
28437         (struct test_f_i_data): Change type of max_ulp to int.
28439         * math/libm-test.inc (test_ffI_f1_data): New type.
28440         (RUN_TEST_LOOP_ffI_f1): New macro.
28441         (remquo_test_data): New variable.
28442         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28444         * setjmp/tst-setjmp-fp.c: New file.
28445         * setjmp/Makefile (tests): Add tst-setjmp-fp.
28446         (link-libm): New variable.
28447         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28449         * math/libm-test.inc (struct test_f_i_data): New type.
28450         (RUN_TEST_LOOP_f_i): New macro.
28451         (RUN_TEST_LOOP_f_i_tg): Likewise.
28452         (fpclassify_test_data): New variable.
28453         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28454         (ilogb_test_data): New variable.
28455         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28457         * math/libm-test.inc (scalbln_test): Correct function name in END
28458         call.
28460         * math/libm-test.inc (struct test_f_f1_data): Add comment.
28461         (RUN_TEST_LOOP_fI_f1): New macro.
28462         (frexp_test_data): New variable.
28463         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28465         * math/libm-test.inc (struct test_fF_f1_data): New type.
28466         (RUN_TEST_LOOP_fF_f1): New macro.
28467         (modf_test_data): New variable.
28468         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28470         * math/libm-test.inc (struct test_f_f1_data): New type.
28471         (RUN_TEST_LOOP_f_f1): New macro.
28472         (gamma_test_data): New variable.
28473         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28474         (lgamma_test_data): New variable.
28475         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28477 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
28479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28480         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28481         (main): Comment "tls" pseudo-hwcap.
28483 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
28485         * math/libm-test.inc (struct test_fl_f_data): New type.
28486         (RUN_TEST_LOOP_fl_f): New variable.
28487         (scalbln_test_data): New variable.
28488         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28490         * math/libm-test.inc (struct test_fi_f_data): New type.
28491         (RUN_TEST_LOOP_fi_f): New macro.
28492         (ldexp_test_data): New variable.
28493         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28494         (scalbn_test_data): New variable.
28495         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28497         * math/libm-test.inc (struct test_c_f_data): New type.
28498         (RUN_TEST_LOOP_c_f): New macro.
28499         (cabs_test_data): New variable.
28500         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28501         (carg_test_data): New variable.
28502         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28503         (cimag_test_data): New variable.
28504         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28505         (creal_test_data): New variable.
28506         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28508         * math/libm-test.inc (struct test_if_f_data): New type.
28509         (RUN_TEST_LOOP_if_f): New macro.
28510         (jn_test_data): New variable.
28511         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28512         (yn_test_data): New variable.
28513         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28515         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28517 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28519         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28520         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28522 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28524         * benchtests/Makefile (CPPFLAGS-nonlib): Add
28525         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28526         (bench-deps): Add bench-timing.h.
28527         * benchtests-bench-skeleton.c: Include bench-timing.h.
28528         (main): Use TIMING_* macros instead of clock_gettime.
28529         * benchtests/bench-timing.h: New file.
28531         [BZ #14582]
28532         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28533         Renamed from _LIB_VERSION.
28534         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28536 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
28538         * math/libm-test.inc (struct test_fff_f_data): New type.
28539         (RUN_TEST_LOOP_fff_f): New macro.
28540         (fma_test_data): New variable.
28541         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28542         (fma_towardzero_test_data): New variable.
28543         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28544         (fma_downward_test_data): New variable.
28545         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28546         (fma_upward_test_data): New variable.
28547         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28549         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28550         (struct test_c_c_data): New type.
28551         (RUN_TEST_LOOP_c_c): New macro.
28552         (cacos_test_data): New variable.
28553         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28554         (cacosh_test_data): New variable.
28555         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28556         (casin_test_data): New variable.
28557         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28558         (casinh_test_data): New variable.
28559         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28560         (catan_test_data): New variable.
28561         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28562         (catanh_test_data): New variable.
28563         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28564         (ccos_test_data): New variable.
28565         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28566         (ccosh_test_data): New variable.
28567         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28568         (cexp_test_data): New variable.
28569         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28570         (clog_test_data): New variable.
28571         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28572         (clog10_test_data): New variable.
28573         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28574         (conj_test_data): New variable.
28575         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28576         (cproj_test_data): New variable.
28577         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28578         (csin_test_data): New variable.
28579         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28580         (csinh_test_data): New variable.
28581         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28582         (csqrt_test_data): New variable.
28583         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28584         (ctan_test_data): New variable.
28585         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28586         (ctan_tonearest_test_data): New variable.
28587         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28588         (ctan_towardzero_test_data): New variable.
28589         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28590         (ctan_downward_test_data): New variable.
28591         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28592         (ctan_upward_test_data): New variable.
28593         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28594         (ctanh_test_data): New variable.
28595         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28596         (ctanh_tonearest_test_data): New variable.
28597         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28598         (ctanh_towardzero_test_data): New variable.
28599         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28600         (ctanh_downward_test_data): New variable.
28601         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28602         (ctanh_upward_test_data): New variable.
28603         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28604         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28605         of BUILD_COMPLEX.
28607         * math/libm-test.inc (struct test_ff_f_data): New type.
28608         (struct test_ff_f_data_nexttoward): Likewise.
28609         (RUN_TEST_LOOP_2_f): New macro.
28610         (RUN_TEST_LOOP_ff_f): Likewise.
28611         (atan2_test_data): New variable.
28612         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28613         (copysign_test_data): New variable.
28614         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28615         (fdim_test_data): New variable.
28616         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28617         (fmax_test_data): New variable.
28618         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28619         (fmin_test_data): New variable.
28620         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28621         (fmod_test_data): New variable.
28622         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28623         (hypot_test_data): New variable.
28624         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28625         (nextafter_test_data): New variable.
28626         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28627         (nexttoward_test_data): New variable.
28628         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28629         (pow_test_data): New variable.
28630         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28631         (pow_tonearest_test_data): New variable.
28632         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28633         (pow_towardzero_test_data): New variable.
28634         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28635         (pow_downward_test_data): New variable.
28636         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28637         (pow_upward_test_data): New variable.
28638         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28639         (remainder_test_data): New variable.
28640         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28641         (scalb_test_data): New variable.
28642         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28643         * sysdeps/i386/fpu/libm-test-ulps: Update.
28645 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
28647         * math/libm-test.inc (fma_test): Use max_value instead of local
28648         variable fltmax.
28649         (nextafter_test): Likewise.
28651         * math/libm-test.inc (acos_towardzero_test_data): New variable.
28652         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28653         (acos_downward_test_data): New variable.
28654         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28655         (acos_upward_test_data): New variable.
28656         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28657         (acosh_test_data): New variable.
28658         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28659         (asin_test_data): New variable.
28660         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28661         (asin_tonearest_test_data): New variable.
28662         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28663         (asin_towardzero_test_data): New variable.
28664         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28665         (asin_downward_test_data): New variable.
28666         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28667         (asin_upward_test_data): New variable.
28668         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28669         (asinh_test_data): New variable.
28670         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28671         (atan_test_data): New variable.
28672         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28673         (atanh_test_data): New variable.
28674         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28675         (cbrt_test_data): New variable.
28676         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28677         (ceil_test_data): New variable.
28678         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28679         (cos_test_data): New variable.
28680         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28681         (cos_tonearest_test_data): New variable.
28682         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28683         (cos_towardzero_test_data): New variable.
28684         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28685         (cos_downward_test_data): New variable.
28686         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28687         (cos_upward_test_data): New variable.
28688         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28689         (cosh_test_data): New variable.
28690         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28691         (cosh_tonearest_test_data): New variable.
28692         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28693         (cosh_towardzero_test_data): New variable.
28694         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28695         (cosh_downward_test_data): New variable.
28696         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28697         (cosh_upward_test_data): New variable.
28698         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28699         (erf_test_data): New variable.
28700         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28701         (erfc_test_data): New variable.
28702         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28703         (exp_test_data): New variable.
28704         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28705         (exp_tonearest_test_data): New variable.
28706         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28707         (exp_towardzero_test_data): New variable.
28708         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28709         (exp_downward_test_data): New variable.
28710         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28711         (exp_upward_test_data): New variable.
28712         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28713         (exp10_test_data): New variable.
28714         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28715         (exp2_test_data): New variable.
28716         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28717         (expm1_test_data): New variable.
28718         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28719         (fabs_test_data): New variable.
28720         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28721         (floor_test_data): New variable.
28722         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28723         (j0_test_data): New variable.
28724         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28725         (j1_test_data): New variable.
28726         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28727         (log_test_data): New variable.
28728         (log_test): Run tests with RUN_TEST_LOOP_f_f.
28729         (log10_test_data): New variable.
28730         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28731         (log1p_test_data): New variable.
28732         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28733         (log2_test_data): New variable.
28734         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28735         (logb_test_data): New variable.
28736         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28737         (logb_downward_test_data): New variable.
28738         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28739         (nearbyint_test_data): New variable.
28740         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28741         (rint_test_data): New variable.
28742         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28743         (rint_tonearest_test_data): New variable.
28744         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28745         (rint_towardzero_test_data): New variable.
28746         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28747         (rint_downward_test_data): New variable.
28748         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28749         (rint_upward_test_data): New variable.
28750         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28751         (round_test_data): New variable.
28752         (round_test): Run tests with RUN_TEST_LOOP_f_f.
28753         (sin_test_data): New variable.
28754         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28755         (sin_tonearest_test_data): New variable.
28756         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28757         (sin_towardzero_test_data): New variable.
28758         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28759         (sin_downward_test_data): New variable.
28760         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28761         (sin_upward_test_data): New variable.
28762         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28763         (sinh_test_data): New variable.
28764         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28765         (sinh_tonearest_test_data): New variable.
28766         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28767         (sinh_towardzero_test_data): New variable.
28768         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28769         (sinh_downward_test_data): New variable.
28770         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28771         (sinh_upward_test_data): New variable.
28772         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28773         (sqrt_test_data): New variable.
28774         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28775         (tan_test_data): New variable.
28776         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28777         (tan_tonearest_test_data): New variable.
28778         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28779         (tan_towardzero_test_data): New variable.
28780         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28781         (tan_downward_test_data): New variable.
28782         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28783         (tan_upward_test_data): New variable.
28784         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28785         (tanh_test_data): New variable.
28786         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28787         (tgamma_test_data): New variable.
28788         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28789         (trunc_test_data): New variable.
28790         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28791         (y0_test_data): New variable.
28792         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28793         (y1_test_data): New variable.
28794         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28795         (significand_test_data): New variable.
28796         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28798 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
28800         [BZ #12387]
28801         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28803 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28805         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28807 2013-05-10  Andreas Jaeger  <aj@suse.de>
28809         [BZ #15448]
28810         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28811         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28813 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28815         * math/gen-libm-test.pl (adjust_arg): New function.
28816         (special_functions): Handle generating output in both functions
28817         and arrays.
28818         (parse_args): Likewise.
28819         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28820         $in_func argument to parse_args.
28821         * math/libm-test.inc (struct test_f_f_data): New type.
28822         (IF_ROUND_INIT_): New macro.
28823         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28824         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28825         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28826         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28827         (ROUND_RESTORE_): Likewise.
28828         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28829         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28830         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28831         (ROUND_RESTORE_FE_UPWARD): Likewise.
28832         (RUN_TEST_LOOP_f_f): New macro.
28833         (acos_test_data): New variable.
28834         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28835         (acos_tonearest_test_data): New variable.
28836         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28838 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28840         * benchtests/bench-skeleton.c (startup): Fix coding style.
28842 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28844         [BZ #6809]
28845         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28846         negative infinity argument.
28847         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28848         negative infinity argument.
28849         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28850         negative infinity argument.
28851         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28852         domain errors.
28854 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28856         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28857         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28858         * iconv/iconv_prog.c (main): Likewise.
28859         * locale/programs/charmap-dir.c (charmap_readdir)
28860         (fopen_uncompressed): Likewise.
28861         * locale/programs/locfile.c (siblings_uncached)
28862         (write_locale_data): Use lstat64 instead of lstat.
28863         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28864         stat.
28866 2013-05-10  Andreas Jaeger  <aj@suse.de>
28868         [BZ #15395]
28869         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28870         localization.
28871         Include <locale.h>.
28873 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28875         * elf/dl-close.c (_dl_close_worker): Add comments.
28877 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28879         [BZ #15359]
28880         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28881         high part of pi/2.
28882         (__ieee754_rem_pio2l): Update comments.
28884         [BZ #15429]
28885         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28886         high part of pi/2.
28887         (__ieee754_rem_pio2l): Update comments.
28889         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28890         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28892         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28893         M_PI_4l.
28895         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28896         (M_PI_34_LOG10El): Likewise.
28897         (M_PI2_LOG10El): Likewise.
28898         (M_PI4_LOG10El): Likewise.
28899         (M_PI_LOG10El): Likewise.
28901 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28905 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28907         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28908         (MINUS_ZERO_INIT): Likewise.
28909         (PLUS_INFTY_INIT): Likewise.
28910         (MINUS_INFTY_INIT): Likewise.
28911         (QNAN_VALUE_INIT): Likewise.
28912         (MAX_VALUE_INIT): Likewise.
28913         (MIN_VALUE_INIT): Likewise.
28914         (MIN_SUBNORM_VALUE_INIT): Likewise.
28915         (plus_zero): Initialize with PLUS_ZERO_INIT.
28916         (minus_zero): Initialize with MINUS_ZERO_INIT.
28917         (plus_infty): Initialize with PLUS_INFTY_INIT.
28918         (minus_infty): Initialize with MINUS_INFTY_INIT.
28919         (qnan_value): Initialize with QNAN_VALUE_INIT.
28920         (max_value): Initialize with MAX_VALUE_INIT.
28921         (min_value): Initialize with MIN_VALUE_INIT.
28922         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28924         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28925         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28926         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28927         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28929         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28930         (RUN_TEST_2_f): Likewise.
28931         (RUN_TEST_ff_f): Likewise.
28932         (RUN_TEST_fi_f): Likewise.
28933         (RUN_TEST_fl_f): Likewise.
28934         (RUN_TEST_fff_f): Likewise.
28935         (RUN_TEST_c_f): Likewise.
28936         (RUN_TEST_f_f1): Likewise.
28937         (RUN_TEST_fF_f1): Likewise.
28938         (RUN_TEST_fI_f1): Likewise.
28939         (RUN_TEST_ffI_f1): Likewise.
28940         (RUN_TEST_c_c): Likewise.
28941         (RUN_TEST_cc_c): Likewise.
28942         (RUN_TEST_f_i): Likewise.
28943         (RUN_TEST_f_i_tg): Likewise.
28944         (RUN_TEST_ff_i_tg): Likewise.
28945         (RUN_TEST_f_b): Likewise.
28946         (RUN_TEST_f_b_tg): Likewise.
28947         (RUN_TEST_f_l): Likewise.
28948         (RUN_TEST_f_L): Likewise.
28949         (RUN_TEST_sincos): Likewise.
28950         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28951         whether to show exceptions.  Do not include ");\n" in return
28952         value.
28953         (special_functions): Output call to RUN_TEST_sincos instead of
28954         check_float calls.  Update calls to new_test.
28955         (parse_args): Output call to single RUN_TEST_* macro instead of
28956         check_* calls and other assignments.  Update calls to new_test.
28958         [BZ #2546]
28959         [BZ #2560]
28960         [BZ #5159]
28961         [BZ #15426]
28962         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28963         input to result for tgamma overflow.
28964         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28965         (gamma_coeff): New variable.
28966         (NCOEFF): New macro.
28967         (gamma_positive): New function.
28968         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28969         underflow here.  Use gamma_positive instead of exp (lgamma) for
28970         other arguments.
28971         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28972         (gamma_coeff): New variable.
28973         (NCOEFF): New macro.
28974         (gammaf_positive): New function.
28975         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28976         underflow here.  Use gamma_positive instead of exp (lgamma) for
28977         other arguments.
28978         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28979         (gamma_coeff): New variable.
28980         (NCOEFF): New macro.
28981         (gammal_positive): New function.
28982         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28983         underflow here.  Use gamma_positive instead of exp (lgamma) for
28984         other arguments.
28985         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28986         (gamma_coeff): New variable.
28987         (NCOEFF): New macro.
28988         (gammal_positive): New function.
28989         (__ieee754_gammal_r): Handle positive infinity, overflow and
28990         underflow here.  Handle NaN the same as positive infinity.  Remove
28991         check x < 0xffffffff for negative integers.  Use gamma_positive
28992         instead of exp (lgamma) for other arguments.
28993         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28994         (gamma_coeff): New variable.
28995         (NCOEFF): New macro.
28996         (gammal_positive): New function.
28997         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28998         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28999         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29000         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29001         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29002         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29003         * sysdeps/generic/math_private.h (__gamma_productf): New
29004         prototype.
29005         (__gamma_product): Likewise.
29006         (__gamma_productl): Likewise.
29007         * math/Makefile (libm-calls): Add gamma_product.
29008         * math/libm-test.inc (tgamma_test): Add more tests.
29009         * sysdeps/i386/fpu/libm-test-ulps: Update.
29010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29012 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29014         * benchtests/bench-skeleton.c (main): Preheat CPU.
29016 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29018         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29020 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29022         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29023         and _dl_skip_args_internal.
29025 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29027         * manual/message.texi (Message Translation): Talk about users.
29028         Message to key mapping impacts design.
29030 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29032         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29034         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29036         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29037         * sysdeps/wordsize-64/glob64.c: ... here.
29039         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29040         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29041         New macros.
29043         * debug/getlogin_r_chk.c: Moved to ...
29044         * login/getlogin_r_chk.c: ... here.
29045         * debug/Makefile (routines): Move getlogin_r_chk to ...
29046         * login/Makefile (routines): ... here.
29047         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29048         * login/Versions (libc: GLIBC_2.4): ... here.
29050         * io/poll.c (__poll): Renamed from poll.
29051         Add libc_hidden_def.
29052         (poll): Define as weak alias.
29054         * debug/ptsname_r_chk.c: Moved to ...
29055         * login/ptsname_r_chk.c: ... here.
29056         * debug/Makefile (routines): Move ptsname_r_chk to ...
29057         * login/Makefile (routines): ... here.
29058         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29059         * login/Versions (libc: GLIBC_2.4): ... here.
29061         * posix/getlogin.c: Moved to ...
29062         * login/getlogin.c: ... here.
29063         * posix/getlogin_r.c: Moved to ...
29064         * login/getlogin_r.c: ... here.
29065         * posix/getlogin_r.c: Moved to ...
29066         * login/getlogin_r.c: ... here.
29067         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29068         * login/Makefile (routines): ... here.
29069         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29070         * login/Versions (libc: GLIBC_2.0): ... here.
29072         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29073         (setrlimit): Define as weak alias.
29075         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29076         Call __ names for open, ftruncate, and close.
29077         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29078         (truncate): Define as weak alias.
29080 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29082         * math/gen-libm-test.pl (parse_args): Initialize x before each
29083         test of frexp, modf and remquo.
29085         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29086         test signgam value.
29088 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29090         [BZ #15418]
29091         [BZ #15419]
29092         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29093         internal tests.
29094         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29096 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29098         * elf/dl-writev.h: New file.
29099         * elf/dl-misc.c: Include it.
29100         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29101         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29103 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29105         * math/libm-test.inc (noXFails): Remove variable.
29106         (noXPasses): Likewise.
29107         (BUILD_COMPLEX_INT): Remove macro.
29108         (print_screen): Remove xfail argument.
29109         (print_screen_max_error): Likewise.
29110         (update_stats): Likewise.
29111         (print_max_error): Likewise.  Update calls to other affected
29112         functions.
29113         (print_complex_max_error): Likewise.
29114         (test_single_exception): Update calls to print_screen.
29115         (test_single_errno): Likewise.
29116         (check_float_internal): Remove xfail argument.  Update calls to
29117         other affected functions.
29118         (check_float): Likewise.
29119         (check_complex): Likewise.
29120         (check_int): Likewise.
29121         (check_long): Likewise.
29122         (check_bool): Likewise.
29123         (check_longlong): Likewise.
29124         (main): Don't print noXFails and noXPasses.
29125         * math/gen-libm-test.pl (top level): Don't mention expected
29126         failure handling in comment.
29127         (new_test): Don't handle expected failures.
29128         (parse_args): Don't mention expected failure handling in comment.
29129         (generate_testfile): Don't handle expected failures.
29130         (parse_ulps): Likewise.
29131         (print_ulps_file): Likewise.
29132         (get_failure): Remove function.
29133         (output_test): Don't handle expected failures.
29134         * make/README.libm-test: Don't mention expected failure handling.
29136         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29137         (minus_zero): Likewise.
29138         (plus_infty): Likewise.
29139         (minus_infty): Likewise.
29140         (qnan_value): Likewise.
29141         (max_value): Likewise.
29142         (min_value): Likewise.
29143         (min_subnorm_value): Likewise.
29144         (initialize): Do not initialize those variables dynamically.
29146 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29148         * io/open.c (__open_2): Moved to ...
29149         * io/open_2.c: ... this new file.
29150         * io/open64.c (__open64_2): Moved to ...
29151         * io/open64_2.c: ... this new file.
29152         * io/openat.c (__openat_2): Moved to ...
29153         * io/openat_2.c: ... this new file.
29154         * io/openat64.c (__openat64_2): Moved to ...
29155         * io/openat64_2.c: ... this new file.
29156         * io/Makefile (routines): Add them.
29157         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29158         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29159         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29160         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29161         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29162         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29163         (__openat64): Add hidden_ver.
29164         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29165         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29167         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29168         Separately conditionalize setting of GLRO(dl_sysinfo) so
29169         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29170         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29172 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29174         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29175         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29176         definition.
29177         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29178         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29179         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29180         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29181         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29183 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29185         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29186         test signgam value.
29188         * math/libm-test.inc (hypot_test): Do not use
29189         IGNORE_ZERO_INF_SIGN.
29191 2013-05-03  Andreas Jaeger  <aj@suse.de>
29193         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29194         Linux 3.9.
29195         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29196         (PF_MAX): Adjust for VSOCK change.
29198 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29202 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29204         [BZ #15264]
29205         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29206         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29207         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29209 2013-05-02  David S. Miller  <davem@davemloft.net>
29211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29213 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29215         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29217 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29219         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29221 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29223         [BZ #14952]
29224         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29225         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29226         Use __attribute__ ((__gnu_inline__)).
29227         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29228         Don't use __attribute__ ((__gnu_inline__)).
29230 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29232         [BZ #15423]
29233         * math/s_catan.c (__catan): Handle small real or imaginary part of
29234         input specially to avoid spurious underflow.
29235         * math/s_catanf.c (__catanf): Likewise.
29236         * math/s_catanh.c (__catanh): Likewise.
29237         * math/s_catanhf.c (__catanhf): Likewise.
29238         * math/s_catanhl.c (__catanhl): Likewise.
29239         * math/s_catanl.c (__catanl): Likewise.
29240         * math/libm-test.inc (catan_test): Add more tests.
29241         (catanh_test): Likewise.
29242         * sysdeps/i386/fpu/libm-test-ulps: Update.
29243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29245 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29249 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29251         [BZ #15416]
29252         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29253         accurately for denominator in atan2.
29254         * math/s_catanf.c (__catanf): Likewise.
29255         * math/s_catanh.c (__catanh): Likewise.
29256         * math/s_catanhf.c (__catanhf): Likewise.
29257         * math/s_catanhl.c (__catanhl): Likewise.
29258         * math/s_catanl.c (__catanl): Likewise.
29259         * math/libm-test.inc (catan_test): Add more tests.
29260         (catanh_test): Likewise.
29261         * sysdeps/i386/fpu/libm-test-ulps: Update.
29262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29264 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29266         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29268         * benchtests/Makefile (bench): Remove slow benchmarks.
29269         * benchtests/atan-inputs: Add slow benchmark inputs.
29270         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29271         (BENCH_FUNC): Accept variant offset.
29272         (VARIANT): Define.
29273         * benchtests/bench-skeleton.c (main): Run benchmark for each
29274         variant.
29275         * benchtests/cos-inputs: Add slow benchmark inputs.
29276         * benchtests/exp-inputs: Likewise.
29277         * benchtests/pow-inputs: Likewise.
29278         * benchtests/sin-inputs: Likewise.
29279         * benchtests/slowatan-inputs: Remove.
29280         * benchtests/slowatan.c: Remove.
29281         * benchtests/slowcos-inputs: Remove.
29282         * benchtests/slowcos.c: Remove.
29283         * benchtests/slowexp-inputs: Remove.
29284         * benchtests/slowexp.c: Remove.
29285         * benchtests/slowpow-inputs: Remove.
29286         * benchtests/slowpow.c: Remove.
29287         * benchtests/slowsin-inputs: Remove.
29288         * benchtests/slowsin.c: Remove.
29289         * benchtests/slowtan-inputs: Remove.
29290         * benchtests/slowtan.c: Remove.
29291         * benchtests/tan-inputs: Add slow benchmark inputs.
29292         * scripts/bench.pl: Parse comments and directives.
29294         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29295         in CPPFLAGS.
29296         ($(objpfx)bench-%.c): Remove *-ITER.
29297         * benchtests/bench-modf.c: Remove definition of ITER.
29298         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29299         (main): Loop for DURATION seconds instead of fixed number of
29300         iterations.
29301         * scripts/bench.pl: Don't expect iterations in parameters.
29303 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29305         * io/fchdir.c (__fchdir): Renamed from fchdir.
29306         (fchdir): Define as weak alias.
29308 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29310         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29311         (ERRNO_EDOM): Likewise.
29312         (ERRNO_ERANGE): Likewise.
29313         (noErrnoTests): New variable.
29314         (init_max_error): Set errno to 0.
29315         (test_single_errno): New function.
29316         (test_errno): Likewise.
29317         (check_float_internal): Call test_errno.  Set errno to 0.
29318         (check_complex): Refer to errno tests in comment.
29319         (check_int): Call test_errno.  Set errno to 0.
29320         (check_long): Likewise.
29321         (check_bool): Likewise.
29322         (check_longlong): Likewise.
29323         (cos_test): Use ERRNO_* flags for errno tests instead of
29324         check_int.
29325         (expm1_test): Likewise.
29326         (fmod_test): Likewise.
29327         (ilogb_test): Likewise.
29328         (lgamma_test): Likewise.
29329         (pow_test): Likewise.
29330         (remainder_test): Likewise.
29331         (sin_test): Likewise.
29332         (tan_test): Likewise.
29333         (yn_test): Likewise.
29334         (initialize): Set errno to 0.
29335         (main): Print number of errno tests.
29336         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29338 2013-04-29  Andreas Jaeger  <aj@suse.de>
29340         [BZ #15084]
29341         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29342         and RES_USEVC.
29344         [BZ #15085]
29345         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29346         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29347         unimplemented.
29349         [BZ #15380]
29350         * stdlib/random.c (__initstate): Return NULL if
29351         __initstate fails.
29353         [BZ #15086]
29354         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29355         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29356         RES_SNGLKUPREOP.
29358 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29362 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29364         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29365         of individual tests.
29366         (casin_test): Likewise.
29367         (casinh_test): Likewise.
29369 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29371         [BZ #15409]
29372         * math/s_catan.c (__catan): Handle arguments with large real or
29373         imaginary part separately without squaring.
29374         * math/s_catanf.c (__catanf): Likewise.
29375         * math/s_catanh.c (__catanh): Likewise.
29376         * math/s_catanhf.c (__catanhf): Likewise.
29377         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29378         and redefine.
29379         (__catanhl): Handle arguments with large real or imaginary part
29380         separately without squaring.
29381         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29382         and redefine.
29383         (__catanl): Handle arguments with large real or imaginary part
29384         separately without squaring.
29385         * math/libm-test.inc (catan_test): Add more tests.
29386         (catanh_test): Likewise.
29387         * sysdeps/i386/fpu/libm-test-ulps: Update.
29388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29390 2013-04-27  Andreas Jaeger  <aj@suse.de>
29392         [BZ #15007]
29393         * stdlib/stdlib.h: Update guards for qecvt.
29394         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29395         <stdlib.h>.
29397 2013-04-27  Allan McRae  <allan@archlinux.org>
29399         * sysdeps/i386/fpu/libm-test-ulps: Update.
29401 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29403         [BZ #15406]
29404         * math/s_catan.c: Include <float.h>.
29405         (__catan): Ensure underflow exception occurs for underflowed
29406         result.
29407         * math/s_catanf.c: Include <float.h>.
29408         (__catanf): Ensure underflow exception occurs for underflowed
29409         result.
29410         * math/s_catanh.c: Include <float.h>.
29411         (__catanh): Ensure underflow exception occurs for underflowed
29412         result.
29413         * math/s_catanhf.c: Include <float.h>.
29414         (__catanhf): Ensure underflow exception occurs for underflowed
29415         result.
29416         * math/s_catanhl.c: Include <float.h>.
29417         (__catanhl): Ensure underflow exception occurs for underflowed
29418         result.
29419         * math/s_catanl.c: Include <float.h>.
29420         (__catanl): Ensure underflow exception occurs for underflowed
29421         result.
29422         * math/libm-test.inc (catan_test): Add more tests.
29423         (catanh_test): Likewise.
29425         [BZ #15405]
29426         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29427         underflowed result.
29428         * math/s_ccoshf.c (__ccoshf): Likewise.
29429         * math/s_ccoshl.c (__ccoshl): Likewise.
29430         * math/s_csin.c (__csin): Likewise.
29431         * math/s_csinf.c (__csinf): Likewise.
29432         * math/s_csinh.c (__csinh): Likewise.
29433         * math/s_csinhf.c (__csinhf): Likewise.
29434         * math/s_csinhl.c (__csinhl): Likewise.
29435         * math/s_csinl.c (__csinl): Likewise.
29436         * math/libm-test.inc (ccos_test): Add more tests.
29437         (ccosh_test): Likewise.
29438         (csin_test): Likewise.
29439         (csinh_test): Likewise.
29441 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29443         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29444         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29445         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29446         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29447         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29448         powerpc/power5+/fpu folders.
29449         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29452 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29456 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
29458         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29459         additions to variable.
29460         [$(config-machine) = x86_64] (modules-names): Likewise.
29461         ($(objpfx)tst-audit3): Remove dependency.
29462         ($(objpfx)tst-audit3.out): Likewise.
29463         ($(objpfx)tst-audit4): Likewise.
29464         ($(objpfx)tst-audit4.out): Likewise.
29465         ($(objpfx)tst-audit5): Likewise.
29466         ($(objpfx)tst-audit5.out): Likewise.
29467         ($(objpfx)tst-audit6): Likewise.
29468         ($(objpfx)tst-audit6.out): Likewise.
29469         ($(objpfx)tst-audit7): Likewise.
29470         ($(objpfx)tst-audit7.out): Likewise.
29471         (tst-audit3-ENV): Remove variable.
29472         (tst-audit4-ENV): Likewise.
29473         (tst-audit5-ENV): Likewise.
29474         (tst-audit6-ENV): Likewise.
29475         (tst-audit7-ENV): Likewise.
29476         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29477         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29478         addition to variable.
29479         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29480         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29481         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29483         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29484         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29485         tst-audit3, tst-audit4 and tst-audit5.
29486         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29487         tst-audit6 and tst-audit7.
29488         [$(subdir) = elf] (modules-names): Add audit modules for those
29489         tests.
29490         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29491         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29492         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29493         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29494         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29495         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29496         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29497         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29498         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29499         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29500         [$(subdir) = elf] (tst-audit3-ENV): New variable.
29501         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29502         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29503         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29504         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29505         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29506         Likewise.
29507         [$(subdir) = elf && $(config-cflags-avx) = yes]
29508         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29509         [$(subdir) = elf && $(config-cflags-avx) = yes]
29510         (CFLAGS-tst-auditmod4a.c): Likewise.
29511         [$(subdir) = elf && $(config-cflags-avx) = yes]
29512         (CFLAGS-tst-auditmod4b.c): Likewise.
29513         [$(subdir) = elf && $(config-cflags-avx) = yes]
29514         (CFLAGS-tst-auditmod6b.c): Likewise.
29515         [$(subdir) = elf && $(config-cflags-avx) = yes]
29516         (CFLAGS-tst-auditmod6c.c): Likewise.
29517         [$(subdir) = elf && $(config-cflags-avx) = yes]
29518         (CFLAGS-tst-auditmod7b.c): Likewise.
29519         * elf/tst-audit3.c: Move to ...
29520         * sysdeps/x86_64/tst-audit3.c: ... here.
29521         * elf/tst-audit4.c: Move to ...
29522         * sysdeps/x86_64/tst-audit4.c: ... here.
29523         * elf/tst-audit5.c: Move to ...
29524         * sysdeps/x86_64/tst-audit5.c: ... here.
29525         * elf/tst-audit6.c: Move to ...
29526         * sysdeps/x86_64/tst-audit6.c: ... here.
29527         * elf/tst-audit7.c: Move to ...
29528         * sysdeps/x86_64/tst-audit7.c: ... here.
29529         * elf/tst-auditmod3a.c: Move to ...
29530         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29531         * elf/tst-auditmod3b.c: Move to ...
29532         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29533         * elf/tst-auditmod4a.c: Move to ...
29534         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29535         * elf/tst-auditmod4b.c: Move to ...
29536         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29537         * elf/tst-auditmod5a.c: Move to ...
29538         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29539         * elf/tst-auditmod5b.c: Move to ...
29540         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29541         * elf/tst-auditmod6a.c: Move to ...
29542         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29543         * elf/tst-auditmod6b.c: Move to ...
29544         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29545         * elf/tst-auditmod6c.c: Move to ...
29546         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29547         * elf/tst-auditmod7a.c: Move to ...
29548         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29549         * elf/tst-auditmod7b.c: Move to ...
29550         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29552 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
29554         [BZ #15366]
29555         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29556         define unconditionally.
29557         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29558         define unconditionally.
29559         (INT8_C, INT16_C, etc.): Likewise.
29561 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
29563         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29564         __ehdr_start with hidden visibility.
29566         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29568 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
29570         * math/libm-test.inc (cos_test): Use accurate hex constants.
29571         (sincost_test): Likewise.
29573 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
29575         * math/libm-test.inc (catan_test): Add more tests.
29576         (catanh_test): Likewise.
29578         * math/s_catanf.c (__catanf): Use suffixed floating-point
29579         constants.
29580         * math/s_catanhf.c (__catanhf): Likewise.
29581         * math/s_catanhl.c (__catanhl): Likewise.
29582         * math/s_catanl.c (__catanl): Likewise.
29584         [BZ #15394]
29585         * math/s_catan.c (__catan): Calculate imaginary part of result
29586         with log1p not log unless computing log of number close to 0.
29587         * math/s_catanf.c (__catanf): Likewise.
29588         * math/s_catanl.c (__catanl): Likewise.
29589         * math/s_catanh.c (__catanh): Calculate real part of result with
29590         log1p not log unless computing log of number close to 0.
29591         * math/s_catanhf.c (__catanhf): Likewise.
29592         * math/s_catanhl.c (__catanhl): Likewise.
29593         * math/libm-test.inc (catan_test): Add more tests.
29594         (catanh_test): Likewise.
29595         * sysdeps/i386/fpu/libm-test-ulps: Update.
29596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29598 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29600         * benchtests/Makefile: Mention files in which fast and slow
29601         paths of math functions are implemented.
29603 2013-04-23  Roland McGrath  <roland@hack.frob.com>
29605         * sysdeps/posix/timespec_get.c: New file.
29607 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29609         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29610         POWER.
29611         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29612         for POWER.
29613         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29614         powerpc/power5/fpu folders.
29615         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29616         * benchtests/Makefile: Add modf testcase.
29617         * benchtests/bench-modf.c: New file: Benchmark test for mo
29619 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29621         [BZ #14888]
29622         * time/Makefile (tests): Add tst-strptime-whitespace.
29623         * time/strptime_l.c (get_number): Use ISSPACE.
29624         (__strptime_internal): Likewise.
29625         * time/tst-strptime-whitespace.c: New test case.
29627 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
29629         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29630         member.
29631         (_nss_files_init): Set it here.
29633 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
29635         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29636         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29637         unsigned.
29639 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
29641         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29643 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29645         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29646         size just once.
29648 2013-04-21  David S. Miller  <davem@davemloft.net>
29650         * po/ru.po: Update Russion translation from translation project.
29652 2013-04-17  Adam Conrad  <adconrad@0c3.net>
29654         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29655         and setfsgid.
29657 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
29659         * configure.in: Remove i386 configure warning. Remove i386 case.
29660         * configure: Regenerate.
29661         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29662         Add example to error message.
29663         * sysdeps/i386/configure: Regenerate.
29665 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29667         * benchtests/Makefile (bench): Add cos, tan, slowcos and
29668         slowtan.
29669         * benchtests/cos-inputs: New file.
29670         * benchtests/slowcos-inputs: New file.
29671         * benchtests/slowcos.c: New file.
29672         * benchtests/slowtan-inputs: New file.
29673         * benchtests/slowtan.c: New file.
29674         * benchtests/tan-inputs: New file.
29676 2013-04-16  Roland McGrath  <roland@hack.frob.com>
29678         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29679         considered kosher.
29681 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29683         * benchtests/Makefile: Include cppflags-iterator.mk to add
29684         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29686         * Makefile.in (bench-clean): New target.
29687         * benchtests/Makefile (bench-clean): Likewise.
29689 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
29691         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29693 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
29695         * stdio-common/tstdiomisc.c: Fix coding-style violation.
29697 2013-04-15  Andreas Schwab  <schwab@suse.de>
29699         * nscd/grpcache.c (cache_addgr): Properly check for short write.
29700         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29701         * nscd/pwdcache.c (cache_addpw): Likewise.
29702         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
29703         more than recsize.
29705 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29707         * benchtests/Makefile (bench): Write all output to
29708         bench-out.tmp together.
29710 2013-04-15  Andreas Schwab  <schwab@suse.de>
29712         * nscd/nscd.c (main): Don't fork again after closing files.
29714 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29716         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29718         * benchtests/Rules (bench-deps): Collect dependencies into a
29719         single variable.  Add Makefile to dependencies.
29720         ($(objpfx)bench-%.c): Depend on bench-deps.
29722 2013-04-12  Roland McGrath  <roland@hack.frob.com>
29723             Xavier Roche  <roche+kml2@exalead.com>
29725         [BZ #15361]
29726         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29727         just that it's a file descriptor.
29728         * manual/llio.texi (Synchronizing AIO Operations): Update description
29729         for EBADF error from aio_fsync.
29731 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29733         * Rules (bench): Move target definition...
29734         * benchtests/Makefile: ... here.
29736 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
29738         * math/libm-test.inc (cos_test): Fix PI/2 test.
29739         (sincos_test): Likewise.
29740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29741         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29743 2013-04-11  Andreas Schwab  <schwab@suse.de>
29745         [BZ #13988]
29746         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29747         accept exponent character only when digits were seen.
29748         * stdio-common/Makefile (tests): Add bug26.
29749         * stdio-common/bug26.c: New file.
29751         [BZ #14293]
29752         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29753         non-freeable.
29755 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29757         * Makeconfig (rtld-prefix): Define built linker prefix.
29758         * Rules (run-bench): Use it.
29759         * math/Makefile (run-regen-ulps): Likewise.
29761         * Rules (bench): Remove eval.
29763 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29764             Roland McGrath  <roland@hack.frob.com>
29765             Ondrej Bilka  <neleai@seznam.cz>
29767         [BZ #15346]
29768         * time/getdate.c: Include ctype.h and alloca.h.
29769         (__getdate_r): Trim leading and trailing spaces of input.
29770         * time/tst-getdate.c (tests): Add tests with leading and
29771         trailing spaces.
29773 2013-04-08  Roland McGrath  <roland@hack.frob.com>
29775         [BZ #14280]
29776         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29777         when computing value.
29779 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29781         * math/README.libm-test (How can I generate "libm-test-ulps"?):
29782         Use testrun.sh to run libm tests.
29784         [BZ #15309]
29785         * elf/dl-open.c (dl_open_worker): memset all of seen array.
29787 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
29789         [BZ #15264]
29790         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29792 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29794         * Makefile.in (regen-ulps): New target.
29795         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29796         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29797         [ifneq (no,$(PERL)] (regen-ulps): New target.
29798         [ifeq (no,$(PERL)] (regen-ulps): New target.
29799         * math/libm-test.inc (ulps_file_name): Define.
29800         (output_dir): New variable.
29801         (options): Add "output-dir" option.
29802         (parse_opt): Handle 'o' case.
29803         (main): If output_dir is non-NULL use it as a prefix
29804         otherwise use "".
29805         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29807 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29809         [BZ #10060, #10062]
29810         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29811         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29812         fail configure if __sync_val_compare_and_swap is not inlined.
29813         * sysdeps/i386/configure: Regenerate.
29814         * configure.in: Build for i686 when configured for i386.
29815         * configure: Regenerate.
29816         * README: Remove i386 reference.
29818 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29820         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29821         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29823 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29825         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29826         (lmsnanval): New variables.
29827         (F): Add conversion tests.
29828         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29829         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29831         * stdio-common/tstdiomisc.c (F): Properly collect individual
29832         tests' results.
29834         [BZ #14686, #15336]
29835         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29836         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29837         Instead, use input NaN values or generate a qNaN by arithmetic
29838         operation.  Also fix bugs to comply with the standard.
29839         * math/libm-test.inc (remainder_test): Add more tests.
29841         [BZ #15335, #15342]
29842         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29844         input NaN values or generate a qNaN by arithmetic operation.
29846         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29847         unreachable code.
29849         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29850         definitions.
29852 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29854         [BZ #14478]
29855         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29856         underflowed result.
29857         * math/s_cexpf.c (__cexpf): Likewise.
29858         * math/s_cexpl.c (__cexpl): Likewise.
29859         * math/libm-test.inc (cexp_test): Add more tests.
29861 2013-04-03  Andreas Schwab  <schwab@suse.de>
29863         [BZ #15330]
29864         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29865         order arrays from heap if bigger than alloca cutoff.
29867 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29869         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29870         (SNAN_TESTS_double): Refer to GCC PR56831.
29871         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29872         GCC PR56828.
29874 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29876         * Rules (bench): Move bench.out after the run is complete.
29878         * Rules (bench): Echo currently running benchmark.
29880         * benchtests/Makefile (bench): Add atan and slowatan.
29881         * benchtests/atan-inputs: New file.
29882         * benchtests/slowatan-inputs: New file.
29883         * benchtests/slowatan.c: New file.
29885         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29886         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29887         its value.
29889         [BZ #15305]
29890         * sysdeps/unix/sysv/linux/kernel-features.h
29891         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29892         __ASSUME_XFS_RESTRICTED_CHOWN.
29893         * sysdeps/unix/sysv/linux/pathconf.c
29894         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29895         Save and restore errno.
29897 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29899         [BZ #15327]
29900         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29901         arguments using __kernel_casinh.
29902         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29903         arguments using __kernel_casinhf.
29904         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29905         arguments using __kernel_casinhl.
29906         * math/libm-test.inc (cacosh_test): Add more tests.
29907         * sysdeps/i386/fpu/libm-test-ulps: Update.
29908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29910 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29912         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29915         * bench/Makefile (bench): Add sin and slowsin.
29916         * benchtests/sin-inputs: New file.
29917         * benchtests/slowsin-inputs: New file.
29918         * benchtests/slowsin.c: New file.
29920         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29921         (bench): Add slowexp and slowpow.
29922         (exp-ITER): Increase iterations.
29923         (pow-ITER): Likewise.
29924         * benchtests/exp-inputs: Change input.
29925         * benchtests/pow-inputs: Likewise.
29926         * benchtests/slowexp-inputs: New file.
29927         * benchtests/slowexp.c: New file.
29928         * benchtests/slowpow-inputs: New file.
29929         * benchtests/slowpow.c: New file.
29931 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29933         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29934         instructions.
29935         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29936         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29937         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29938         * benchtests/Makefile: Add rint benchtest.
29939         * benchtests/rint-inputs: Input for rint benchtest.
29941 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29943         * Versions.def (libm): Add GLIBC_2.18.
29944         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29945         hidden libm prototypes.
29946         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29947         * math/Makefile (libm-calls): Add s_issignaling.
29948         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29949         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29950         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29951         declaration.
29952         * math/math.h [__USE_GNU] (issignaling): New macro.
29953         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29954         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29955         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29956         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29957         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29958         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29959         * manual/arith.texi (issignaling): New section.
29960         * manual/libm-err-tab.pl (@all_functions): Update comment.
29961         * math/gen-libm-test.pl (parse_args): Apply special handling for
29962         issignaling.
29963         * math/libm-test.inc (print_float, issignaling_test): New
29964         functions.
29965         (check_float_internal): Add issignaling checks.
29966         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29967         default definition.
29968         * sysdeps/powerpc/math-tests.h: New file.
29969         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29970         tests.
29971         * math/test-snan.c (TEST_FUNC): Likewise.
29973 2013-03-30  David S. Miller  <davem@davemloft.net>
29975         * po/de.po: Update from translation team.
29977 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29979         [BZ #10357]
29980         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29981         imaginary part less than 1.0 and real part less than 0.5
29982         specially.
29983         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29984         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29985         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29986         (cacos_test): Add more tests.
29987         (casin_test): Likewise.
29988         (casinh_test): Likewise.
29989         * sysdeps/i386/fpu/libm-test-ulps: Update.
29990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29992 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29994         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29995         ONE with its value.
29997         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29998         (__pow_mp): Replace ONE and MONE with their values.
29999         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30001         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30002         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30003         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30004         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30006         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30008         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30009         (__pow_mp): Replace ZERO and MZERO with their values.
30010         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30011         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30012         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30014         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30015         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30016         (__sqr): Likewise.
30018         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30020         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30022 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30024         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30025         Declare with __attribute__ ((weak)).
30026         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30027         Call __call_tls_dtors only if it's not NULL.
30029 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30031         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30032         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30033         magic __ehdr_start linker symbol if it's defined.
30034         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30035         them up here if it was already done.
30037         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30038         (_dl_aux_init): Use const in cast when setting it.
30039         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30040         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30041         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30043         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30044         Declare them here.
30045         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30046         * csu/libc-tls.c: Nor here.
30047         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30049         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30050         (__libc_message): Never call vsyslog.
30052 2013-03-28  Alan Modra  <amodra@gmail.com>
30054         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30055         Define as empty.
30056         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30057         Likewise.
30059 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30061         [BZ #15214]
30062         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30063         underflow.
30064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30066 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30068         [BZ #15304]
30069         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30070         Don't add gid passed as argument.
30072         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30074 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30076         [BZ #15307]
30077         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30078         imaginary part between 1.0 and 1.5 and real part less than 0.5
30079         specially.
30080         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30081         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30082         * math/libm-test.inc (cacos_test): Add more tests.
30083         (casin_test): Likewise.
30084         (casinh_test): Likewise.
30085         * sysdeps/i386/fpu/libm-test-ulps: Update.
30086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30088 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30090         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30091         constants.
30092         (norm): Likewise.
30093         (denorm): Likewise.
30094         (__dbl_mp): Likewise.
30095         (add_magnitudes): Likewise.
30096         (sub_magnitudes): Likewise.
30097         (__add): Likewise.
30098         (__sub): Likewise.
30099         (__mul): Likewise.
30100         (__sqr): Likewise.
30101         (__inv): Likewise.
30102         (__dvd): Likewise.
30104         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30105         commented code.
30106         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30107         (__dubcos): Likewise.
30108         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30109         (__ieee754_acos): Likewise.
30110         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30111         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30112         (__exp1): Likewise.
30113         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30114         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30115         (log1): Likewise.
30116         (my_log2): Likewise.
30117         (checkint): Likewise.
30118         * sysdeps/ieee754/dbl-64/e_remainder.c
30119         (__ieee754_remainder): Likewise.
30120         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30122         (bsloww): Likewise.
30123         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30125         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30126         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30127         MANTISSA_STORE_T to store computations on mantissa.  Use
30128         macros for rounding and division.
30129         (denorm): Likewise.
30130         (__dbl_mp): Likewise.
30131         (add_magnitudes): Likewise.
30132         (sub_magnitudes): Likewise.
30133         (__mul): Likewise.
30134         (__sqr): Likewise.
30135         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30136         powers of two in terms of TWOPOW macro.
30137         (mp_no): Make type of mantissa as MANTISSA_T.
30138         [!RADIXI]: Define RADIXI.
30139         [!TWO52]: Define TWO52.
30140         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30142 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30144         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30145         llroundl symbol when building for PPC32.
30147 2013-03-24  Mark H Weaver  <mhw@netris.org>
30149         * manual/arith.texi (Normalization Functions): Fix prototypes for
30150         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30152 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30154         [BZ #13889]
30155         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30156         high value to check if expl overflow.
30157         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30158         to check for underflow and overflow.
30159         * math/libm-test.inc: Add exp test.
30161 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30163         [BZ #11120]
30164         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30165         with NOT_IN_libc.
30167 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30169         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30170         symbol.
30172 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30174         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30175         wrap blocks consisting of several statements.
30177         * sysdeps/generic/math-tests.h: New file.
30178         * sysdeps/i386/fpu/math-tests.h: Likewise.
30179         * math/test-snan.c: Include it.
30180         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30182 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30184         [BZ #15285]
30185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30186         (__ieee754_j0l): Do not improve calculations using cos of twice
30187         input for inputs above LDBL_MAX / 2.0L.
30188         (__ieee754_y0l): Likewise.
30189         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30190         (__ieee754_j1l): Do not improve calculations using cos of twice
30191         input for inputs above LDBL_MAX / 2.0L.
30192         (__ieee754_y1l): Likewise.
30193         * math/libm-test.inc (j0_test): Add another test.
30194         (j1_test): Likewise.
30195         (y0_test): Likewise.
30196         (y1_test): Likewise.
30197         * sysdeps/i386/fpu/libm-test-ulps: Update.
30199 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30201         * Rules ($(objpfx)bench-%.c): Include code from a C source
30202         file.
30204 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30206         [BZ #15287]
30207         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30208         imaginary part 1.0 and real part less than 0.5 specially.
30209         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30210         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30211         * math/libm-test.inc (cacos_test): Add more tests.
30212         (casin_test): Likewise.
30213         (casinh_test): Likewise.
30214         * sysdeps/i386/fpu/libm-test-ulps: Update.
30215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30217 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30220         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30222 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30224         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30225         * config.make.in (config-cflags-sse4): Remove variable.
30226         (config-cflags-avx): Likewise.
30227         (config-cflags-sse2avx): Likewise.
30228         (config-cflags-novzeroupper): Likewise.
30229         (config-asflags-i686): Likewise.
30230         (have-mfma4): Likewise.
30231         (have-as-vis3): Likewise.
30232         (MIG): Likewise.
30233         * configure.in (MIG): Do not AC_SUBST.
30234         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30235         (libc_cv_cc_sse4): Do not AC_SUBST.
30236         (libc_cv_cc_avx): Likewise.
30237         (libc_cv_cc_sse2avx): Likewise.
30238         (libc_cv_cc_novzeroupper): Likewise.
30239         (libc_cv_cc_fma4): Likewise.
30240         (libc_cv_as_i686): Likewise.
30241         (libc_cv_sparc_as_vis3): Likewise.
30242         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30243         LIBC_CONFIG_VAR.
30244         (config-asflags-i686): Likewise.
30245         (config-cflags-avx): Likewise.
30246         (config-cflags-sse2avx): Likewise.
30247         (have-mfma4): Likewise.
30248         (config-cflags-novzeroupper): Likewise.
30249         * sysdeps/mach/configure.in (MIG): Likewise.
30250         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30251         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30252         LIBC_CONFIG_VAR.
30253         (config-cflags-avx): Likewise.
30254         (config-cflags-sse2avx): Likewise.
30255         (have-mfma4): Likewise.
30256         (config-cflags-novzeroupper): Likewise.
30257         * configure: Regenerated.
30258         * sysdeps/i386/configure: Likewise.
30259         * sysdeps/mach/configure: Likewise.
30260         * sysdeps/sparc/configure: Likewise.
30261         * sysdeps/x86_64/configure: Likewise.
30263 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30265         [BZ #14812]
30266         * locale/programs/localedef.c (options): Put N_ translation marker
30267         on argument names, not just descriptions.
30269 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30271         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30273 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30275         [BZ #14176]
30276         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30278 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30280         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30281         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30282         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30283         [!BEFORE_ABORT] (before_abort): New function.
30284         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30285         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30286         (writev_for_fatal): New function.
30287         (WRITEV_FOR_FATAL): New macro; call that.
30288         (backtrace_and_maps): New function.
30289         (BEFORE_ABORT): New macro; call that.
30290         (struct str_list): Type removed.
30291         (__libc_message, __libc_fatal): Functions removed.
30292         Include <sysdeps/posix/libc_fatal.c> instead.
30294 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30296         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30297         constants.
30298         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30299         double constants.
30301 2013-03-19  Andreas Schwab  <schwab@suse.de>
30303         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30304         * sysdeps/gnu/configure: Regenerate.
30306         * configure.in: Substitute libc_cv_rtlddir.
30307         * configure: Regenerate.
30308         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30309         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30310         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30311         * elf/Makefile (install-others, CFLAGS-interp.c)
30312         (ldso_install, common-ldd-rewrite): Likewise.
30313         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30314         $(inst_slibdir)/$(rtld-installed-name).
30315         * scripts/rellns-sh: Add -p option.
30316         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30317         for source.
30319 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30321         * manual/nptl.texi: Renamed to ...
30322         * manual/threads.texi: ... this.
30323         * manual/Makefile (chapters): Update.
30325 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30327         [BZ #14812]
30328         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30329         on argument names, not just descriptions.
30330         * malloc/memusagestat.c (options): Likewise.
30331         * nss/getent.c (options): Likewise.
30333 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30335         [BZ #14812]
30336         * iconv/iconv_prog.c (options): Put N_ translation marker
30337         on argument names, not just descriptions.
30338         * iconv/iconvconfig.c (options): Likewise.
30340 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30342         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30343         implementation which is faster on all x86_64 architectures.
30344         Tested on AMD, Intel Nehalem, SNB, IVB.
30345         * sysdeps/x86_64/strnlen.S: Likewise.
30347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30348         Remove all multiarch strlen and strnlen versions.
30349         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30350         Remove strlen and strnlen related parts.
30352         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30353         Inline strlen part.
30354         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30356         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30357         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30358         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30359         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30360         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30361         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30363 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30365         * manual/memory.texi (Malloc Tunable Parameters):
30366         Sort parameters alphabetically. Add comments for missing entries.
30368 2013-03-17  David S. Miller  <davem@davemloft.net>
30370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30372 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30374         [BZ #15283]
30375         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30376         for arguments at most half maximum finite value.
30377         * math/libm-test.inc (j0_test): Add more tests.
30378         (j1_test): Likewise.
30379         (y0_test): Likewise.
30380         (y1_test): Likewise.
30381         * sysdeps/i386/fpu/libm-test-ulps: Update.
30382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30384         [BZ #14155]
30385         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30386         1 / x and functions P and Q for arguments above 0x1p256L.
30387         (__ieee754_y0l): Likewise.
30388         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30389         (__ieee754_y1l): Likewise.
30390         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30391         (j1_test): Likewise.
30392         (y0_test): Likewise.
30393         (y1_test): Likewise.
30395 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30397         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30398         variable.
30400 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30402         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30403         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30404         zero since it's initialized to EXEC_PAGESIZE.
30406         * sysdeps/unix/sysv/linux/ldsodefs.h
30407         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30408         * sysdeps/generic/ldsodefs.h: ... here.
30410 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30412         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30414         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30415         math/test-snan.c.
30416         * math/test-snan.c: Renamed from
30417         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30418         * math/Makefile (tests): Add test-snan.
30419         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30420         test-powerpc-snan.
30422         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30423         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30424         functions.
30425         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30426         __builtin_nan family of functions.
30427         * math/libm-test.inc (initialize): Initialize qnan_value with
30428         __builtin_nan family of functions.
30429         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30430         Remove variables.
30431         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30432         Remove functions.
30433         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30434         storage class.  Initialize qNaN_var and sNaN_var with
30435         __builtin_nan and __builtin_nans families of functions,
30436         respectively.
30438         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30439         (sqrt_test): Remove duplicate test with qNaN input.
30440         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30441         (round_test, signbit_test, significand_test): Note missing +/-Inf
30442         as well as qNaN tests.
30444         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30445         qNaN_var.  Fix a few strings, too.
30446         * math/libm-test.inc (nan_value): Rename to qnan_value.
30447         * math/gen-libm-test.pl (%beautify): Adjust to that.
30448         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30449         * math/test-misc.c (main): Likewise.
30450         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30451         to __qnan_bytes, and __qnan_union, respectively.
30452         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30453         Likewise.
30454         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30455         and lqnanval, respectively.
30456         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30457         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30458         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30459         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30461         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30462         * math/test-misc.c (main) [__x86_64__]: Enable test for long
30463         doubles.
30465         * math/test-misc.c (main): Fix copy'n'pastos.
30466         * misc/tst-efgcvt.c (special): Likewise.
30468         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30469         Remove declarations.
30471 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30473         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30474         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30475         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30476         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30478 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30480         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30481         macro to return vdso values correctly in IFUNC implementations.
30482         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30483         Optimization by using IFUNC.
30485 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30486             Richard Henderson  <rth@redhat.com>
30487             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30489         * Makefile.in (bench): New target.
30490         * NEWS: Mention the benchmark framework.
30491         * Rules (bench): Likewise.
30492         (binaries-bench): Generate binaries for functions to
30493         benchmark.
30494         * benchtests/Makefile: New makefile for benchmark tests.
30495         * benchtests/bench-skeleton.c: New skeleton file for benchmark
30496         programs.
30497         * benchtests/exp-inputs: New input file for EXP function.
30498         * benchtests/pow-inputs: New input file for POW function.
30499         * scripts/bench.pl: New script to generate source files for
30500         benchmark programs.
30502 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30504         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30505         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30506         computations on mantissa.  Use macros for rounding and
30507         division.
30508         (denorm): Likewise.
30509         (__dbl_mp): Likewise.
30510         (add_magnitudes): Likewise.
30511         (sub_magnitudes): Likewise.
30512         (__mul): Likewise.
30513         (__sqr): Likewise.
30514         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30515         powers of two in terms of TWOPOW macro.
30516         (mp_no): Make type of mantissa as MANTISSA_T.
30517         [!RADIXI]: Define RADIXI.
30518         [!TWO52]: Define TWO52.
30519         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30521         * manual/nptl.texi (cindex): Modify threads to pthreads.
30523 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
30525         * sysdeps/x86_64/preconfigure: Regenerated.
30527 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
30529         [BZ #14155]
30530         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30531         0x1p28 and above.
30532         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30533         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30534         0x1p28 and above.
30535         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30536         * math/libm-test.inc (j0_test): Do not allow one spurious
30537         underflow exception.
30538         (y1_test): Likewise.
30540 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30542         * manual/Makefile (chapters): Add nptl.
30543         * manual/debug.texi (Debugging Support): Add link to Threads
30544         chapter.
30545         * manual/nptl.texi: New file.
30547         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30549 2013-03-14  Petr Baudis  <pasky@ucw.cz>
30551         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30552         for non-NULL pointer before the memory validity test. Pointed
30553         out by Holger Brunck <holger.brunck@keymile.com>.
30555 2013-03-13  Andreas Schwab  <schwab@suse.de>
30557         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30558         instead of .os.
30560 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
30562         * timezone/zic.c: Update from tzcode 2013b.
30564 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
30566         * manual/install.texi (Configuring and compiling):
30567         Mention i686 and i586.
30568         * INSTALL: Regenerate.
30570 2013-03-12  Roland McGrath  <roland@hack.frob.com>
30572         * sysdeps/init_array/elf-init.c: New file.
30573         * csu/elf-init.c
30574         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30575         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30577         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30578         __gmon_start__ as global, but as static with a .preinit_array pointer.
30579         * sysdeps/init_array/gmon-start.c: New file.  Use that.
30580         * sysdeps/init_array/crti.S: New file, empty except for comments.
30581         * sysdeps/init_array/crtn.S: Likewise.
30583 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
30585         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30586         definining bcopy.
30587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30588         Remove Prefer_SSE_for_memop.
30589         * sysdeps/x86_64/multiarch/init-arch.h: Remove
30590         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30591         HAS_PREFER_SSE_FOR_MEMOP.
30592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30593         memset-x86-64.
30594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30595         Remove bzero, memset ifunc support.
30596         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30597         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30598         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30599         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30601 2013-03-11  Andreas Schwab  <schwab@suse.de>
30603         [BZ #15234]
30604         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30605         by SHLIB_COMPAT.
30606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30607         (GLIBC_2.16): Remove pthread_atfork.
30609 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30611         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30612         (ptestcases.h): Likewise.
30614 2013-03-08  Roland McGrath  <roland@hack.frob.com>
30616         * Makeconfig ($(common-objpfx)config.status): Depend on
30617         sysdeps/*/preconfigure{,.in} too.
30619 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
30621         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30622         (__free_hook): Use void * instead of __malloc_ptr_t.
30623         (__malloc_hook): Likewise.
30624         (__realloc_hook): Likewise.
30625         (__memalign_hook): Likewise.
30626         (__after_morecore_hook): Likewise.
30627         * malloc/arena.c (save_malloc_hook): Likewise.
30628         (save_free_hook): Likewise.
30629         * malloc/hooks.c (malloc_hook_ini): Likewise.
30630         (realloc_hook_ini): Likewise.
30631         (memalign_hook_ini): Likewise.
30632         * malloc/malloc.c (malloc_hook_ini): Likewise.
30633         (realloc_hook_ini): Likewise.
30634         (memalign_hook_ini): Likewise.
30635         (__free_hook): Likewise.
30636         (__malloc_hook): Likewise.
30637         (__realloc_hook): Likewise.
30638         (__memalign_hook): Likewise.
30639         (__libc_malloc): Likewise.
30640         (__libc_free): Likewise.
30641         (__libc_realloc): Likewise.
30642         (__libc_memalign): Likewise.
30643         (__libc_valloc): Likewise.
30644         (__libc_pvalloc): Likewise.
30645         (__libc_calloc): Likewise.
30646         (__posix_memalign): Likewise.
30647         * malloc/morecore.c (__sbrk): Likewise.
30648         (__default_morecore): Likewise.
30650         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30652         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30653         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30654         __malloc_ptrdiff_t.
30656         * malloc/malloc.h (__malloc_size_t): Remove macro.
30657         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30658         __malloc_size_t.
30659         (old_memalign_hook): Likewise.
30660         (old_realloc_hook): Likewise.
30661         (struct hdr): Likewise.
30662         (flood): Likewise.
30663         (mallochook): Likewise.
30664         (memalignhook): Likewise.
30665         (reallochook): Likewise.
30666         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30667         (tr_old_realloc_hook): Likewise.
30668         (tr_old_memalign_hook): Likewise.
30669         (tr_mallochook): Likewise.
30670         (tr_reallochook): Likewise.
30671         (tr_memalignhook): Likewise.
30673 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30676         default_ldbl_pack and using as default implementation.
30677         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30678         implementation.
30679         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30680         redundant definition.
30681         (ldbl_insert_mantissa): Likewise.
30682         (ldbl_canonicalize): Likewise.
30683         (ldbl_nearbyint): Likewise.
30684         (ldbl_pack): Rename to ldbl_pack_ppc.
30685         (ldbl_unpack): Rename to ldbl_unpack_ppc.
30686         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30687         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30689 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30692         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30693         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30694         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30696         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30697         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30698         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30700 2013-03-07  Andreas Jaeger  <aj@suse.de>
30702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30703         bits/mman-linux.h.
30705 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30707         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30708         Include mpa.h and declare __MPEXP.
30709         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30710         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30711         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30712         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30713         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30714         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30715         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30717         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30718         (__slowpow): Use long double EXPL and LOGL functions to
30719         compute POW.
30720         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30721         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30722         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30723         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30724         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30725         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30728         intermediate variable to calculate exponent.
30729         (__sqr): Likewise.
30730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30731         Likewise.
30732         (__sqr): Likewise.
30734         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30735         [!NO__SQR]: Define __sqr.
30736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30737         and NO__SQR.  Remove all code except __mul and __sqr.  Include
30738         sysdeps/ieee754/dbl-64/mpa.c.
30739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30741         [BZ #12723]
30742         * posix/Makefile (tests): Add tst-pathconf.
30743         * posix/tst-pathconf.c: New test case.
30744         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30745         _PC_PIPE_BUF.
30746         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30748 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
30750         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30752 2013-03-06  Andreas Jaeger  <aj@suse.de>
30754         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30755         definition via __MAP_ANONYMOUS.
30757         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30758         it's not part of Linux headers.
30760         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30761         (MAP_HUGE_MASK): Define.
30763         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30764         Define.
30765         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30766         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30767         Define.
30768         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30769         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30770         Define.
30771         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30772         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30773         Define.
30774         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30776         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30777         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30778         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30779         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30780         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30781         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30783         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30784         Handle f2fs.
30786         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30787         Handle f2fs and efivarfs.
30789         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30790         f2fs.
30792         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30793         (EFIVARFS_MAGIC): Add.
30794         (F2FS_LINK_MAX): Add.
30796 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30798         * stdio-common/vfprintf.c: Replace __builtin_expect with
30799         __glibc_unlikely.
30801 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
30803         [BZ #13550]
30804         * sysdeps/generic/bp-sym.h: Remove file.
30805         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30806         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30807         <bp-sym.h> and <bp-asm.h>.
30808         (__longjmp): Don't use BP_SYM.
30809         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30810         and <bp-asm.h>.
30811         (memcpy): Don't use BP_SYM.
30812         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30813         <bp-sym.h> and <bp-asm.h>.
30814         (memcpy): Don't use BP_SYM.
30815         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30816         <bp-asm.h>.
30817         (memcpy): Don't use BP_SYM.
30818         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30819         <bp-asm.h>.
30820         (memset): Don't use BP_SYM.
30821         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30822         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30823         (__bzero): Don't use BP_SYM.
30824         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30825         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30826         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30827         <bp-sym.h> and <bp-asm.h>.
30828         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30829         pointers.
30830         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30831         <bp-sym.h> and <bp-asm.h>.
30832         (memcpy): Don't use BP_SYM.
30833         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30834         <bp-sym.h> and <bp-asm.h>.
30835         (memset): Don't use BP_SYM.
30836         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30837         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30838         (__bzero): Don't use BP_SYM.
30839         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30840         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30841         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30842         <bp-sym.h> and <bp-asm.h>.
30843         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30844         pointers.
30845         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30846         <bp-sym.h> and <bp-asm.h>.
30847         (memcpy): Don't use BP_SYM.
30848         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30849         <bp-sym.h> and <bp-asm.h>.
30850         (memset): Don't use BP_SYM.
30851         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30852         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30853         (__bzero): Don't use BP_SYM.
30854         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30855         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30856         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30857         <bp-sym.h> and <bp-asm.h>.
30858         (__memchr): Don't use BP_SYM.
30859         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30860         <bp-sym.h> and <bp-asm.h>.
30861         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30862         pointers.
30863         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30864         <bp-sym.h> and <bp-asm.h>.
30865         (memcpy): Don't use BP_SYM.
30866         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30867         <bp-sym.h> and <bp-asm.h>.
30868         (__mempcpy): Don't use BP_SYM.
30869         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30870         <bp-sym.h> and <bp-asm.h>.
30871         (__memrchr): Don't use BP_SYM.
30872         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30873         <bp-sym.h> and <bp-asm.h>.
30874         (memset): Don't use BP_SYM.
30875         (__bzero): Likewise.
30876         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30877         <bp-sym.h> and <bp-asm.h>.
30878         (__rawmemchr): Don't use BP_SYM.
30879         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30880         <bp-sym.h> and <bp-asm.h>.
30881         (__STRCMP): Don't use BP_SYM.
30882         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30883         <bp-sym.h> and <bp-asm.h>.
30884         (strchr): Don't use BP_SYM.
30885         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30886         <bp-sym.h> and <bp-asm.h>.
30887         (__strchrnul): Don't use BP_SYM.
30888         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30889         <bp-sym.h> and <bp-asm.h>.
30890         (strlen): Don't use BP_SYM.
30891         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30892         <bp-sym.h> and <bp-asm.h>.
30893         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30894         pointers.
30895         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30896         <bp-sym.h> and <bp-asm.h>.
30897         (__strnlen): Don't use BP_SYM.
30898         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30899         <bp-sym.h> and <bp-asm.h>.
30900         (__GI__setjmp): Don't use BP_SYM.
30901         (_setjmp): Likewise.
30902         (__sigsetjmp): Likewise.
30903         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30904         (L(start_addresses)): Don't use BP_SYM.
30905         (_start): Likewise.
30906         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30907         <bp-asm.h>.
30908         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30909         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30910         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30911         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30912         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30913         <bp-asm.h>.
30914         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30915         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30916         about bounded pointers.
30917         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30918         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30919         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30920         <bp-asm.h>.
30921         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30922         about bounded pointers.  Remove GKM FIXME comments.
30923         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30924         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30925         <bp-asm.h>.
30926         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30927         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30928         Remove GKM FIXME comments.
30929         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30930         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30931         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30932         <bp-asm.h>.
30933         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30934         about bounded pointers.  Remove GKM FIXME comment.
30935         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30936         and <bp-asm.h>.
30937         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30938         pointers.
30939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30940         <bp-sym.h> and <bp-asm.h>.
30941         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30943         <bp-sym.h> and <bp-asm.h>.
30944         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30945         comment.
30947 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30949         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30950         call free(NULL).
30952 2013-03-05  David S. Miller  <davem@davemloft.net>
30954         * po/es.po: Update from translation team.
30956 2013-03-05  Andreas Jaeger  <aj@suse.de>
30958         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30959         <bits/mman-linux.h>.
30960         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30961         is fine.
30962         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30963         <bits/mman-linux.h> to end of file.
30964         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30965         is fine.
30966         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30967         <bits/mman-linux.h> to end of file.
30968         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30969         is fine.
30970         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30971         <bits/mman-linux.h> to end of file.
30973         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30974         (MCL_CURRENT, MCL_FUTURE): Define here.
30976 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30978         [BZ #15232]
30979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30980         attribute_hidden.
30981         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30983 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30985         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30986         fourth parameter needed for rt_sigprocmask syscall.
30987         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30988         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30989         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30990         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30991         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30992         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30994 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30996         [BZ #13550]
30997         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30998         comment about bounded pointers.
30999         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31000         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31002 2013-03-04  Andreas Jaeger  <aj@suse.de>
31004         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31005         common definitions.
31007         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31008         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31009         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31010         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31012         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31014 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31016         [BZ #15055]
31017         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31018         __ieee754_sqrl instead of __sqrl.
31020 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31022         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31023         * sysdeps/powerpc/fpu_control.h: ... here.
31024         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31025         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31026         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31027         * sysdeps/powerpc/bits/mathinline.h: ... here.
31029 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31031         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31032         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31033         to just [NEED_DL_SYSINFO_DSO].
31034         * elf/dl-support.c: Likewise.
31035         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31036         * elf/rtld.c (dl_main): Likewise.
31037         * elf/setup-vdso.h (setup_vdso): Likewise.
31038         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31039         * sysdeps/unix/sysv/linux/dl-sysdep.c
31040         (_dl_discover_osversion): Likewise.
31042 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31044         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31045         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31047 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31049         * NEWS: Mention libm performance improvements and non-x86 PI
31050         futex support.
31052         * csu/libc-start.c (__pthread_initialize_minimal): Change
31053         function arguments.
31054         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31056 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31058         [BZ #13550]
31059         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31060         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31061         <bp-sym.h> and <bp-asm.h>.
31062         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31063         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31064         and <bp-asm.h>.
31065         (memcpy): Don't use BP_SYM.
31066         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31067         <bp-asm.h>.
31068         (__mpn_add_n): Don't use BP_SYM.
31069         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31070         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31071         and <bp-asm.h>.
31072         (__mpn_addmul_1): Don't use BP_SYM.
31073         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31074         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31075         <bp-sym.h>.
31076         (_setjmp): Don't use BP_SYM.
31077         (__novmx_setjmp): Likewise.
31078         (__GI__setjmp): Likewise.
31079         (__vmx_setjmp): Likewise.
31080         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31081         <bp-sym.h>.
31082         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31083         (__bzero): Don't use BP_SYM.
31084         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31085         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31086         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31087         <bp-sym.h> and <bp-asm.h>.
31088         (memcpy): Don't use BP_SYM.
31089         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31090         <bp-sym.h> and <bp-asm.h>.
31091         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31092         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31093         <bp-sym.h> and <bp-asm.h>.
31094         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31095         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31096         <bp-asm.h>.
31097         (__mpn_lshift): Don't use BP_SYM.
31098         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31099         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31100         <bp-asm.h>.
31101         (memset): Don't use BP_SYM.
31102         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31103         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31104         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31105         <bp-asm.h>.
31106         (__mpn_mul_1): Don't use BP_SYM.
31107         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31108         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31109         <bp-sym.h> and <bp-asm.h>.
31110         (memcmp): Don't use BP_SYM.
31111         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31112         <bp-sym.h> and <bp-asm.h>.
31113         (memcpy): Don't use BP_SYM.
31114         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31115         <bp-sym.h> and <bp-asm.h>.
31116         (memset): Don't use BP_SYM.
31117         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31118         <bp-sym.h> and <bp-asm.h>.
31119         (strncmp): Don't use BP_SYM.
31120         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31121         <bp-sym.h> and <bp-asm.h>.
31122         (memcpy): Don't use BP_SYM.
31123         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31124         <bp-sym.h> and <bp-asm.h>.
31125         (memset): Don't use BP_SYM.
31126         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31127         <bp-sym.h> and <bp-asm.h>.
31128         (__memchr): Don't use BP_SYM.
31129         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31130         <bp-sym.h> and <bp-asm.h>.
31131         (memcmp): Don't use BP_SYM.
31132         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31133         <bp-sym.h> and <bp-asm.h>.
31134         (memcpy): Don't use BP_SYM.
31135         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31136         <bp-sym.h> and <bp-asm.h>.
31137         (__mempcpy): Don't use BP_SYM.
31138         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31139         <bp-sym.h> and <bp-asm.h>.
31140         (__memrchr): Don't use BP_SYM.
31141         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31142         <bp-sym.h> and <bp-asm.h>.
31143         (memset): Don't use BP_SYM.
31144         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31145         <bp-sym.h> and <bp-asm.h>.
31146         (__rawmemchr): Don't use BP_SYM.
31147         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31148         <bp-sym.h> and <bp-asm.h>.
31149         (__STRCMP): Don't use BP_SYM.
31150         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31151         <bp-sym.h> and <bp-asm.h>.
31152         (strchr): Don't use BP_SYM.
31153         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31154         <bp-sym.h> and <bp-asm.h>.
31155         (__strchrnul): Don't use BP_SYM.
31156         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31157         <bp-sym.h> and <bp-asm.h>.
31158         (strlen): Don't use BP_SYM.
31159         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31160         <bp-sym.h> and <bp-asm.h>.
31161         (strncmp): Don't use BP_SYM.
31162         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31163         <bp-sym.h> and <bp-asm.h>.
31164         (__strnlen): Don't use BP_SYM.
31165         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31166         <bp-asm.h>.
31167         (__mpn_rshift): Don't use BP_SYM.
31168         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31169         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31170         <bp-sym.h> and <bp-asm.h>.
31171         (__sigsetjmp): Don't use BP_SYM.
31172         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31173         (L(start_addresses)): Don't use BP_SYM.
31174         (_start): Likewise.
31175         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31176         <bp-asm.h>.
31177         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31178         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31179         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31180         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31181         <bp-asm.h>.
31182         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31183         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31184         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31185         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31186         <bp-asm.h>.
31187         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31188         comments.
31189         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31190         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31191         <bp-asm.h>.
31192         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31193         FIXME comments.
31194         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31195         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31196         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31197         <bp-asm.h>.
31198         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31199         comment.
31200         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31201         and <bp-asm.h>.
31202         (strncmp): Don't use BP_SYM,
31203         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31204         <bp-asm.h>.
31205         (__mpn_sub_n): Don't use BP_SYM.
31206         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31207         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31208         and <bp-asm.h>.
31209         (__mpn_submul_1): Don't use BP_SYM.
31210         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31212         <bp-sym.h> and <bp-asm.h>.
31213         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31215         <bp-sym.h> and <bp-asm.h>.
31216         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31217         comment.
31219 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31222         Use ZK to minimize writes to Z.
31223         (sub_magnitudes): Simplify code a bit.
31224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31225         Use ZK to minimize writes to Z.
31226         (sub_magnitudes): Simplify code a bit.
31228 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31230         * csu/gmon-start.c: Add special exception to license text.
31232 2013-02-27  Richard Henderson  <rth@redhat.com>
31234         * scripts/config.guess: Update from config.git.
31235         * scripts/config.sub: Likewise.
31237 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31239         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31241         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31243         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31245         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31247         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31249 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31251         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31252         [$(build-shared = yes].
31254 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31256         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31257         (__mul): Reduce iterations for calculating mantissa.
31259         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31260         MPTWO.
31261         (__mpranred): Likewise.
31263         [BZ #15160]
31264         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31265         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31267 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31269         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31270         Define __attribute__.
31272 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31274         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31275         unused.
31276         * posix/regex_internal.h (__attribute): Remove.
31277         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31278         (re_string_context_at): Likewise.
31279         (bitset_not): Use __attribute__ and mark function as possibly
31280         unused.
31281         (bitset_merge): Likewise.
31282         (bitset_mask): Likewise.
31283         (re_string_char_size_at): Likewise.
31284         (re_string_wchar_at): Likewise.
31285         (re_string_elem_size_at): Likewise.
31287 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31289         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31290         code.
31291         (cc32): Likewise.
31293         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31294         (__acr): Likewise.
31295         (__cpy): Likewise.
31296         (norm): Likewise.
31297         (denorm): Likewise.
31298         (__dbl_mp): Likewise.
31299         (add_magnitudes): Likewise.
31300         (sub_magnitudes): Likewise.
31301         (__mul): Likewise.
31302         (__inv): Likewise.
31304         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31305         style.
31307         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31308         style.
31310         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31311         code.
31313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31314         up changes with default code.
31315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31316         Likewise.
31318 2013-02-24  Allan McRae  <allan@archlinux.org>
31320         * manual/socket.texi (The Internet Namespace): Order menu items
31321         to match that in the file.
31323         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31324         node listing of the info page menu.
31326 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31328         [BZ #13550]
31329         * sysdeps/i386/bp-asm.h: Remove file.
31330         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31331         (PARMS): Do not use macros from bp-asm.h.
31332         (S1): Likewise.
31333         (S2): Likewise.
31334         (SIZE): Likewise.
31335         (__mpn_add_n): Do not use BP_SYM
31336         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31337         "bp-asm.h".
31338         (PARMS): Do not use macros from bp-asm.h.
31339         (S1): Likewise.
31340         (SIZE): Likewise.
31341         (__mpn_addmul_1): Do not use BP_SYM
31342         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31343         "bp-asm.h".
31344         (PARMS): Do not use macros from bp-asm.h.
31345         (SIGMSK): Likewise.
31346         (_setjmp): Likewise.  Do not use BP_SYM.
31347         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31348         "bp-asm.h".
31349         (PARMS): Do not use macros from bp-asm.h.
31350         (SIGMSK): Likewise.
31351         (setjmp): Likewise.  Do not use BP_SYM.
31352         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31353         "bp-asm.h".
31354         (PARMS): Do not use macros from bp-asm.h.
31355         (__frexp): Do not use BP_SYM.
31356         (frexp): Likewise.
31357         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31358         "bp-asm.h".
31359         (PARMS): Do not use macros from bp-asm.h.
31360         (__frexpf): Do not use BP_SYM.
31361         (frexpf): Likewise.
31362         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31363         "bp-asm.h".
31364         (PARMS): Do not use macros from bp-asm.h.
31365         (__frexpl): Do not use BP_SYM.
31366         (frexpl): Likewise.
31367         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31368         "bp-asm.h".
31369         (PARMS): Do not use macros from bp-asm.h.
31370         (__remquo): Do not use BP_SYM.
31371         (remquo): Likewise.
31372         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31373         "bp-asm.h".
31374         (PARMS): Do not use macros from bp-asm.h.
31375         (__remquof): Do not use BP_SYM.
31376         (remquof): Likewise.
31377         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31378         "bp-asm.h".
31379         (PARMS): Do not use macros from bp-asm.h.
31380         (__remquol): Do not use BP_SYM.
31381         (remquol): Likewise.
31382         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31383         "bp-asm.h".
31384         (PARMS): Do not use macros from bp-asm.h.
31385         (DEST): Likewise.
31386         (SRC): Likewise.
31387         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31388         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31389         "bp-asm.h".
31390         (PARMS): Do not use macros from bp-asm.h.
31391         (strlen): Do not use BP_SYM.
31392         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31393         "bp-asm.h".
31394         (PARMS): Do not use macros from bp-asm.h.
31395         (S1): Likewise.
31396         (S2): Likewise.
31397         (SIZE): Likewise.
31398         (__mpn_add_n): Do not use BP_SYM.
31399         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31400         "bp-asm.h".
31401         (PARMS): Do not use macros from bp-asm.h.
31402         (S1): Likewise.
31403         (SIZE): Likewise.
31404         (__mpn_addmul_1): Do not use BP_SYM.
31405         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31406         weak_alias.
31407         (bzero): Likewise.
31408         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31409         "bp-asm.h".
31410         (PARMS): Do not use macros from bp-asm.h.
31411         (S): Likewise.
31412         (SIZE): Likewise.
31413         (__mpn_lshift): Do not use BP_SYM.
31414         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31415         "bp-asm.h".
31416         (PARMS): Do not use macros from bp-asm.h.
31417         (DEST): Likewise.
31418         (SRC): Likewise.
31419         (LEN): Likewise.
31420         (memcpy): Likewise.  Do not use BP_SYM.
31421         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31422         libc_hidden_def and weak_alias.
31423         (mempcpy): Do not use BP_SYM in weak_alias.
31424         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31425         "bp-asm.h".
31426         (PARMS): Do not use macros from bp-asm.h.
31427         (DEST): Likewise.
31428         (LEN): Likewise.
31429         [!BZERO_P] (CHR): Likewise.
31430         (memset): Likewise.  Do not use BP_SYM.
31431         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31432         "bp-asm.h".
31433         (PARMS): Do not use macros from bp-asm.h.
31434         (S1): Likewise.
31435         (SIZE): Likewise.
31436         (__mpn_mul_1): Do not use BP_SYM.
31437         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31438         "bp-asm.h".
31439         (PARMS): Do not use macros from bp-asm.h.
31440         (S): Likewise.
31441         (SIZE): Likewise.
31442         (__mpn_rshift): Do not use BP_SYM.
31443         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31444         "bp-asm.h".
31445         (PARMS): Do not use macros from bp-asm.h.
31446         (STR): Likewise.
31447         (CHR): Likewise.
31448         (strchr): Likewise.  Do not use BP_SYM.
31449         (index): Do not use BP_SYM in weak_alias.
31450         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31451         "bp-asm.h".
31452         (PARMS): Do not use macros from bp-asm.h.
31453         (DEST): Likewise.
31454         (SRC): Likewise.
31455         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
31456         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31457         "bp-asm.h".
31458         (PARMS): Do not use macros from bp-asm.h.
31459         (strlen): Do not use BP_SYM.
31460         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31461         "bp-asm.h".
31462         (PARMS): Do not use macros from bp-asm.h.
31463         (S1): Likewise.
31464         (S2): Likewise.
31465         (SIZE): Likewise.
31466         (__mpn_sub_n): Do not use BP_SYM.
31467         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31468         "bp-asm.h".
31469         (PARMS): Do not use macros from bp-asm.h.
31470         (S1): Likewise.
31471         (SIZE): Likewise.
31472         (__mpn_submul_1): Do not use BP_SYM.
31473         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31474         "bp-asm.h".
31475         (PARMS): Do not use macros from bp-asm.h.
31476         (S1): Likewise.
31477         (S2): Likewise.
31478         (SIZE): Likewise.
31479         (__mpn_add_n): Do not use BP_SYM.
31480         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31481         weak_alias.
31482         (bzero): Likewise.
31483         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31484         "bp-asm.h".
31485         (PARMS): Do not use macros from bp-asm.h.
31486         (BLK2): Likewise.
31487         (LEN): Likewise.
31488         (memcmp): Do not use BP_SYM.
31489         (bcmp): Do not use BP_SYM in weak_alias.
31490         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31491         "bp-asm.h".
31492         (PARMS): Do not use macros from bp-asm.h.
31493         (DEST): Likewise.
31494         (SRC): Likewise.
31495         (LEN): Likewise.
31496         (memcpy): Likewise.  Do not use BP_SYM.
31497         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31498         "bp-asm.h".
31499         (PARMS): Do not use macros from bp-asm.h.
31500         (DEST): Likewise.
31501         (SRC): Likewise.
31502         (LEN): Likewise.
31503         (memmove): Likewise.  Do not use BP_SYM.
31504         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31505         "bp-asm.h".
31506         (PARMS): Do not use macros from bp-asm.h.
31507         (DEST): Likewise.
31508         (SRC): Likewise.
31509         (LEN): Likewise.
31510         (__mempcpy): Likewise.  Do not use BP_SYM.
31511         (mempcpy): Do not use BP_SYM in weak_alias.
31512         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31513         "bp-asm.h".
31514         (PARMS): Do not use macros from bp-asm.h.
31515         (DEST): Likewise.
31516         (LEN): Likewise.
31517         [!BZERO_P] (CHR): Likewise.
31518         (memset): Likewise.  Do not use BP_SYM.
31519         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31520         "bp-asm.h".
31521         (PARMS): Do not use macros from bp-asm.h.
31522         (STR2): Likewise.
31523         (strcmp): Do not use BP_SYM.
31524         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31525         "bp-asm.h".
31526         (PARMS): Do not use macros from bp-asm.h.
31527         (STR): Likewise.
31528         (DELIM): Likewise.
31529         [USE_AS_STRTOK_R] (SAVE): Likewise.
31530         (FUNCTION): Likewise.  Do not use BP_SYM.
31531         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31532         aliases.
31533         (strtok_r): Likewise.
31534         (__GI___strtok_r): Likewise.
31535         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31536         (PARMS): Do not use macros from bp-asm.h.
31537         (S): Likewise.
31538         (SIZE): Likewise.
31539         (__mpn_lshift): Do not use BP_SYM.
31540         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31541         (PARMS): Do not use macros from bp-asm.h.
31542         (STR): Likewise.
31543         (CHR): Likewise.
31544         (__memchr): Do not use BP_SYM.
31545         (memchr): Do not use BP_SYM in weak_alias.
31546         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31547         (PARMS): Do not use macros from bp-asm.h.
31548         (BLK2): Likewise.
31549         (LEN): Likewise.
31550         (memcmp): Do not use BP_SYM.
31551         (bcmp): Do not use BP_SYM in weak_alias.
31552         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31553         (PARMS): Do not use macros from bp-asm.h.
31554         (S1): Likewise.
31555         (SIZE): Likewise.
31556         (__mpn_mul_1): Do not use BP_SYM.
31557         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31558         "bp-asm.h".
31559         (PARMS): Do not use macros from bp-asm.h.
31560         (STR): Likewise.
31561         (CHR): Likewise.
31562         (__rawmemchr): Do not use BP_SYM.
31563         (rawmemchr): Do not use BP_SYM in weak_alias.
31564         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31565         (PARMS): Do not use macros from bp-asm.h.
31566         (S): Likewise.
31567         (SIZE): Likewise.
31568         (__mpn_rshift): Do not use BP_SYM.
31569         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31570         (PARMS): Do not use macros from bp-asm.h.
31571         (SIGMSK): Likewise.
31572         (__sigsetjmp): Likewise.  Do not use BP_SYM.
31573         * sysdeps/i386/start.S: Do not include "bp-sym.h".
31574         (_start): Do not use BP_SYM.
31575         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31576         (PARMS): Do not use macros from bp-asm.h.
31577         (DEST): Likewise.
31578         (SRC): Likewise.
31579         (__stpcpy): Likewise.  Do not use BP_SYM.
31580         (stpcpy): Do not use BP_SYM in weak_alias.
31581         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31582         "bp-asm.h".
31583         (PARMS): Do not use macros from bp-asm.h.
31584         (DEST): Likewise.
31585         (SRC): Likewise.
31586         (LEN): Likewise.
31587         (__stpncpy): Likewise.  Do not use BP_SYM.
31588         (stpncpy): Do not use BP_SYM in weak_alias.
31589         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31590         (PARMS): Do not use macros from bp-asm.h.
31591         (STR): Likewise.
31592         (CHR): Likewise.
31593         (strchr): Likewise.  Do not use BP_SYM.
31594         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31595         "bp-asm.h".
31596         (PARMS): Do not use macros from bp-asm.h.
31597         (STR): Likewise.
31598         (CHR): Likewise.
31599         (__strchrnul): Likewise.  Do not use BP_SYM.
31600         (strchrnul): Do not use BP_SYM in weak_alias.
31601         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31602         "bp-asm.h".
31603         (PARMS): Do not use macros from bp-asm.h.
31604         (STOP): Likewise.
31605         (strcspn): Do not use BP_SYM.
31606         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31607         "bp-asm.h".
31608         (PARMS): Do not use macros from bp-asm.h.
31609         (STR): Likewise.
31610         (STOP): Likewise.
31611         (strpbrk): Likewise.  Do not use BP_SYM.
31612         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31613         "bp-asm.h".
31614         (PARMS): Do not use macros from bp-asm.h.
31615         (STR): Likewise.
31616         (CHR): Likewise.
31617         (strrchr): Likewise.  Do not use BP_SYM.
31618         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31619         (PARMS): Do not use macros from bp-asm.h.
31620         (SKIP): Likewise.
31621         (strspn): Do not use BP_SYM.
31622         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31623         (PARMS): Do not use macros from bp-asm.h.
31624         (STR): Likewise.
31625         (DELIM): Likewise.
31626         (SAVE): Likewise.
31627         (FUNCTION): Likewise.  Do not use BP_SYM.
31628         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31629         aliases.
31630         (strtok_r): Likewise.
31631         (__GI___strtok_r): Likewise.
31632         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31633         (PARMS): Do not use macros from bp-asm.h.
31634         (S1): Likewise.
31635         (S2): Likewise.
31636         (SIZE): Likewise.
31637         (__mpn_sub_n): Do not use BP_SYM.
31638         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31639         "bp-asm.h".
31640         (PARMS): Do not use macros from bp-asm.h.
31641         (S1): Likewise.
31642         (SIZE): Likewise.
31643         (__mpn_submul_1): Do not use BP_SYM.
31644         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31645         <bp-sym.h>.
31646         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31647         and <bp-asm.h>.
31648         (PARMS): Do not use macros from bp-asm.h.
31649         (FLAGS): Likewise.
31650         (PTID): Likewise.
31651         (TLS): Likewise.
31652         (CTID): Likewise.
31653         (__clone): Do not use BP_SYM.
31654         (clone): Do not use BP_SYM in weak_alias.
31655         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31656         and <bp-asm.h>.
31657         (PARMS): Do not use macros from bp-asm.h.
31658         (LEN): Likewise.
31659         (__mmap64): Do not use BP_SYM.
31660         (mmap64): Do not use BP_SYM in weak_alias.
31661         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31662         <bp-sym.h> and <bp-asm.h>.
31663         (PARMS): Do not use macros from bp-asm.h.
31664         (__posix_fadvise64_l64): Do not use BP_SYM.
31665         * sysdeps/unix/sysv/linux/i386/semtimedop.S
31666         (PARMS): Do not use macros from bp-asm.h.
31667         (NSOPS): Likewise.
31668         (semtimedop): Do not use BP_SYM.
31669         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31670         and <bp-asm.h>.
31672 2013-02-21  Allan McRae  <allan@archlinux.org>
31674         * manual/message.texi (Charset conversion in gettext):
31675         Move @end statement to beginning of line.
31677 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31680         static.
31681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31682         Likewise.
31684         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31685         (denorm): Likewise.
31686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31689 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31691         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31692         tail-call to the resolved function if pltexit isn't needed.
31694 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31697         or Y being zero as being unlikely.
31698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31699         Likewise.
31701 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
31703         * manual/nss.texi (System Databases and Name Service Switch):
31704         Remove frobnicate @pxref.
31706 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31708         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31709         __attribute__ ((unused)) to __attribute__ ((__unused__)).
31711 2013-02-20  Petr Machata  <pmachata@redhat.com>
31713         * elf/elf.h (R_ARM_TARGET1): New macro.
31714         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31715         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31716         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31717         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31718         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31719         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31720         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31721         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31722         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31723         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31724         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31725         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31726         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31727         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31728         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31729         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31730         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31731         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31732         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31733         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31734         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31735         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31736         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31737         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31738         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31739         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31740         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31741         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31742         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31743         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31744         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31745         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31746         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31747         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31748         (R_ARM_THM_GOT_BREL12): Likewise.
31749         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31750         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31751         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31752         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31753         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31754         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31755         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31756         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31757         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31759 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31761         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31762         __attribute_used__ to __attribute__ ((unused)).
31764 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31766         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31767         powerpc mpa.c.
31768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31769         comment formatting.
31770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31772 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
31774         [BZ #13550]
31775         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31776         Remove macro.
31777         (ENTER): Remove both macro definitions.
31778         (LEAVE): Likewise.
31779         (CHECK_BOUNDS_LOW): Likewise.
31780         (CHECK_BOUNDS_HIGH): Likewise.
31781         (CHECK_BOUNDS_BOTH): Likewise.
31782         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31783         (RETURN_BOUNDED_POINTER): Likewise.
31784         (RETURN_NULL_BOUNDED_POINTER): Likewise.
31785         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31786         (POP_ERRNO_LOCATION_RETURN): Likewise.
31787         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31788         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31789         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31790         macros.
31791         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31792         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31793         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31794         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31795         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31796         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31797         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31798         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31799         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31800         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31801         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31802         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31803         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31804         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31805         removed macros.
31806         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31807         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31808         macros.
31809         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31810         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31811         * sysdeps/i386/i586/memset.S (memset): Likewise.
31812         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31813         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31814         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31815         macros.
31816         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31817         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31818         Change uses of L(2) to L(out).
31819         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31820         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31821         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31822         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31823         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31824         removed macros.
31825         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31826         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31827         macros.
31828         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31829         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31830         (RETURN): Do not use macro LEAVE.
31831         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31832         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31833         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31834         * sysdeps/i386/i686/memset.S (memset): Likewise.
31835         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31836         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31837         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31838         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31839         Likewise.
31840         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31841         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31842         L(1_2) and L(1_3) into L(1).
31843         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31844         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31845         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31846         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31847         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31848         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31849         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31850         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31851         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31852         macros.
31853         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31854         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31855         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31856         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31857         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31858         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31859         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31860         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31861         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31862         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31863         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31864         * sysdeps/i386/strspn.S (strspn): Likewise.
31865         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31866         conditional code.
31867         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31868         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31869         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31870         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31871         L(1_3) into L(1_1).
31872         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31873         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31874         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31875         macros.
31876         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31878 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31880         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31881         macro.
31883 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31885         * math/atest-exp.c (exp_mpn): Remove ROUND.
31886         * math/atest-exp2.c (exp_mpn): Likewise.
31887         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31889         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31890         * stdlib/tst-tls-atexit-lib.c: Likewise.
31891         * stdlib/tst-tls-atexit.c: Likewise.
31893 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31895         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31896         and __attribute_alloc_size__.
31898 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31900         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31901         __attribute_alloc_size__.
31902         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31903         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31905 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31907         * include/programs/xmalloc.h: New file.
31908         * catgets/gencat.c: Include it.
31909         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31910         * elf/pldd.c: Likewise.
31911         * iconv/iconv_charmap.c: Likewise.
31912         * iconv/iconvconfig.c: Likewise.
31913         * iconv/strtab.c: Likewise.
31914         * locale/programs/locale.c: Likewise.
31915         * locale/programs/localedef.h: Likewise.
31916         * locale/programs/simple-hash.c: Likewise.
31917         * nscd/nscd.h: Likewise.
31918         * nss/makedb.c: Likewise.
31919         * sysdeps/generic/ldconfig.h: Likewise.
31921 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31923         * Versions.def: Add GLIBC_2.18.
31924         * include/link.h (struct link_map): New member l_tls_dtor_count.
31925         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31926         (__call_tls_dtors): Likewise.
31927         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31928         __cxa_thread_atexit_impl.
31929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31930         Likewise.
31931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31932         Likewise.
31933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31934         Likewise.
31935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31936         Likewise.
31937         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31939         Likewise.
31940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31941         Likewise.
31942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31944         Likewise.
31945         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31946         (tests): Add test case tst-tls-atexit.
31947         (modules-names): Add shared library for tst-tls-atexit.
31948         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31949         (GLIBC_PRIVATE): Add __call_tls_dtors.
31950         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31951         for libstdc++.
31952         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31953         * stdlib/tst-tls-atexit.c: New test case.
31954         * stdlib/tst-tls-atexit-lib.c: New test case.
31956         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31958         * elf/Versions (ld): Add _dl_find_dso_for_object.
31959         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31960         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31961         (dl_open_worker): Use _dl_find_dso_for_object.
31962         * elf/dl-sym.c (do_sym): Likewise.
31963         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31965 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31967         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31968         Syntactic changes only.
31969         (_dl_runtime_profile): Do a tail-call to the resolved function.
31971 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31973         [BZ #13550]
31974         * sysdeps/x86_64/bp-asm.h: Remove file.
31975         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31976         <bp-sym.h> and <bp-asm.h>.
31977         (__clone): Do not use BP_SYM.
31978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31979         <bp-sym.h> and <bp-asm.h>.
31980         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31981         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31982         "bp-asm.h".
31983         (_setjmp): Do not use BP_SYM.
31984         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31985         "bp-asm.h".
31986         (setjmp): Do not use BP_SYM.
31987         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31988         libc_hidden_def.
31989         (mempcpy): Do not use BP_SYM in weak_alias.
31990         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31991         "bp-asm.h".
31992         (strchr): Do not use BP_SYM.
31993         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31994         "bp-asm.h".
31995         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31996         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31997         (_start): Do not use BP_SYM.
31998         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31999         "bp-asm.h".
32000         (strcat): Do not use BP_SYM.
32001         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32002         "bp-asm.h".
32003         (STRCMP): Do not use BP_SYM.
32004         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32005         "bp-asm.h".
32006         (STRCPY): Do not use BP_SYM.
32007         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32008         "bp-asm.h".
32009         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32010         "bp-asm.h".
32011         (FUNCTION): Do not use BP_SYM.
32012         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32013         weak_alias.
32014         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32016 2013-02-17  Andreas Jaeger  <aj@suse.de>
32018         * time/Versions: Sort entries.
32019         * string/Versions: Likewise.
32020         * resolv/Versions: Likewise.
32021         * posix/Versions: Likewise.
32022         * iconv/Versions: Likewise.
32023         * elf/Versions: Likewise.
32024         * wcsmbs/Versions: Likewise.
32026 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32028         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32029         loop termination condition.
32031         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32032         variable to calculate EZ.
32033         (__sqr): Likewise.
32035         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32036         the lower precision input.
32038 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32040         [BZ #13550]
32041         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32042         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32043         (run-via-rtld-prefix): Do not handle %-bp tests.
32044         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32045         (all-object-suffixes): Remove .ob.
32046         (bppfx): Remove variable.
32047         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32048         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32049         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32050         [$(build-bounded) = yes] (libtype.ob): Likewise.
32051         * Makerules (elide-routines.ob): Remove variable.
32052         (do-tests-clean): Do not handle *-bp.out.
32053         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32054         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32055         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32056         (tests): Do not include $(tests-bp.out).
32057         (xtests): Do not include $(xtests-bp.out).
32058         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32059         [$(build-bounded) = yes] ($(addprefix
32060         $(objpfx),$(binaries-bounded))): Remove rule.
32061         ($(objpfx)%-bp.out): Remove rule.
32062         * config.make.in (build-bounded): Remove variable.
32063         * crypt/Makefile [$(build-bounded) = yes]
32064         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32065         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32066         append to variable.
32067         [$(build-bounded) = yes] (install-lib): Likewise.
32068         [$(build-bounded) = yes] (generated): Likewise.
32069         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32070         Remove rule.
32071         * intl/Makefile [$(build-bounded) = yes]
32072         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32073         * math/Makefile [$(build-bounded) = yes]
32074         ($(tests:%=$(objpfx)%-bp): Likewise.
32075         * misc/Makefile [$(build-bounded) = yes]
32076         ($(objpfx)tst-tsearch-bp): Likewise.
32077         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32078         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32079         Remove dependency.
32080         * string/Makefile (o-objects.ob): Remove variable.
32081         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32082         (CFLAGS-.ob): Remove variable.
32083         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32084         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32085         both definitions of variable.
32086         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32087         (ASFLAGS-.ob): Remove variable.
32089 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32091         [BZ #13550]
32092         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32093         Remove __BOUNDED_POINTERS__ from condition.
32094         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32095         * string/bits/string2.h [!__NO_STRING_INLINES &&
32096         !__BOUNDED_POINTERS__]: Likewise.
32097         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32098         Likewise.
32099         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32100         Remove conditional code.
32101         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32102         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32103         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32104         condition.
32106         [BZ #13550]
32107         * csu/libc-start.c: Do not include <bp-sym.h>.
32108         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32109         * elf/dl-open.c: Do not include <bp-sym.h>.
32110         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32111         * math/fegetenv.c: Do not include <bp-sym.h>.
32112         (fegetenv): Do not use BP_SYM in versioned symbols.
32113         * nptl/sysdeps/pthread/bits/libc-lockP.h
32114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32115         <bp-sym.h>.
32116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32117         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32119         (__pthread_mutex_destroy): Likewise.
32120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32121         (__pthread_mutex_lock): Likewise.
32122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32123         (__pthread_mutex_trylock): Likewise.
32124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32125         (__pthread_mutex_unlock): Likewise.
32126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32127         (__pthread_mutexattr_init): Likewise.
32128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32129         (__pthread_mutexattr_destroy): Likewise.
32130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32131         (__pthread_mutexattr_settype): Likewise.
32132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32133         (__pthread_rwlock_init): Likewise.
32134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32135         (__pthread_rwlock_destroy): Likewise.
32136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32137         (__pthread_rwlock_rdlock): Likewise.
32138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32139         (__pthread_rwlock_tryrdlock): Likewise.
32140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32141         (__pthread_rwlock_wrlock): Likewise.
32142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32143         (__pthread_rwlock_trywrlock): Likewise.
32144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32145         (__pthread_rwlock_unlock): Likewise.
32146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32147         (__pthread_key_create): Likewise.
32148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32149         (__pthread_setspecific): Likewise.
32150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32151         (__pthread_getspecific): Likewise.
32152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32153         Likewise.
32154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32155         (_pthread_cleanup_push_defer): Likewise.
32156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32157         (_pthread_cleanup_pop_restore): Likewise.
32158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32159         (pthread_setcancelstate): Likewise.
32160         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32161         <bp-sym.h>.
32162         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32163         (memchr): Do not use BP_SYM in weak_alias.
32164         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32165         (fegetenv): Do not use BP_SYM in versioned symbols.
32166         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32167         (fesetenv): Do not use BP_SYM in versioned symbols.
32168         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32169         (feupdateenv): Do not use BP_SYM in versioned symbols.
32170         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32171         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32172         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32173         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32174         (open64): Do not use BP_SYM in weak_alias.
32175         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32176         (fegetenv): Do not use BP_SYM in versioned symbols.
32177         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32178         (fesetenv): Do not use BP_SYM in versioned symbols.
32179         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32180         (feupdateenv): Do not use BP_SYM in versioned symbols.
32181         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32182         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32183         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32184         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32185         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32186         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32187         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32188         <bp-sym.h>.
32189         (__libc_start_main): Do not use BP_SYM.
32191 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32194         redundant return line.
32195         (norm): Likewise.
32196         (denorm): Likewise.
32197         (dbl_mp): Likewise.
32198         (sub_magnitudes): Likewise.
32199         (__add): Likewise.
32200         (__sub): Likewise.
32201         (__mul): Likewise.
32202         (__inv): Likewise.
32203         (__dvd): Likewise.
32204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32205         (norm): Likewise.
32206         (denorm): Likewise.
32207         (dbl_mp): Likewise.
32208         (sub_magnitudes): Likewise.
32209         (__add): Likewise.
32210         (__sub): Likewise.
32211         (__mul): Likewise.
32212         (__inv): Likewise.
32213         (__dvd): Likewise.
32215         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32216         instead of __mul.
32217         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32218         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32219         (cc32): Likewise.
32221         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32222         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32224         of __mul for squares.
32225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32226         function
32227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32228         Likewise.
32229         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32230         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32232 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32234         [BZ #13550]
32235         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32236         code.
32237         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32238         prototype or function definition.  Rename ubp_* variables and
32239         parameters.  Remove argv definitions conditional on
32240         [__BOUNDED_POINTERS__].
32241         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32242         * elf/dl-runtime.c (_dl_fixup): Likewise.
32243         * include/set-hooks.h (RUN_HOOK): Likewise.
32244         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32245         definition.
32246         * string/strcpy.c (strcpy): Do not use __unbounded.
32247         * sysdeps/generic/frame.h (struct layout): Likewise.
32248         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32249         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32250         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32251         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32252         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32253         (__backtrace): Likewise.
32254         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32255         use __ptrvalue.
32256         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32257         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32258         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32259         Likewise.
32260         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32261         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32262         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32263         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32264         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32265         Do not use __unbounded.
32266         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32267         Rename __unboundedrlimits parameter to rlimits in prototype.
32268         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32269         Do not use __unbounded.
32270         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32271         not use __ptrvalue.
32272         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32273         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32274         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32275         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32276         __ptrvalue or __unbounded.
32277         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32278         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32279         use __unbounded.
32280         (__new_msgctl): Do not use __ptrvalue.
32281         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32282         __unbounded.
32283         (__libc_msgrcv): Do not use __ptrvalue.
32284         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32285         startup_info): Do not use __unbounded.
32286         (__libc_start_main): Likewise.  Rename ubp_* variables and
32287         parameters.  Remove argv definitions conditional on
32288         [__BOUNDED_POINTERS__].
32289         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32290         __ptrvalue.
32291         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32292         use __unbounded.
32293         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32294         or __ptrvalue.
32295         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32296         use __unbounded.
32297         (__new_shmctl): Do not use __ptrvalue.
32298         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32299         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32300         Likewise.
32301         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32302         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32303         (__libc_sigaction): Likewise.
32304         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32305         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32306         Likewise.
32307         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32309 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32311         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32313         * string/mempcpy.c: Implement by calling memcpy.
32315 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32317         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32320         evaluation.
32322         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32323         values in the mantissa.
32325         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32326         minimize writes to Z.
32327         (sub_magnitudes): Simplify code a bit.
32329 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32331         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32332         from the message.  The linker prefixes all warnings with that already.
32334 2013-02-12  Andreas Schwab  <schwab@suse.de>
32336         [BZ #15078]
32337         * posix/regexec.c (extend_buffers): Add parameter min_len.
32338         (check_matching): Pass minimum needed length.
32339         (clean_state_log_if_needed): Likewise.
32340         (get_subexp): Likewise.
32341         * posix/Makefile (tests): Add bug-regex34.
32342         (bug-regex34-ENV): Define.
32343         * posix/bug-regex34.c: New file.
32345         [BZ #11561]
32346         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32347         elements compare against the byte sequence of it, not its name.
32348         * posix/Makefile (tests): Add bug-regex35.
32349         (bug-regex35-ENV): Define.
32350         * posix/bug-regex35.c: New file.
32352 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32354         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32355         comment.
32356         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32357         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32358         (CHECK_EOL): Add undef.
32360 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32362         * bits/stdlib-bsearch.h: New file.
32363         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32364         * stdlib/stdlib.h: Likewise.
32366 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32368         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32369         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32370         declaration.
32371         * manual/search.texi (Array Search Function): Add missing const in
32372         lfind prototype.
32373         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32374         declaration to use rlim_t.
32375         (Basic Scheduling Functions): Remove erroneous const from
32376         sched_getparam prototype.  Remove erroneous * from
32377         sched_get_priority_max and sched_get_priority_min prototypes.
32378         (Resource Usage): Fix summary @comment on vtimes to refer to
32379         sys/vtimes.h rather than vtimes.h.
32380         Add missing *s in vtimes prototype.
32381         (Limits on Resources): Fix ulimit prototype to return long int.
32382         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32383         prototypes to use long int rather than double.
32384         (BSD Random): Fix initstate and setstate to use char *, not void *.
32385         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32386         prototype to make second argument 'struct aiocb64 *const[]'.
32387         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32388         (Status of AIO Operations): Remove erroneous const in aio_return and
32389         aio_return64 prototypes.
32390         (Synchronizing I/O): Fix sync prototype to return void.
32391         * manual/startup.texi (Suboptions): Remove an erroneous const in
32392         getsubopt prototype.
32393         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32394         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32395         use size_t rather than int.
32396         (Scanning All Users): Likewise for getpwent_r.
32397         (Setting Groups): Add missing const to setgroups prototype.
32398         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32399         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32400         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32401         'const void *' rather than 'const char *'.
32402         (Host Address Functions): Likewise for inet_ntop.
32403         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32404         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32405         ssize_t for return value.
32406         (Sending Data): Likewise for send, sendto, sendmsg.
32407         (Socket Option Functions): Add a missing const in setsockopt prototype.
32408         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32409         use wchar_t for the argument.
32410         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32411         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32412         take no arguments.
32413         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32414         double/float/long double for second argument.
32415         Fix return types of significand, significandf, significandl.
32416         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32417         argument in fchmod prototype.
32418         (File Owner): Use uid_t and gid_t in fchown prototype.
32419         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32420         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32421         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32422         use 'const struct dirent **' as argument types to CMP function pointer
32423         argument.
32424         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32425         (File Times): Fix summary magic @comment for struct utimbuf and utime
32426         to refer to utime.h, not time.h.
32427         * manual/string.texi (Argz Functions): Add missing const in
32428         argz_extract and argz_next prototypes.
32429         (Finding Tokens in a String): Likewise for basename.
32430         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32431         (Copying and Concatenation): Fix typo in wmemmove prototype.
32432         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32433         (Signal Stack): Remove erroneous const in sigstack prototype.
32434         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32435         prototype.
32436         (Simple Calendar Time): Likewise for stime.
32437         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32438         prototype.
32439         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32440         say sys/sysctl.h instead.
32441         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32442         and vsyslog prototypes.
32444 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32446         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32447         Remove.
32449 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32451         * misc/sys/mman.h: Fix typo in mremap comment.
32453 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32455         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32456         the '\0' terminator.
32458 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32460         [BZ #13550]
32461         * debug/segfault.c: Don't include <bp-checks.h>.
32462         * sysdeps/generic/bp-checks.h: Remove file.
32463         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32464         (__GETDENTS): Don't use CHECK_N.
32465         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32466         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32467         (__getgroups): Don't use CHECK_N.
32468         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32469         (setgroups): Don't use CHECK_N.
32470         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32471         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32472         (__libc_msgrcv): Don't use CHECK_N.
32473         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32474         (__libc_msgsnd): Don't use CHECK_N.
32475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32476         <bp-checks.h>.
32477         (__libc_pread): Don't use CHECK_N.
32478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32479         include <bp-checks.h>.
32480         (__libc_pread64): Don't use CHECK_N.
32481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32482         include <bp-checks.h>.
32483         (__libc_pwrite): Don't use CHECK_N.
32484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32485         include <bp-checks.h>.
32486         (__libc_pwrite64): Don't use CHECK_N.
32487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32488         <bp-checks.h>.
32489         (__libc_pread): Don't use CHECK_N.
32490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32491         include <bp-checks.h>.
32492         (__libc_pread64): Don't use CHECK_N.
32493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32494         include <bp-checks.h>.
32495         (__libc_pwrite): Don't use CHECK_N.
32496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32497         include <bp-checks.h>.
32498         (__libc_pwrite64): Don't use CHECK_N.
32499         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32500         (do_pread): Don't use CHECK_N.
32501         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32502         (do_pread64): Don't use CHECK_N.
32503         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32504         (do_pwrite): Don't use CHECK_N.
32505         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32506         (do_pwrite64): Don't use CHECK_N.
32507         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32508         (__libc_readv): Don't use CHECK_N.
32509         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32510         (semop): Don't use CHECK_N.
32511         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32512         <bp-checks.h>.
32513         (semtimedop): Don't use CHECK_N.
32514         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32515         (__libc_pread): Don't use CHECK_N.
32516         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32517         <bp-checks.h>.
32518         (__libc_pread64): Don't use CHECK_N.
32519         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32520         <bp-checks.h>.
32521         (__libc_pwrite): Don't use CHECK_N.
32522         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32523         <bp-checks.h>.
32524         (__libc_pwrite64): Don't use CHECK_N.
32525         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32526         <bp-checks.h>.
32527         (__libc_msgrcv): Don't use CHECK_N.
32528         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32529         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
32530         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32531         (__libc_writev): Don't use CHECK_N.
32533 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32535         * string/strcpy.c: Removed unused variable.
32537         * Makeconfig (+sysdep-includes): Define with := rather than =.
32538         Use an existing include/ subdir of each sysdeps dir before it.
32540 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32542         * nscd/connection.c (register_traced_file): Comment function.
32543         [HAVE_INOTIFY] (union __inev): Define.
32544         [HAVE_INOTIFY] (inotify_check_files): New function.
32545         [HAVE_INOTIFY] (clear_db_cache): Likewise.
32546         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32547         clear_db_cache.
32548         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32550 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32552         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32553         loaded if not already and that a failure is permanent.
32555 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32557         [BZ #15006]
32558         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32559         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32561 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32563         [BZ #13550]
32564         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32565         (CHECK_1_NULL_OK): Likewise.
32566         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32567         (__fxstat): Do not use CHECK_1.
32568         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32569         <bp-checks.h>.
32570         (___fxstat64): Do not use CHECK_1.
32571         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32572         <bp-checks.h>.
32573         (__fxstatat): Do not use CHECK_1.
32574         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32575         <bp-checks.h>.
32576         (__fxstatat64): Do not use CHECK_1.
32577         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32578         <bp-checks.h>.
32579         (__fxstat): Do not use CHECK_1.
32580         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32581         <bp-checks.h>.
32582         (__fxstatat): Do not use CHECK_1.
32583         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32584         <bp-checks.h>.
32585         (__getresgid): Do not use CHECK_1.
32586         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32587         <bp-checks.h>.
32588         (__getresuid): Do not use CHECK_1.
32589         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32590         <bp-checks.h>.
32591         (__lxstat): Do not use CHECK_1.
32592         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32593         <bp-checks.h>.
32594         (__old_msgctl): Do not use CHECK_1.
32595         (__new_msgctl): Likewise.
32596         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32597         <bp-checks.h>.
32598         (__new_setrlimit): Do not use CHECK_1.
32599         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32600         <bp-checks.h>.
32601         (__old_shmctl): Do not use CHECK_1.
32602         (__new_shmctl): Likewise.
32603         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32604         <bp-checks.h>.
32605         (__xstat): Do not use CHECK_1.
32606         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32607         (__lxstat): Do not use CHECK_1.
32608         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32609         <bp-checks.h>.
32610         (___lxstat64): Do not use CHECK_1.
32611         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32612         (__old_msgctl): Do not use CHECK_1.
32613         (__new_msgctl): Likewise.
32614         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32615         <bp-checks.h>.
32616         (__gettimeofday): Do not use CHECK_1.
32617         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32618         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32619         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32620         <bp-checks.h>.
32621         (__gettimeofday): Do not use CHECK_1.
32622         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32623         (__old_shmctl): Do not use CHECK_1_NULL_OK.
32624         (__new_shmctl): Do not use CHECK_1.
32625         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32626         <bp-checks.h>.
32627         (do_sigtimedwait): Do not use CHECK_1.
32628         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32629         <bp-checks.h>.
32630         (do_sigwaitinfo): Do not use CHECK_1.
32631         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32632         <bp-checks.h>.
32633         (msgctl): Do not use CHECK_1.
32634         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32635         <bp-checks.h>.
32636         (shmctl): Do not use CHECK_1.
32637         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32638         (ustat): Do not use CHECK_1.
32639         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32640         <bp-checks.h>.
32641         (__fxstat): Do not use CHECK_1.
32642         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32643         <bp-checks.h>.
32644         (__fxstatat): Do not use CHECK_1.
32645         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32646         <bp-checks.h>.
32647         (__lxstat): Do not use CHECK_1.
32648         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32649         <bp-checks.h>.
32650         (__xstat): Do not use CHECK_1.
32651         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32652         (__xstat): Do not use CHECK_1.
32653         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32654         (___xstat64): Do not use CHECK_1.
32656         [BZ #13550]
32657         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32658         definitions.
32659         (CHECK_BOUNDS_HIGH): Likewise.
32660         * string/strcpy.c: Do not include <bp-checks.h>.
32661         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32663 2013-02-07  Roland McGrath  <roland@hack.frob.com>
32665         * nscd/nscd-client.h (__nscd_drop_map_ref):
32666         Add __attribute__ ((unused)).
32667         * nis/nss-nisplus.h (niserr2nss): Likewise.
32669         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32670         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32672         * csu/libc-tls.c (init_static_tls, init_slotinfo):
32673         Remove inline keyword.
32674         * include/rounding-mode.h (round_away): Likewise.
32675         * libio/wfileops.c (adjust_wide_data): Likewise.
32676         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32677         (__m128i_strloadu_tolower): Likewise.
32678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32679         (__m128i_strloadu_tolower): Likewise.
32680         * time/mktime.c (ydhms_diff): Likewise.
32681         * locale/elem-hash.h (elem_hash): Likewise.
32682         * locale/setlocale.c (setdata): Likewise.
32683         * posix/regex_internal.h (re_string_char_size_at): Likewise.
32684         (re_string_wchar_at): Likewise.
32685         (bitset_not, bitset_merge, bitset_mask): Likewise.
32686         [!(__GNUC__ > 3)] (inline): Remove macro.
32687         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32688         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32689         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32690         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32691         * string/memcmp.c (memcmp_bytes): Likewise.
32692         * locale/programs/locarchive.c (compute_hashval): Likewise.
32693         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32694         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32695         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32696         * nss/getent.c (print_rpc, print_protocols): Likewise.
32697         (print_passwd, print_group, print_aliases): Likewise.
32698         * nis/nss-nisplus.h (niserr2nss): Likewise.
32699         * nscd/connections.c (restart_p): Likewise.
32700         Change return type to bool.
32702 2013-02-05  Roland McGrath  <roland@hack.frob.com>
32704         * Makeconfig (all-Depend-files): Add existing
32705         $(sorted-subdirs:=/Depend) files.
32706         (all-subdirs): Remove nss.
32707         * sysdeps/unix/inet/Subdirs: Add it here instead.
32708         * hesiod/Depend: New file.
32710         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32711         instead of calling alloca.
32713         * io/lseek.c (__lseek): Rename to __libc_lseek.
32714         Define __lseek as an alias.
32716         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32718 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
32720         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32721         else clause and remove check for non-standard endianness.
32723 2013-02-04  David S. Miller  <davem@davemloft.net>
32725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32727 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
32729         [BZ #13550]
32730         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32731         (__ubp_memchr): Remove prototype.
32732         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32733         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32734         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32735         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32736         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32737         Remove alias.
32738         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32739         (__ubp_memchr): Likewise.
32740         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32741         (__ubp_memchr): Likewise.
32742         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32743         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32744         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32745         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32746         CHECK_STRING.
32747         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32748         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32749         (__getcwd): Do not use CHECK_STRING.
32750         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32751         <bp-checks.h>.
32752         (__real_chown): Do not use CHECK_STRING.
32753         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32754         <bp-checks.h>.
32755         (fchownat): Do not use CHECK_STRING.
32756         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32757         CHECK_STRING.
32758         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32759         <bp-checks.h>.
32760         (__lchown): Do not use CHECK_STRING.
32761         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32763         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32764         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32766         include <bp-checks.h>.
32767         (truncate64): Do not use CHECK_STRING.
32768         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32769         <bp-checks.h>.
32770         (__real_chown): Do not use CHECK_STRING.
32771         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32772         <bp-checks.h>.
32773         (__lchown): Do not use CHECK_STRING.
32774         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32775         <bp-checks.h>.
32776         (__chown): Do not use CHECK_STRING.
32777         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32778         <bp-checks.h>.
32779         (truncate64): Do not use CHECK_STRING.
32780         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32781         Likewise.
32782         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32783         (__xmknod): Do not use CHECK_STRING.
32784         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32785         <bp-checks.h>.
32786         (__xmknodat): Do not use CHECK_STRING.
32787         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32788         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32790 2013-02-04  Andreas Schwab  <schwab@suse.de>
32792         [BZ #14142]
32793         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32794         * include/netdb.h: Likewise for h_errno.
32795         * elf/tst-stackguard1.c: Include <tls.h>.
32797 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
32799         * elf/link.h (struct link_map): Extend the l_addr comment.
32800         * include/link.h (struct link_map): Likewise.
32802 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
32804         [BZ #13550]
32805         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32806         (BOUNDED_1): Remove macro.
32807         * debug/backtrace.c: Don't include <bp-checks.h>.
32808         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32809         (__backtrace): Likewise.
32810         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32811         <bp-checks.h>.
32812         (__backtrace): Don't use BOUNDED_1.
32813         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32814         <bp-checks.h>.
32815         (__backtrace): Don't use BOUNDED_1.
32816         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32817         (__backtrace): Don't use BOUNDED_1.
32818         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32819         (shmat): Don't use BOUNDED_N.
32821 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32823         [BZ #13550]
32824         * sysdeps/generic/bp-start.h: Remove file.
32825         * csu/libc-start.c: Don't include <bp-start.h>.
32826         (LIBC_START_MAIN): Set up __environ directly instead of using
32827         INIT_ARGV_and_ENVIRON.
32828         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32829         <bp-start.h>.
32831         [BZ #13550]
32832         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32833         definitions.
32834         (CHECK_FCNTL): Likewise.
32835         (CHECK_N_PAGES): Likewise.
32837         [BZ #13550]
32838         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32839         definitions.
32840         (CHECK_SIGSET_NULL_OK): Likewise.
32841         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32842         <bp-checks.h>.
32843         (sigpending): Don't use CHECK_SIGSET.
32844         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32845         <bp-checks.h>.
32846         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32847         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32848         <bp-checks.h>.
32849         (do_sigsuspend): Don't use CHECK_SIGSET.
32850         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32851         use CHECK_SIGSET.
32852         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32853         (do_sigwait): Don't use CHECK_SIGSET.
32854         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32855         use CHECK_SIGSET.
32856         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32857         include <bp-checks.h>.
32858         (sigpending): Don't use CHECK_SIGSET.
32859         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32860         include <bp-checks.h>.
32861         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32862         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32863         <bp-checks.h>.
32864         (sigpending): Don't use CHECK_SIGSET.
32865         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32866         <bp-checks.h>.
32867         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32869         [BZ #13550]
32870         * sysdeps/generic/bp-semctl.h: Remove file.
32871         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32872         <bp-checks.h> and <bp-semctl.h>.
32873         (__old_semctl): Don't use CHECK_SEMCTL.
32874         (__new_semctl): Likewise.
32875         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32876         and <bp-semctl.h>.
32877         (__old_semctl): Don't use CHECK_SEMCTL.
32878         (__new_semctl): Likewise.
32879         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32880         <bp-checks.h> and <bp-semctl.h>.
32881         (__old_semctl): Don't use CHECK_SEMCTL.
32882         (__new_semctl): Likewise.
32883         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32884         <bp-checks.h> and <bp-semctl.h>.
32885         (semctl): Don't use CHECK_SEMCTL.
32887         [BZ #13550]
32888         * Makerules (elide-bp-thunks): Remove variable.
32889         (elide-routines.oS): Don't use $(elide-bp-thunks).
32890         (elide-routines.os): Likewise.
32891         (elide-routines.o): Likewise.
32892         (elide-routines.op): Likewise.
32893         (elide-routines.og): Likewise.
32894         (objects): Don't use $(bp-thunks).
32895         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32896         include.
32897         (common-generated): Do not add s-proto-bp.d.
32898         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32899         (int): Likewise.
32900         (typ): Likewise.
32901         Do not generate makefile rules for bounded-pointer thunks.
32902         * sysdeps/generic/bp-thunks.h: Remove file.
32903         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32904         * sysdeps/unix/s-proto-bp.S: Likewise.
32906         [BZ #15062]
32907         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32908         parts of result separately when argument is not close to line from
32909         -i to i and one part of argument is small.
32910         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32911         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32912         * math/libm-test.inc (cacos_test): Add more tests.
32913         (casin_test): Likewise.
32914         (casinh_test): Likewise.
32915         * sysdeps/i386/fpu/libm-test-ulps: Update.
32916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32918 2013-01-31  David S. Miller  <davem@davemloft.net>
32920         * po/de.po: Update from translation team.
32922 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32924         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32926 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32928         * configure.in (_AC_PROG_CC_C89): New definition.
32929         * configure: Regenerate.
32931         * configure.in (AC_PROG_CPP): New definition.
32932         * configure: Regenerate.
32934 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32936         * debug/tst-backtrace.h: New file.
32937         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32938         (ret): Remove variable.
32939         (x): Likewise.
32940         (FAIL): Remove macro.
32941         (NO_INLINE): Likewise.
32942         (fn1): Use match function instead of strstr.
32943         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32944         (ret): Remove variable.
32945         (x): Likewise.
32946         (FAIL): Remove macro.
32947         (NO_INLINE): Likewise.
32948         (fn): Use match function instead of strstr.
32949         * debug/tst-backtrace4.c: Include tst-backtrace.h.
32950         (ret): Remove variable.
32951         (x): Likewise.
32952         (FAIL): Remove macro.
32953         (NO_INLINE): Likewise.
32954         (handle_signal): Use match function instead of strstr.
32955         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32956         (ret): Remove variable.
32957         (x): Likewise.
32958         (FAIL): Remove macro.
32959         (NO_INLINE): Likewise.
32960         (handle_signal): Use match function instead of strstr.
32962 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32964         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32966 2013-01-23  David S. Miller  <davem@davemloft.net>
32968         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32969         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32970         argument of CAS if possible.
32971         * sysdeps/sparc/sparc64/bits/atomic.h
32972         (__arch_compare_and_exchange_val_32_acq): Likewise.
32973         (__arch_compare_and_exchange_val_64_acq): Likewise.
32975 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32977         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32978         * sysdeps/posix/ulimit.c: ... this.
32979         Include <limits.h>.
32980         * sysdeps/unix/bsd/ulimit.c: Remove file.
32982 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32984         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32985         (LDFLAGS-tst-array5): Likewise.
32987 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32989         [BZ #15036]
32990         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32991         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32992         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32993         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32995 2013-01-21  David S. Miller  <davem@davemloft.net>
32997         * sysdeps/sparc/backtrace.c: New file.
32998         * sysdeps/sparc/sparc32/backtrace.h: New file.
32999         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33000         * sysdeps/sparc/sparc64/backtrace.h: New file.
33001         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33002         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33003         -funwind-tables.
33005 2013-01-21  Andreas Schwab  <schwab@suse.de>
33007         [BZ #15020]
33008         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33009         closed its stdout.
33011 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33014         "mpa2.h".
33015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33017 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33018             Mark Mitchell  <mark@codesourcery.com>
33019             Tom de Vries  <tom@codesourcery.com>
33020             Paul Pluzhnikov  <ppluzhnikov@google.com>
33022         * debug/tst-backtrace2.c: New file.
33023         * debug/tst-backtrace3.c: Likewise.
33024         * debug/tst-backtrace4.c: Likewise.
33025         * debug/tst-backtrace5.c: Likewise.
33026         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33027         (CFLAGS-tst-backtrace3.c): Likewise.
33028         (CFLAGS-tst-backtrace4.c): Likewise.
33029         (CFLAGS-tst-backtrace5.c): Likewise.
33030         (LDFLAGS-tst-backtrace2): Likewise.
33031         (LDFLAGS-tst-backtrace3): Likewise.
33032         (LDFLAGS-tst-backtrace4): Likewise.
33033         (LDFLAGS-tst-backtrace5): Likewise.
33034         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33035         tst-backtrace4 and tst-backtrace5.
33037 2013-01-18  Anton Blanchard  <anton@samba.org>
33038             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33040         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33041         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33042         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33043         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33045         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33046         "+r" and remove output regs list as redundant.  Add explicit inline
33047         asm to specify register of return val to work around compiler codegen
33048         bug.  Remove (int) cast on return value.  Add return type parameter to
33049         use in macro so that this macro does not truncate return value for
33050         64-bit values.
33051         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33052         pass to INTERNAL_VSYSCALL_NCS.
33053         (INLINE_VSYSCALL): Add 'long int' as return type to
33054         INTERNAL_VSYSCALL_NCS macro invocation.
33055         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33056         INTERNAL_VSYSCALL_NCS macro invocation.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33059 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33061         [BZ #14496]
33062         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33063         Fix application of SIMD FP exception mask.
33065         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33066         mp_no from a power of two.
33067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33068         __mpexp_twomm1.  Use __pow_mp.
33070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33071         multiplication.
33073 2013-01-17  David S. Miller  <davem@davemloft.net>
33075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33077 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33079         [BZ #15023]
33080         * include/complex.h: Condition contents on [!_COMPLEX_H].
33081         (__kernel_casinhf): New prototype.
33082         (__kernel_casinh): Likewise.
33083         (__kernel_casinhl): Likewise.
33084         * math/Makefile (libm_calls): Add k_casinh.
33085         * math/k_casinh.c: New file.
33086         * math/k_casinhf.c: Likewise.
33087         * math/k_casinhl.c: Likewise.
33088         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33089         finite nonzero arguments.
33090         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33091         finite nonzero arguments.
33092         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33093         finite nonzero arguments.
33094         * math/s_casinh.c: Do not include <float.h>.
33095         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33096         * math/s_casinhf.c: Do not include <float.h>.
33097         (__casinhf): Move code for finite nonzero arguments to
33098         k_casinhf.c.
33099         * math/s_casinhl.c: Do not include <float.h>.
33100         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33101         redefine.
33102         (__casinhl): Move code for finite nonzero arguments to
33103         k_casinhl.c.
33104         * math/libm-test.inc (cacos_test): Add more tests.
33105         * sysdeps/i386/fpu/libm-test-ulps: Update.
33106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33108 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33110         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33111         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33112         [!HAVE_MREMAP]: Remove [defined linux] case.
33113         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33115 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33117         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33119 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33121         * elf/elf.h (R_386_SIZE32): New relocation.
33122         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33123         R_386_SIZE32.
33124         (elf_machine_rela): Likewise.
33125         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33126         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33128 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33130         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33131         (FP_FAST_FMA): Do not define.
33132         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33133         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33134         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33135         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33136         !_SOFT_FLOAT]: Likewise.
33137         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33138         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33139         value.
33140         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33141         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33142         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33143         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33144         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33145         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33146         file.
33148 2013-01-16  Andreas Schwab  <schwab@suse.de>
33150         [BZ #14327]
33151         * include/stdlib.h (__mktemp): Add declaration.
33152         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33153         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33155 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33157         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33158         definitions.
33159         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33160         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33161         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33162         definitions here.
33163         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33164         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33165         definitions.
33166         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33167         and ONE.
33168         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33169         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33170         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33171         definitions.
33172         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33173         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33174         definitions.
33175         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33177         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33179 2013-01-15  David S. Miller  <davem@davemloft.net>
33181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33182         trunc{,f} to libm-sysdep_routes.
33183         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33185         file.
33186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33188         file.
33189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33190         file.
33191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33193         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33194         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33195         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33196         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33197         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33198         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33201         nearbyint{,f} to libm-sysdep_routes.
33202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33204         New file.
33205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33206         file.
33207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33208         New file.
33209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33210         file.
33211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33213         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33214         file.
33215         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33216         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33217         file.
33218         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33219         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33220         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33222         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33223         libc_feholdexcept and libc_fesetenv.
33225 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33227         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33229 2013-01-14  David S. Miller  <davem@davemloft.net>
33231         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33232         (SPARC_ASM_VIS2_IFUNC): Likewise.
33233         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33235         use of 'siam' instruction.
33236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33237         Likewise.
33238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33239         Likewise.
33240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33241         Likewise.
33242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33247         file.
33248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33249         file.
33250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33251         file.
33252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33253         file.
33254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33259         new VIS2 routines.
33260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33263         Likewise.
33264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33269         routines to libm-sysdep_routines.
33270         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33273         fdim/fdimf to libm-sysdep_routines.
33274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33275         file.
33276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33278         file.
33279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33282         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33283         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33284         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33285         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33287 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33289         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33290         to optimize copies.
33292         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33297         local variable MPTWO.
33298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33299         Likewise.
33301 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33303         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33304         GLOB_NOESCAPE.
33306 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33308         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33310 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33312         * manual/pattern.texi (glob_t): Document gl_flags.
33313         (glob64_t): Likewise.
33315 2013-01-11  David S. Miller  <davem@davemloft.net>
33317         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33318         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33319         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33320         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33321         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33322         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33323         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33324         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33325         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33326         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33327         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33328         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33329         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33331         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33332         sparc V9 rather than using V8 code.
33333         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33334         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33336         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33337         Move to...
33338         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33339         Here.
33341 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33343         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33344         not in the main loop.
33345         * configure: Regenerated.
33347 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33349         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33350         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33351         to just #else.
33352         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33353         [!__GLIBC_HAVE_LONG_LONG] case.
33354         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33355         condition to just #else.
33356         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33357         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33358         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33359         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33360         unconditional.
33361         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33362         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33363         #elif condition to just #else.
33364         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33365         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33366         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33367         #elif condition to just #else.
33369 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33371         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33372         (EF_MIPS_ARCH_64): Fix value.
33373         (EF_MIPS_ARCH_32R2): New.
33374         (EF_MIPS_ARCH_64R2): New.
33376 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33378         * Makeconfig (+link-pie-before-libc): New.
33379         (+link-pie-after-libc): Likewise.
33380         (+link-pie-tests): Likewise.
33381         (+link-pie): Rewritten.
33382         (link-before-libc): Remove $(config-LDFLAGS).
33383         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33384         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33385         (config-LDFLAGS): Renamed to ...
33386         (rtld-LDFLAGS): This.
33387         (rtld-tests-LDFLAGS): New macro.
33388         (link-libc-rpath-link): Likewise.
33389         (link-libc-tests-rpath-link): Likewise.
33390         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33391         (link-libc): Prepand $(link-libc-rpath-link).
33392         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33393         (test-program-prefix): New macro.
33394         (test-via-rtld-prefix): Likewise.
33395         (test-program-cmd): Likewise.
33396         (host-test-program-cmd): Likewise.
33397         * Makefile ($(common-objpfx)testrun.sh): Replace
33398         $(run-program-prefix) with $(test-program-prefix).
33399         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33400         $(rtld-LDFLAGS).
33401         ($(common-objpfx)shlib.lds): Likewise.
33402         (build-module-helper): Likewise.
33403         ($(common-objpfx)format.lds): Likewise.
33404         * Rules (binaries-pie-tests): New.
33405         (binaries-pie-notests): Likewise.
33406         (binaries-pie): Rewritten.
33407         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33408         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33409         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33410         (make-test-out): Replace $(host-built-program-cmd) with
33411         $(host-test-program-cmd).
33412         * config.make.in (build-hardcoded-path-in-tests): New variable.
33413         * configure.in (--enable-hardcoded-path-in-tests): New configure
33414         option.
33415         (hardcoded_path_in_tests): New AC_SUBST.
33416         * configure: Regenerated.
33417         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33418         $(built-program-cmd) with $(test-program-cmd).
33419         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33420         (test_program_cmd): This.
33421         * elf/Makefile ($(objpfx)order.out): Run test with
33422         $(test-program-prefix).
33423         ($(objpfx)order2.out): Likewise.
33424         ($(objpfx)tst-initorder.out): Likewise.
33425         ($(objpfx)tst-initorder2.out): Likewise.
33426         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33427         $(test-program-cmd).
33428         ($(objpfx)tst-array1-static.out): Likewise.
33429         ($(objpfx)tst-array2.out): Likewise.
33430         ($(objpfx)tst-array3.out): Likewise.
33431         ($(objpfx)tst-array4.out): Likewise.
33432         ($(objpfx)tst-array5.out): Likewise.
33433         ($(objpfx)tst-array5-static.out): Likewise.
33434         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33435         $(test-program-cmd).
33436         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33437         $(run-program-prefix) with $(test-program-prefix).
33438         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33439         (test_program_prefix): This.
33440         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33441         $(run-program-prefix) with $(test-program-prefix).
33442         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33443         (test_program_prefix): This.
33444         * iconvdata/tst-tables.sh: Likewise.
33445         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33446         $(run-program-prefix) with $(test-program-prefix).
33447         ($(objpfx)tst-translit.out): Likewise.
33448         ($(objpfx)tst-gettext2.out): Likewise.
33449         ($(objpfx)tst-gettext4.out): Likewise.
33450         ($(objpfx)tst-gettext6.out): Likewise.
33451         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33452         (test_program_prefix): This.
33453         * intl/tst-gettext2.sh: Likewise.
33454         * intl/tst-gettext4.sh  Likewise.
33455         * intl/tst-gettext6.sh: Likewise.
33456         * intl/tst-translit.sh: Likewise.
33457         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33458         with $(test-program-cmd).
33459         * libio/Makefile ($(objpfx)test-freopen.out): Replace
33460         $(run-program-prefix) with $(test-program-prefix).
33461         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33462         (test_program_prefix): This.
33463         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33464         $(run-program-prefix) with $(test-program-prefix).
33465         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33466         (test_program_prefix): This.
33467         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33468         * posix/Makefile ($(objpfx)globtest.out): Replace
33469         $(run-via-rtld-prefix) and $(test-wrapper) with
33470         $(test-program-prefix) and $(test-via-rtld-prefix).
33471         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33472         $(test-program-prefix).
33473         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33474         $(host-test-program-cmd).
33475         (tst-spawn-ARGS): Likewise.
33476         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33477         $(test-program-prefix).
33478         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33479         (test_via_rtld_prefix): This.
33480         (test_wrapper): Renamed to ...
33481         (test_program_prefix): This.
33482         (run_program_prefix): Replaced by test_program_prefix.
33483         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33484         (test_program_prefix): This.
33485         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33486         with $(host-test-program-cmd).
33487         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33488         $(run-program-prefix) with $(test-program-prefix).
33489         ($(objpfx)tst-printf.out): Likewise.
33490         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33491         $(test-program-cmd).
33492         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33493         (test_program_prefix): This.
33494         * stdio-common/tst-unbputc.sh: Likewise.
33495         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33496         $(run-program-prefix) with $(test-program-prefix).
33497         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33498         (test_program_prefix): This.
33499         * string/Makefile ($(objpfx)tst-svc.out):  Replace
33500         $(built-program-cmd) with $(test-program-cmd).
33502 2013-01-11  Andreas Jaeger  <aj@suse.de>
33504         [BZ #15003]
33505         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33506         value. Sync with Linux 3.7.
33508 2013-01-10  David S. Miller  <davem@davemloft.net>
33510         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33511         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33512         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33514 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33516         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33517         never set.
33518         * configure: Regenerated.
33520 2013-01-10  David S. Miller  <davem@davemloft.net>
33522         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33523         sparc V9 rather than using V8 code.
33524         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33525         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33527 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33529         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33530         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33531         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33532         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33533         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33534         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33535         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33536         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33537         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33538         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33539         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33540         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33541         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33542         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33543         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33544         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33545         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33546         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33547         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33548         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33549         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33550         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33551         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33552         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33553         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33554         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33555         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33557 2013-01-10  David S. Miller  <davem@davemloft.net>
33559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33561 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33563         * posix/Makefile (tests-static): New variable.
33564         (tests): Add $(tests-static).
33565         (tst-exec-static-ARGS): New variable.
33566         (tst-spawn-static-ARGS): Likewise.
33567         * posix/tst-exec-static.c: New file.
33568         * posix/tst-spawn-static.c: Likewise.
33569         * posix/tst-exec.c: Support run directly.
33570         * posix/tst-spawn.c: Likewise.
33572 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
33574         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33575         long.
33576         * math/bits/mathcalls.h (llrint): Likewise.
33577         (llround): Likewise.
33578         * stdlib/stdlib.h (struct drand48_data): Likewise.
33579         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33580         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33581         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33582         Likewise.
33583         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33584         Likewise.
33585         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33586         (elf_greg_t): Likewise.
33587         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33588         (__jmp_buf): Likewise.
33589         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33590         definitions.
33591         (llrint): Likewise, for all definitions.
33592         (llrintl): Likewise.
33594         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33595         Remove [__GNUC__] condition.
33596         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33597         condition to just [__USE_ISOC99].
33598         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33600 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33602         [BZ #14200]
33603         * sysdeps/unix/sysv/linux/x86/bits/environments.h
33604         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33605         defined.
33606         (_POSIX_V6_ILP32_OFF32): Likewise.
33607         (_XBS5_ILP32_OFF32): Likewise.
33608         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33609         (__ILP32_OFFBIG_LDFLAGS): Likewise.
33611 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33613         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33615         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33616         doubles __mpexp_twomm1.  Adjust usage.
33617         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33618         Remove.
33620 2013-01-10  Andreas Schwab  <schwab@suse.de>
33622         [BZ #14964]
33623         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33624         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33626 2013-01-09  David S. Miller  <davem@davemloft.net>
33628         [BZ #15003]
33629         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33630         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33631         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33632         (TCP_FASTOPEN): Define.
33633         (tcp_repair_opt): New structure.
33634         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33635         enum values.
33636         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33637         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33638         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33639         (tcp_cookie_transactions): New structure.
33641 2013-01-09  Anton Blanchard  <anton@samba.org>
33643         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33644         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33645         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33646         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33648 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
33650         * include/features.h (__USE_ANSI): Remove.
33652 2013-01-09  Roland McGrath  <roland@hack.frob.com>
33654         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33656         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33658 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33660         * sysdeps/s390/fpu/libm-test-ulps: Update.
33662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33664         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33665         (__acr): Likewise.
33666         (__cpy): Likewise.
33667         (norm): Likewise.
33668         (denorm): Likewise.
33669         (__mp_dbl): Likewise.
33670         (__dbl_mp): Likewise.
33671         (add_magnitudes): Likewise.
33672         (sub_magnitudes): Likewise.
33673         (__add): Likewise.
33674         (__sub): Likewise.
33675         (__mul): Likewise.
33676         (__inv): Likewise.
33677         (__dvd): Likewise.
33678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33679         (__acr): Likewise.
33680         (__cpy): Likewise.
33681         (norm): Likewise.
33682         (denorm): Likewise.
33683         (__mp_dbl): Likewise.
33684         (__dbl_mp): Likewise.
33685         (add_magnitudes): Likewise.
33686         (sub_magnitudes): Likewise.
33687         (__add): Likewise.
33688         (__sub): Likewise.
33689         (__mul): Likewise.
33690         (__inv): Likewise.
33691         (__dvd): Likewise.
33692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33693         (__acr): Likewise.
33694         (__cpy): Likewise.
33695         (norm): Likewise.
33696         (denorm): Likewise.
33697         (__mp_dbl): Likewise.
33698         (__dbl_mp): Likewise.
33699         (add_magnitudes): Likewise.
33700         (sub_magnitudes): Likewise.
33701         (__add): Likewise.
33702         (__sub): Likewise.
33703         (__mul): Likewise.
33704         (__inv): Likewise.
33705         (__dvd): Likewise.
33707 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
33709         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33710         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33711         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33712         2 && __USE_EXTERN_INLINES]: Likewise.
33714 2013-01-08  Andreas Jaeger  <aj@suse.de>
33716         [BZ# 14985]
33717         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33718         Remove.
33719         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33720         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33722 2013-01-07  Anton Blanchard  <anton@samba.org>
33724         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33725         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33726         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33727         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33728         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33729         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33730         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33731         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33733         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33734         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33735         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33736         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33737         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33738         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33739         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33740         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33741         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33742         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33743         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33744         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33745         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33746         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33747         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33748         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33749         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33750         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33751         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33752         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33753         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33754         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33756         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33757         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33758         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33759         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33760         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33761         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33762         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33763         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33764         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33765         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33766         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33768 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
33770         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33771         (__MALLOC_PMT): Likewise.
33772         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33773         [__GNUC__], only on [_LIBC].
33774         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33775         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33776         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33777         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33778         forward declaration.
33779         (realloc_hook_ini): Likewise.
33780         (memalign_hook_ini): Likewise.
33781         (__libc_memalign): Do not use __MALLOC_PMT in variable
33782         declaration.
33783         (__libc_valloc): Likewise.
33784         (__libc_pvalloc): Likewise.
33785         (__libc_calloc): Likewise.
33786         (__posix_memalign): Likewise.
33788         [BZ #14996]
33789         * math/s_casinh.c: Include <float.h>.
33790         (__casinh): Do not do computation with squaring and square root
33791         for large arguments.
33792         * math/s_casinhf.c: Include <float.h>.
33793         (__casinhf): Do not do computation with squaring and square root
33794         for large arguments.
33795         * math/s_casinhl.c: Include <float.h>.
33796         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33797         (__casinhl): Do not do computation with squaring and square root
33798         for large arguments.
33799         * math/libm-test.inc (casin_test): Add more tests.
33800         (casinh_test): Likewise.
33801         * sysdeps/i386/fpu/libm-test-ulps: Update.
33802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33804 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
33806         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33807         (__x86_64_raw_data_cache_size): Likewise.
33808         (__x86_64_data_cache_size_half): Likewise.
33809         (__x86_64_raw_data_cache_size_half): Likewise.
33810         (__x86_64_shared_cache_size): Likewise.
33811         (__x86_64_raw_shared_cache_size): Likewise.
33812         (__x86_64_shared_cache_size_half): Likewise.
33813         (__x86_64_raw_shared_cache_size_half): Likewise.
33814         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33815         to ...
33816         (__x86_data_cache_size): This.
33817         (__x86_64_raw_data_cache_size): Renamed to ...
33818         (__x86_raw_data_cache_size): This.
33819         (__x86_64_data_cache_size_half): Renamed to ...
33820         (__x86_data_cache_size_half): This.
33821         (__x86_64_raw_data_cache_size_half): Renamed to ...
33822         (__x86_raw_data_cache_size_half): This.
33823         (__x86_64_shared_cache_size): Renamed to ...
33824         (__x86_shared_cache_size): This.
33825         (__x86_64_raw_shared_cache_size): Renamed to ...
33826         (__x86_raw_shared_cache_size): This.
33827         (__x86_64_shared_cache_size_half): Renamed to ...
33828         (__x86_shared_cache_size_half): This.
33829         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33830         (__x86_raw_shared_cache_size_half): This.
33831         * sysdeps/x86_64/memcpy.S: Updated.
33832         * sysdeps/x86_64/memset.S: Likewise.
33833         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33834         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33835         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33837 2013-01-04  David S. Miller  <davem@davemloft.net>
33839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33841 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33843         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33844         1 to avoid redefinition warning.
33845         (__USE_GNU): Don't define.
33846         (init_signaling_nan): Protoize.
33848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33850 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33852         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33854         (__cpymn): Likewise.
33855         (norm): Remove commented code.
33856         (denorm): Likewise.
33857         (__mp_dbl): Likewise.
33858         (__inv): Likewise.
33859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33860         (__cpymn): Likewise.
33861         (norm): Remove commented code.
33862         (denorm): Likewise.
33863         (__mp_dbl): Likewise.
33864         (__inv): Likewise.
33866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33867         mp_no value for 1.0 and 2.0.
33868         (norm): Use RADIXI instead of radixi.d.
33869         (denorm): Likewise.
33870         (__mul): Use 0.0 instead of zero.d.
33871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33872         mp_no value for 1.0 and 2.0.
33873         (norm): Use RADIXI instead of radixi.d.
33874         (denorm): Likewise.
33875         (__mul): Use 0.0 instead of zero.d.
33877 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33879         [BZ #14994]
33880         * math/s_casinh.c (__casinh): Reduce finite argument to first
33881         quadrant then set signs of results at the end.
33882         * math/s_casinhf.c (__casinhf): Likewise.
33883         * math/s_casinhl.c (__casinhl): Likewise.
33884         * math/libm-test.inc (casin_test): Add more tests.
33885         (casinh_test): Likewise.
33886         * sysdeps/i386/fpu/libm-test-ulps: Update.
33887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33889 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33891         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33893         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33895         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33896         declarations.
33897         (denorm): Likewise.
33898         (__mp_dbl): Likewise.
33899         (__inv): Likewise.
33901         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33902         and adjust the header comment.
33904         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33905         variable name from declaration.
33907 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33910         Initialize COMMON_CPUID_INDEX_7 element.
33911         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33912         (CPUID_RTM): Likewise.
33913         (HAS_RTM): Likewise.
33914         (COMMON_CPUID_INDEX_7): New enum.
33916 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33918         [BZ #14981]
33919         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33920         size is zero, record memory as freed.
33922 2013-01-03  Andreas Jaeger  <aj@suse.de>
33924         * po/ia.po: Add new Interlingua translation.
33926 2012-01-03  Allan McRae  <allan@archlinux.org>
33928         * locale/programs/localedef.c: Fix description of '--posix' flag.
33930 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33932         * NEWS: Update dates in second copyright notice.
33933         * README: Update copyright dates in example.
33934         * manual/libc.texinfo: Update copyright dates.
33935         * scripts/test-installation.pl: Update copyright date in --version
33936         output.
33938         * hurd/ctty-input.c: Fix copyright notice formatting.
33939         * hurd/ctty-output.c: Likewise.
33940         * hurd/dtable.c: Likewise.
33941         * hurd/hurd-raise.c: Likewise.
33942         * hurd/hurdprio.c: Likewise.
33943         * hurd/msgportdemux.c: Likewise.
33944         * misc/sys/file.h: Likewise.
33945         * misc/sys/ioctl.h: Likewise.
33946         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33947         * sysdeps/mach/hurd/chdir.c: Likewise.
33948         * sysdeps/mach/hurd/fchdir.c: Likewise.
33949         * sysdeps/mach/hurd/rename.c: Likewise.
33950         * sysdeps/mach/hurd/rmdir.c: Likewise.
33951         * sysdeps/mach/hurd/seekdir.c: Likewise.
33952         * sysdeps/mach/hurd/setsid.c: Likewise.
33953         * sysdeps/posix/wait3.c: Likewise.
33955         * All files with FSF copyright notices: Update copyright dates
33956         using scripts/update-copyrights.
33957         * intl/plural.c: Regenerated.
33958         * locale/programs/charmap-kw.h: Likewise.
33959         * locale/programs/locfile-kw.h: Likewise.
33961 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33963         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33964         four values.
33966         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33967         calculation loop and add branch prediction.
33969         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33970         check access beyond bounds of m1np.
33972         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33973         MPTWO.
33974         (__inv): Remove local variable MPTWO to use the global
33975         constant.
33976         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33977         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33978         variable MPTWO.
33979         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33980         MP3HALFS static const.
33982 2013-01-01  David S. Miller  <davem@davemloft.net>
33984         * po/ca.po: Update from translation team.
33986 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33988         * scripts/update-copyrights: New file.
33989         * Makeconfig: Reformat copyright notice.
33990         * ctype/ctype.h: Likewise.
33991         * debug/swprintf_chk.c: Likewise.
33992         * elf/dl-cache.c: Likewise.
33993         * elf/dl-debug.c: Likewise.
33994         * elf/dl-object.c: Likewise.
33995         * grp/initgroups.c: Likewise.
33996         * hurd/Makefile: Likewise.
33997         * hurd/hurd/signal.h: Likewise.
33998         * hurd/hurdfault.c: Likewise.
33999         * hurd/hurdioctl.c: Likewise.
34000         * hurd/hurdlookup.c: Likewise.
34001         * hurd/intr-msg.c: Likewise.
34002         * iconv/gconv_open.c: Likewise.
34003         * libio/swprintf.c: Likewise.
34004         * locale/lc-ctype.c: Likewise.
34005         * locale/nl_langinfo.c: Likewise.
34006         * mach/Machrules: Likewise.
34007         * mach/Makefile: Likewise.
34008         * malloc/obstack.h: Likewise.
34009         * manual/Makefile: Likewise.
34010         * manual/tsort.awk: Likewise.
34011         * misc/bits/stab.def: Likewise.
34012         * nis/nis_print_group_entry.c: Likewise.
34013         * nis/nis_table.c: Likewise.
34014         * nis/nss_compat/compat-pwd.c: Likewise.
34015         * nis/nss_compat/compat-spwd.c: Likewise.
34016         * po/Makefile: Likewise.
34017         * posix/fnmatch.c: Likewise.
34018         * posix/regex.h: Likewise.
34019         * resolv/Makefile: Likewise.
34020         * resolv/nss_dns/dns-network.c: Likewise.
34021         * resolv/res_hconf.c: Likewise.
34022         * scripts/gen-sorted.awk: Likewise.
34023         * soft-fp/soft-fp.h: Likewise.
34024         * stdio-common/printf.h: Likewise.
34025         * stdlib/monetary.h: Likewise.
34026         * stdlib/random.c: Likewise.
34027         * stdlib/random_r.c: Likewise.
34028         * sysdeps/generic/Makefile: Likewise.
34029         * sysdeps/gnu/Makefile: Likewise.
34030         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34031         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34032         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34033         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34034         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34035         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34036         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34037         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34038         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34039         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34040         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34041         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34042         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34043         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34044         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34045         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34046         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34047         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34048         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34049         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34050         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34051         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34052         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34053         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34054         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34055         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34056         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34057         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34058         * sysdeps/mach/hurd/errnos.awk: Likewise.
34059         * sysdeps/mach/hurd/fork.c: Likewise.
34060         * sysdeps/mach/hurd/getcwd.c: Likewise.
34061         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34062         * sysdeps/mach/hurd/mmap.c: Likewise.
34063         * sysdeps/mach/hurd/utimes.c: Likewise.
34064         * sysdeps/mach/hurd/xmknod.c: Likewise.
34065         * sysdeps/posix/profil.c: Likewise.
34066         * sysdeps/posix/readdir_r.c: Likewise.
34067         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34068         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34069         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34070         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34072         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34073         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34074         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34076         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34077         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34078         * sysdeps/pthread/lio_listio.c: Likewise.
34079         * sysdeps/sparc/dl-procinfo.h: Likewise.
34080         * sysdeps/unix/i386/sysdep.S: Likewise.
34081         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34082         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34083         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34084         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34086         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34087         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34088         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34089         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34090         * sysdeps/wordsize-32/divdi3.c: Likewise.
34091         * time/sys/time.h: Likewise.
34092         * wcsmbs/Makefile: Likewise.
34094 2013-01-01  David S. Miller  <davem@davemloft.net>
34096         * po/fr.po: Update from translation team.
34098         * catgets/gencat.c: Update copyright year.
34099         * csu/version.c: Likewise.
34100         * debug/catchsegv.sh: Likewise.
34101         * debug/pcprofiledump.c: Likewise.
34102         * debug/xtrace.sh: Likewise.
34103         * elf/ldconfig.c: Likewise.
34104         * elf/ldd.bash.in: Likewise.
34105         * elf/pldd.c: Likewise.
34106         * elf/sotruss.ksh: Likewise.
34107         * elf/sprof.c: Likewise.
34108         * iconv/iconv_prog.c: Likewise.
34109         * iconv/iconvconfig.c: Likewise.
34110         * locale/programs/locale.c: Likewise.
34111         * locale/programs/localedef.c: Likewise.
34112         * login/programs/pt_chown.c: Likewise.
34113         * malloc/memusage.sh: Likewise.
34114         * malloc/memusagestat.c: Likewise.
34115         * malloc/mtrace.pl: Likewise.
34116         * nscd/nscd.c: Likewise.
34117         * nss/getent.c: Likewise.
34118         * nss/makedb.c: Likewise.
34119         * posix/getconf.c: Likewise.
34121 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34123         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34124         numbers.
34126 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34128         * math/bits/mathcalls.h (modf): Use __nonnull.
34130 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34132         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34133         (split): Use macro CN instead of the bare value.
34134         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34135         could be used.
34136         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34137         instead of the bare value.
34138         (power1): Likewise.
34140 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34142         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34143         __ATAN_TWOM.
34144         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34146         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34147         their values.
34148         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34149         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34150         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34151         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34153 2012-12-28  Andreas Jaeger  <aj@suse.de>
34155         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34156         values are from Linux 3.7.
34158         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34159         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34161 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34163         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34164         TRUE case.
34166         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34167         (norm): Likewise.
34168         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34169         variables with preprocessor constants.
34170         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34171         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34172         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34174 2012-12-27  Bruno Haible  <bruno@clisp.org>
34176         [BZ #14317]
34177         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34178         only if needed.
34180 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34183         and use variable directly.
34184         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34186         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34187         MPONE.
34188         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34190         variable MPONE.
34191         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34192         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34193         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34194         include directive.  Remove local variable MPONE.
34195         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34196         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34197         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34199 2012-12-25  David S. Miller  <davem@davemloft.net>
34201         * version.h (RELEASE): Set to "development".
34202         (VERSION): Set to "2.17.90".
34203         * NEWS: Add 2.18 section.
34205 2012-12-21  David S. Miller  <davem@davemloft.net>
34207         * po/hr.po: Update from translation team.
34209 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34211         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34213 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34215         * NEWS:  Mention new memcpy for MIPS.
34217 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34219         * manual/contrib.texi (Contributors): Spelling correction.
34221 2012-12-15  David S. Miller  <davem@davemloft.net>
34223         * po/ru.po: Update from translation team.
34225 2012-12-13  David S. Miller  <davem@davemloft.net>
34227         * NEWS: Mention IFUNC testsuite enhancements.
34229         * po/pl.po: Update from translation team.
34230         * po/bg.po: Likewise.
34232         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34233         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34235 2012-12-11  David S. Miller  <davem@davemloft.net>
34237         * po/sv.po: Update from translation team.
34239         * po/vi.po: Update from translation team.
34241         * po/cs.po: Update from translation team.
34243         * po/de.po: Update from translation team.
34244         * po/eo.po: Likewise.
34245         * po/nl.po: Likewise.
34247 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34249         [BZ #14246]
34250         * manual/argp.texi (Argp Helper Functions): Move node to follow
34251         Argp Parsing State.
34253         [BZ #14872]
34254         * manual/conf.texi (Limits on File System Capacity): Mention if
34255         terminating null is included in the max size.
34257 2012-12-10  Andreas Jaeger  <aj@suse.de>
34259         * po/cs.po: Update from translation team.
34261 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34263         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34264         void pointer and cast to uintptr_t.
34265         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34266         path.
34267         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34268         * sysdeps/s390/s390-64/memset.S: Likewise.
34270 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34272         [BZ #14833]
34273         * menual/message.texi (Message Translation): Fix typos.
34274         (Helper programs for gettext): Likewise.
34276 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34278         [BZ #14898]
34279         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34280         Change to -1.
34282 2012-12-07  David S. Miller  <davem@davemloft.net>
34284         * po/libc.pot: Update.
34286 2012-12-07  Richard Henderson  <rth@redhat.com>
34288         [BZ #10114]
34289         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34290         normal/normal case to before the switch.
34291         (_FP_DIV): Likewise.
34293 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34294             Mike Frysinger  <vapier@gentoo.org>
34296         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34297         check for __NR_fadvise64_64.
34299 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34301         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34302         0, not just to plain "0" as a statement.
34303         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34304         with cw.
34306 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34308         * NEWS: Use sourceware.org in Bugzilla URL.
34310 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34313         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34315         * stdio-common/tst-put-error.c (do_test): Add newline to the
34316         padded test to ensure flush.
34318 2012-12-05  Jeff Law  <law@redhat.com>
34320         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34322 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34324         * README: Don't refer to ports add-on as distributed separately.
34325         Mention AArch64 in list of systems supported in the ports add-on.
34327         * LICENSES: Add more non-FSF copyright and license notices.
34329         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34330         ((unused)).
34332         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34334         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34335         10000 as width of padded output.
34337 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34339         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34341         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34342         variable LX with __attribute__ ((unused)).
34343         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34344         Likewise.
34345         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34346         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34347         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34348         with __attribute__ ((unused)).
34350 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34352         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34354 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34356         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34357         (CFLAGS-nldbl-acos.c): New variable.
34358         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34359         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34360         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34361         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34362         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34363         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34364         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34365         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34366         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34367         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34368         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34369         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34370         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34371         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34372         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34373         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34374         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34375         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34376         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34377         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34378         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34379         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34380         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34381         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34382         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34383         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34384         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34385         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34386         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34387         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34388         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34389         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34390         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34391         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34392         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34393         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34394         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34395         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34396         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34397         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34398         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34399         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34400         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34401         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34402         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34403         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34404         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34405         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34406         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34407         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34408         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34409         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34410         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34411         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34412         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34413         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34414         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34415         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34416         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34417         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34418         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34419         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34420         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34421         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34422         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34423         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34424         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34425         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34426         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34427         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34428         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34429         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34430         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34431         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34432         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34433         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34434         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34435         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34436         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34437         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34438         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34439         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34440         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34441         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34442         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34443         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34444         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34445         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34446         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34447         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34448         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34449         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34450         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34451         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34452         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34453         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34454         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34457         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34459         [BZ #14914]
34460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34461         whole low double instead of just low 47 bits when splitting values
34462         into two parts.
34464 2012-12-03  Allan McRae  <allan@archlinux.org>
34466         * manual/stdio.texi (Predefined Printf Handlers): Remove
34467         @hsep and @vsep usage.
34469 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
34471         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34472         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34474 2012-12-03  Jeff Law  <law@redhat.com>
34476         * time/sys/time.h (settimeofday): Do not mark TV argument
34477         as __nonnull.
34479 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
34481         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34482         when currently writing and seek to current position when not.
34483         * libio/Makefile (tests): Remove bug-fclose1.
34484         * libio/bug-fclose1.c: Delete.
34486 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
34488         * manual/arith.texi (feenableexcept): Fix typo.
34489         (fedisableexcept): Likewise.
34491 2012-11-30  Roland McGrath  <roland@hack.frob.com>
34493         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34494         second, differently-typed declaration, rather than a cast.
34496 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34498         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34499         * include/rpc/svc.h: ... here.
34501 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
34503         [BZ #13013]
34504         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34505         depending n and resplen2 to catch cases where answer
34506         equals answerp2.
34508 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
34510         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34511         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34513 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
34515         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34517 2012-11-29  Roland McGrath  <roland@hack.frob.com>
34519         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34521 2012-11-28  Jeff Law  <law@redhat.com>
34523         [BZ #13761]
34524         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34525         dataset_temporary.  Track alloca usage into alloca_used.
34526         If dataset is large allocate and release it via malloc/free.
34528 2012-06-04  Florian Weimer  <fweimer@redhat.com>
34530         [BZ #14197]
34531         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34533 2012-11-28  David S. Miller  <davem@davemloft.net>
34535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34537 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34539         [BZ #14803]
34540         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34541         of pi/2 rounded to nearest to 64 bits.
34542         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34543         nearest to 64 bits.
34544         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34545         bits.
34547 2012-11-28  Jeff Law <law@redhat.com>
34548             Martin Osvald <mosvald@redhat.com>
34550         [BZ #14889]
34551         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34552         * sunrpc/svc.c: Include time.h.
34553         (__svc_accept_failed): New function.
34554         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34555         any reason other than EINTR, call __svc_accept_failed.
34556         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34557         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34559 2012-11-28  Andreas Schwab  <schwab@suse.de>
34561         * scripts/abilist.awk: Also handle indirect functions in .opd
34562         section.
34564 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34566         [BZ #13881]
34567         * sysdeps/x86/fpu/powl_helper.c: New file.
34568         * sysdeps/x86/fpu/Makefile: Likewise.
34569         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34570         (p3): New object.
34571         (__ieee754_powl): Use __powl_helper for finite arguments except
34572         integer exponents below 8.
34573         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34574         (p3): New object.
34575         (__ieee754_powl): Use __powl_helper for finite arguments except
34576         integer exponents below 8.
34577         * math/libm-test.inc (pow_test): Add more tests and enable some
34578         previously disabled tests.
34579         * sysdeps/i386/fpu/libm-test-ulps: Update.
34580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34582 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34583             Carlos O'Donell  <carlos_odonell@mentor.com>
34585         * nss/makedb.c (is_prime): Assert that input is odd and greater
34586         than 4.  Note that fact in a comment too.
34587         (next_prime): Add 4 to input.
34589 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34591         [BZ #11741]
34592         * libio/Makefile (tests): Add test case tst-fwrite-error.
34593         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34594         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34595         * libio/tst-fwrite-error.c: New test case.
34597 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
34599         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34600         before casting to void *.
34601         * include/libc-internal.h (__pointer_type): New macro.
34602         (__integer_if_pointer_type_sub): Likewise.
34603         (__integer_if_pointer_type): Likewise.
34604         (cast_to_integer): Likewise.
34605         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34606         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34607         before casting to atomic64_t.
34608         (atomic_exchange_acq): Likewise.
34609         (__arch_exchange_and_add_body): Likewise.
34610         (__arch_add_body): Likewise.
34611         (atomic_add_negative): Likewise.
34612         (atomic_add_zero): Likewise.
34614 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
34616         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34617         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34618         (add_fdes): Likewise.
34619         (linear_search_fdes): Likewise.
34620         (binary_search_unencoded_fdes): Likewise.
34622 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
34624         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34626 2012-11-24  Adam Conrad  <adconrad@0c3.net>
34628         * configure.in: Autodetect C++ header directories.
34629         * configure: Regenerated.
34631 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
34633         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34635 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
34637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34639 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
34641         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34642         LDBL_MANT_DIG == 106]: Disable some tests.
34643         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34644         Likewise.
34645         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34646         Likewise.
34648         [BZ #14871]
34649         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34650         input for small inputs.  Return +/- pi/2 for large inputs.
34651         * math/libm-test.inc (atan_test): Add more tests.
34653         * sysdeps/generic/unwind-dw2-fde-glibc.c
34654         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34655         __attribute__ ((unused)).
34657         [BZ #14645]
34658         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34659         x * y if x and y are nonzero and z is zero.
34661         [BZ #14811]
34662         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34663         nonzero exponents with absolute value below 0x1p-117 to +/-
34664         0x1p-117.
34666         [BZ #14869]
34667         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34668         up arguments below 2**-450, not just those below 2**-500.
34669         * math/libm-test.inc (hypot_test): Add another test.
34671         [BZ #14868]
34672         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34673         Return a+b for ratio over 2**120, not 2**60.
34674         * math/libm-test.inc (hypot_test): Add another test.
34676         * math/libm-test.inc (clog_test): Use
34677         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34678         (clog10_test): Likewise.
34680         [BZ #6778]
34681         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34683 2012-11-22  Andreas Schwab  <schwab@suse.de>
34685         * sysdeps/i386/fpu/libm-test-ulps: Update.
34687 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
34689         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34690         printf output with newline.
34692 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
34694         [BZ #14865]
34695         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34696         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34697         -z nodlopen, -z initfirst and -z execstack support.
34698         * configure: Regenerated.
34700         * elf/elf.h (DF_1_NODIRECT): New macro.
34701         (DF_1_IGNMULDEF): Likewise.
34702         (DF_1_NOKSYMS): Likewise.
34703         (DF_1_NOHDR): Likewise.
34704         (DF_1_EDITED): Likewise.
34705         (DF_1_NORELOC): Likewise.
34706         (DF_1_SYMINTPOSE): Likewise.
34707         (DF_1_GLOBAUDIT): Likewise.
34708         (DF_1_SINGLETON): Likewise.
34709         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34710         DT_1_SUPPORTED_MASK bits.
34711         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34713 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
34715         * sysdeps/unix/make-syscalls.sh: Document prefixes.
34717 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
34719         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34720         macro.
34722         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34723         (sendmmsg): Move declarations...
34724         * socket/sys/socket.h: ... here.
34725         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34726         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34727         include it from...
34728         * socket/recvmmsg.c: ... this new file.
34729         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34730         (sendmmsg): Rename to __sendmmsg, create weak alias and make
34731         definition of __sendmmsg hidden.
34732         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34733         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34734         Move ENOSYS stub into and include it from...
34735         * socket/sendmmsg.c: ... this new file.
34736         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34737         (sysdep_routines): Move recvmmsg and sendmmsg...
34738         * socket/Makefile (routines): ... here.
34739         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34740         (GLIBC_PRIVATE): Add __sendmmsg.
34741         * include/sys/socket.h (__sendmmsg): Add declarations.
34742         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34743         sendmmsg.
34745 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
34747         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34748         variable I1 with __attribute__ ((unused)).
34749         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34751 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34753         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34754         DUMMY variables with __attribute__ ((unused)).
34756         * bits/byteswap.h: Include <bits/types.h>.
34757         (__bswap_64): Use __uint64_t instead of unsigned long long int.
34759 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34761         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34762         string_t.  Do not manually set errno.
34763         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34764         length with __strnlen.  Make sure to both set errno and return it on
34765         failure.
34767 2012-11-19  David S. Miller  <davem@davemloft.net>
34769         With help from Joseph Myers.
34770         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34771         very large arguments properly.
34772         * math/libm-test.inc (atan_test): New tests.
34773         (atan2_test): New tests.
34774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34777 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34779         [BZ #14856]
34780         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34781         Define to 3.
34783         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34784         [POSIX] (EADDRNOTAVAIL): Likewise.
34785         [POSIX] (EAFNOSUPPORT): Likewise.
34786         [POSIX] (EALREADY): Likewise.
34787         [POSIX] (ECONNABORTED): Likewise.
34788         [POSIX] (ECONNREFUSED): Likewise.
34789         [POSIX] (ECONNRESET): Likewise.
34790         [POSIX] (EDESTADDRREQ): Likewise.
34791         [POSIX] (EDQUOT): Likewise.
34792         [POSIX] (EHOSTUNREACH): Likewise.
34793         [POSIX] (EIDRM): Likewise.
34794         [POSIX] (EISCONN): Likewise.
34795         [POSIX] (ELOOP): Likewise.
34796         [POSIX] (EMULTIHOP): Likewise.
34797         [POSIX] (ENETDOWN): Likewise.
34798         [POSIX] (ENETUNREACH): Likewise.
34799         [POSIX] (ENOBUFS): Likewise.
34800         [POSIX] (ENODATA): Likewise.
34801         [POSIX] (ENOLINK): Likewise.
34802         [POSIX] (ENOMSG): Likewise.
34803         [POSIX] (ENOPROTOOPT): Likewise.
34804         [POSIX] (ENOSR): Likewise.
34805         [POSIX] (ENOSTR): Likewise.
34806         [POSIX] (ENOTCONN): Likewise.
34807         [POSIX] (ENOTSOCK): Likewise.
34808         [POSIX] (EOPNOTSUPP): Likewise.
34809         [POSIX] (EOVERFLOW): Likewise.
34810         [POSIX] (EPROTO): Likewise.
34811         [POSIX] (EPROTONOSUPPORT): Likewise.
34812         [POSIX] (EPROTOTYPE): Likewise.
34813         [POSIX] (ESTALE): Likewise.
34814         [POSIX] (ETIME): Likewise.
34815         [POSIX] (ETXTBSY): Likewise.
34816         [POSIX] (EWOULDBLOCK): Likewise.
34817         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34818         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34819         [POSIX] (SEEK_CUR): Likewise.
34820         [POSIX] (SEEK_END): Likewise.
34821         [POSIX || UNIX98] (mode_t): Do not require.
34822         [POSIX] (off_t): Likewise.
34823         [POSIX] (pid_t): Likewise.
34824         [POSIX] (sys/stat.h): Do not allow header.
34825         [POSIX] (unistd.h): Likewise.
34826         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34827         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34828         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34829         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34830         require.
34831         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34832         sigevent): Specify elements.
34833         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34834         entry.
34835         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34836         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34838         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34839         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34840         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34841         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34842         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34843         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34844         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34845         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34846         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34847         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34848         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34849         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34850         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34851         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34852         Likewise.
34853         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34854         Likewise.
34855         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34856         Likewise.
34857         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34858         Likewise.
34859         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34860         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34861         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34862         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34863         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34864         Specify lower bound on value.
34865         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34866         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34867         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34868         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34869         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34870         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34871         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34872         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34873         value.
34874         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34875         as optional.
34876         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34877         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34878         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34879         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34880         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34881         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34882         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34883         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34884         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34885         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34886         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34887         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34888         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34889         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34890         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34891         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34892         entry.
34893         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34894         optional.
34895         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34896         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34897         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34898         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34899         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34900         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34901         Likewise.
34902         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34903         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34904         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34905         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34906         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34907         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34908         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34909         as optional.
34910         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34911         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34912         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34913         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34914         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34915         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34916         specify as optional.
34917         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34918         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34919         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34920         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34921         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34922         [XPG3] (NL_LANGMAX): Likewise.
34923         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34924         [POSIX || XPG3] (NL_NMAX): Likewise.
34925         [POSIX || XPG3] (NL_SETMAX): Likewise.
34926         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34927         [XPG3] (NZERO): Likewise.
34928         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34929         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34930         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34931         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34932         (REG_ERANGE): Expect.
34933         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34934         optional-constant.
34935         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34936         Use (void) in prototype.
34937         [POSIX] (*_t): Allow.
34938         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34939         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34940         (WRDE_BADVAL): Expect.
34942         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34943         expect.
34944         [XPG3 || XPG4] (O_RSYNC): Likewise.
34945         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34946         Likewise.
34947         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34948         [XPG3 || XPG4] (sigqueue): Likewise.
34949         [XPG3 || XPG4] (sigtimedwait): Likewise.
34950         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34951         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34952         [XPG3 || XPG4] (vsnprintf): Likewise.
34953         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34954         Likewise.
34955         [XPG3 || XPG4] (blksize_t): Likewise.
34956         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34957         Likewise.
34958         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34959         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34960         [XPG3 || XPG4] (struct itimerspec): Likewise.
34961         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34962         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34963         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34964         [XPG3 || XPG4] (clockid_t): Likewise.
34965         [XPG3 || XPG4] (timer_t): Likewise.
34966         [XPG3 || XPG4] (clock_getres): Likewise.
34967         [XPG3 || XPG4] (clock_gettime): Likewise.
34968         [XPG3 || XPG4] (clock_settime): Likewise.
34969         [XPG3 || XPG4] (nanosleep): Likewise.
34970         [XPG3 || XPG4] (timer_create): Likewise.
34971         [XPG3 || XPG4] (timer_delete): Likewise.
34972         [XPG3 || XPG4] (timer_gettime): Likewise.
34973         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34974         [XPG3 || XPG4] (timer_settime): Likewise.
34975         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34976         [XPG3 || XPG4] (getlogin_r): Likewise.
34977         [XPG3 || XPG4] (pread): Likewise.
34978         [XPG3 || XPG4] (pthread_atfork): Likewise.
34979         [XPG3 || XPG4] (pwrite): Likewise.
34981         [BZ #14835]
34982         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34983         <bits/siginfo.h>.
34985 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34987         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34988         finalizing MALLSTREAM.
34990         * sysdeps/mach/hurd/syncfs.c: New file.
34992 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34994         [BZ #14719]
34995         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34996         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34997         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34998         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34999         (_nss_dns_gethostbyname4_r): Likewise.
35000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35001         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35003 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35005         [BZ #13763]
35006         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35008 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35010         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35011         * elf/cache.c (print_entry): Print ",AArch64" for
35012         FLAG_AARCH64_LIB64
35014         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35015         * elf/cache.c (print_entry): Print ",hard-float" for
35016         FLAG_ARM_LIBHF.
35018 2012-11-18  David S. Miller  <davem@davemloft.net>
35020         With help from Joseph Myers.
35021         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35022         cutoff to 2**-13.
35023         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35024         cutoff to 2**-25.
35025         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35026         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35027         small.
35028         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35029         * math/libm-test.inc (y0_test): New tests.
35030         (y1_test): New tests.
35031         * sysdeps/i386/fpu/libm-test-ulps: Update.
35032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35035 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35037         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35038         64-bit targets.
35039         * configure: Regenerated.
35041 2012-11-17  David S. Miller  <davem@davemloft.net>
35043         [BZ #14811]
35044         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35045         nonzero exponents with absolute value below 0x1p-128 to +/-
35046         0x1p-128.
35048 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35050         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35052         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35054         * posix/getconf-speclist.c: New file.
35055         * posix/posix-envs.def: Likewise.
35056         * posix/confstr.c (START_ENV_GROUP): New macro.
35057         (END_ENV_GROUP): Likewise.
35058         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35059         (KNOWN_PRESENT_ENV_STRING): Likewise.
35060         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35061         (UNKNOWN_ENVIRONMENT): Likewise.
35062         (confstr): Include posix-envs.def instead of handling
35063         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35064         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35065         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35066         (END_ENV_GROUP): Likewise.
35067         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35068         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35069         (UNKNOWN_ENVIRONMENT): Likewise.
35070         (__sysconf): Include posix-envs.def instead of handling associated
35071         cases directly here.
35072         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35073         preprocessing getconf-speclist.c rather than running getconf or
35074         generating empty file.
35076 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35078         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35080 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35082         [BZ #14672]
35083         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35085 2012-11-16  David S. Miller  <davem@davemloft.net>
35087         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35088         smaller than LDBL_EPSILON/2.0L, just return xm1.
35090 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35092         * elf/tst-array1.c (init): Set constructor priority to 1000.
35093         (fini): Set destructor priority to 1000.
35094         * elf/tst-array2dep.c: Likewise.
35096 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35098         [BZ #11741]
35099         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35100         (_IO_new_file_xsputn): Also return EOF if none of the input
35101         data was written when overflow failed.
35102         * libio/iopadn.c (_IO_padn): Likewise.
35103         * libio/iowpadn.c (_IO_wpadn): Likewise.
35104         * stdio-common/tst-put-error.c: Add copyright notice.
35105         (do_test): Add case for printing padded string.
35106         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35107         _IO_padn returned error.
35108         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35109         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35110         return EOF.
35112 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35114         * libio/libioP.h: Add comment note that the references to C++
35115         bits are now obsolete.
35117 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35119         * math/libm-test.inc (check_complex): Use asprintf.
35121 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35123         * debug/pcprofiledump.c (print_version): Update copyright year.
35124         * malloc/memusagestat.c (print_version): Likewise.
35126 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35128         [BZ #14831]
35129         * elf/Makefile (tests): Add tst-audit8.
35130         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35131         ($(objpfx)tst-audit8.out): New target.
35132         (tst-audit8-ENV): New variable.
35133         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35134         audit if l_reloc_result is NULL.
35135         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35136         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35137         * elf/tst-audit8.c: New file.
35139 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35141         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35142         * misc/Makefile (CFLAGS-select.c): Define.
35143         * posix/Makefile (CFLAGS-pause.c): Define.
35145 2012-11-13  David S. Miller  <davem@davemloft.net>
35147         * crypt/Makefile: Move test targets after toplevel Rules
35148         inclusion.  Grab any necessary sysdep routines when linking.
35149         * crypt/md5.c (md5_process_block): Remove define, we will always
35150         name it __md5_process_block.
35151         (md5_finish_ctx): Update md5_process_block call.
35152         (md5_stream): Likewise.
35153         (md5_process_bytes): Likewise.
35154         (md5_process_block): Rename to __md5_process_block and move to ...
35155         * crypt/md5-block.c: ... here.
35156         * crypt/sha256.c (sha256_process_block): Move to ...
35157         * crypt/sha256-block.c: ... here.
35158         * crypt/sha512.c (sha512_process_block): Move to ...
35159         * crypt/sha512-block.c: ... here.
35160         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35161         path.
35162         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35163         * sysdeps/sparc/sparc64/multiarch/Makefile
35164         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35165         crypt subdir.
35166         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35167         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35168         multiarch changes.
35169         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35170         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35171         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35172         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35173         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35174         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35175         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35176         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35177         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35178         file.
35179         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35180         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35181         file.
35182         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35184 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35186         * timezone/tzselect.ksh: Update from tzcode git revision
35187         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35188         * timezone/zdump.c: Likewise.
35189         * timezone/zic.c: Likewise.
35190         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35191         in TZVERSION setting, not $(PKGVERSION).
35192         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35193         REPORT_BUGS_TO settings.
35195         [BZ #14838]
35196         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35197         macro.
35199 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35201         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35202         detection to immediately after _FP_ROUND().
35203         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35204         bits are 0.
35206 2012-11-11  David S. Miller  <davem@davemloft.net>
35208         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35209         inttypes.h
35210         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35211         __close rather than their public counterparts.
35213 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35215         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35216         file.
35217         [UNIX98] (sem_timedwait): Do not expect.
35218         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35219         [XPG4 || UNIX98] (sockatmark): Do not expect.
35220         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35221         (clock_getcpuclockid): Do not expect.
35222         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35223         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35224         Do not expect.
35225         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35226         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35227         [UNIX98] (vwscanf): Likewise.
35228         [UNIX98] (vswscanf): Likewise.
35230 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35232         * timezone/version.h: Remove file.
35233         * timezone/README: Do not refer to version.h.
35234         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35235         $(objpfx)version.h.
35236         ($(objpfx)zdump.o): Likewise.
35237         ($(objpfx)version.h): New target.
35239         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35240         2012i.
35241         * timezone/README: Don't mention modification to tzselect.ksh.
35242         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35243         work on unmodified tzselect.ksh.  Substitute version numbers in
35244         tzselect.ksh.
35246         * Makefile (format-me): Remove.
35247         (INSTALL): Adjust indentation.  Use commands directly instead of
35248         using $(format-me).
35250         * aclocal.m4 (ACX_PKGVERSION): New macro.
35251         (ACX_BUGURL): Likewise.
35252         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35253         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35254         (REPORT_BUGS_TO): Likewise.
35255         * configure: Regenerated.
35256         * config.h.in (PKGVERSION): New macro.
35257         (REPORT_BUGS_TO): Likewise.
35258         * config.make.in (PKGVERSION): New variable.
35259         (PKGVERSION_TEXI): Likewise.
35260         (REPORT_BUGS_TO): Likewise.
35261         (REPORT_BUGS_TEXI): Likewise.
35262         * Makefile (format-me): Use -I$(common-objpfx)manual.
35263         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35264         ($(common-objpfx)manual/%): New target.
35265         (manual/%): Remove target.
35266         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35267         (print_version): Use PKGVERSION.
35268         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35269         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35270         and REPORT_BUGS_TO.
35271         ($(objpfx)xtrace): Likewise.
35272         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35273         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35274         (print_version): Use PKGVERSION.
35275         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35276         (do_version): Use PKGVERSION.
35277         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35278         REPORT_BUGS_TO.
35279         (common-ldd-rewrite): Likewise.
35280         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35281         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35282         (print_version): Use PKGVERSION.
35283         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35284         * elf/pldd.c (argp_program_bug_address): Remove variable.
35285         (more_help): New function.
35286         (argp): Use more_help.
35287         (print_version): Use PKGVERSION.
35288         * elf/sln.c (main): Use PKGVERSION.
35289         (usage): Use REPORT_BUGS_TO.
35290         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35291         (top level): Use PKGVERSION.
35292         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35293         (print_version): Use PKGVERSION.
35294         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35295         (print_version): Use PKGVERSION.
35296         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35297         (print_version): Use PKGVERSION.
35298         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35299         (print_version): Use PKGVERSION.
35300         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35301         (print_version): Use PKGVERSION.
35302         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35303         (print_version): Use PKGVERSION.
35304         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35305         and BUGURL.
35306         ($(objpfx)memusage): Likewise.
35307         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35308         (do_version): Use PKGVERSION.
35309         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35310         (print_version): Use PKGVERSION.
35311         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35312         ($PKGVERSION): New variable.
35313         ($REPORT_BUGS_TO): Likewise.
35314         (usage): Use $REPORT_BUGS_TO.
35315         (top level): Use $PKGVERSION.
35316         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35317         ($(objpfx)pkgvers.texi): New rule.
35318         ($(objpfx)stamp-pkgvers): Likewise.
35319         * manual/install.texi: Include pkgvers.texi.
35320         (--with-pkgversion): Document new configure option.
35321         (--with-bugurl): Likewise.
35322         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35323         than necessarily for this particular distribution.  Use
35324         REPORT_BUGS_TO for where to report bugs.
35325         * INSTALL: Regenerated.
35326         * manual/libc.texinfo: Include pkgvers.texi.
35327         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35328         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35329         (print_version): Use PKGVERSION.
35330         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35331         (print_version): Use PKGVERSION.
35332         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35333         (print_version): Use PKGVERSION.
35334         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35335         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35336         macro.
35337         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35338         (print_version): Use PKGVERSION.
35339         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35340         (print_version): Use PKGVERSION.
35341         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35342         and PKGVERSION.
35344         * timezone/checktab.awk: Update from tzcode 2012i.
35345         * timezone/ialloc.c: Likewise.
35346         * timezone/private.h: Likewise.
35347         * timezone/scheck.c: Likewise.
35348         * timezone/tzfile.h: Likewise.
35349         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35350         (TZVERSION): Hardcode tzcode version number.
35351         * timezone/zdump.c: Update from tzcode 2012i.
35352         * timezone/zic.c: Likewise.
35353         * timezone/version.h: New file.
35354         * timezone/README: Describe version.h.  Update upstream location.
35356         [BZ #14824]
35357         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35358         (mktemp): Enable declaration.
35359         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35360         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35363         Likewise.
35364         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35365         Likewise.
35366         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35367         Likewise.
35368         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35369         Likewise.
35370         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35371         Likewise.
35372         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35373         Likewise.
35375         [BZ #14821]
35376         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35377         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35378         for copies of such integer values.
35379         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35380         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35382 2012-11-09  Andreas Jaeger  <aj@suse.de>
35384         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35385         definitions and declarations that are provided by
35386         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35388 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35390         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35391         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35392         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35393         definition.
35395 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35397         * elf/elf.h: Update comment before AArch64 relocations.
35399 2012-11-07  David S. Miller  <davem@davemloft.net>
35401         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35402         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35403         (__start_context): Declare.
35404         (__makecontext_ret): Delete.
35405         (__makecontext): Hook up __start_context instead of
35406         __makecontext_ret.
35407         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35408         (sysdep_routines): Add __start_context when in stdlib.
35410 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35412         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35413         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35414         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35415         hardcoded "nm".
35416         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35417         (READELF): New variable.  Use it instead of hardcoded "readelf".
35419 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35421         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35422         * sysdeps/x86/Makefile: Here.
35423         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35424         * sysdeps/x86/tst-xmmymm.sh: This.
35426 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35428         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35429         expectations.
35430         [UNIX98] (pthread_barrier_t): Do not expect.
35431         [UNIX98] (pthread_barrierattr_t): Likewise.
35432         [UNIX98] (pthread_spinlock_t): Likewise.
35433         [UNIX98] (pthread_barrier_destroy): Likewise.
35434         [UNIX98] (pthread_barrier_init): Likewise.
35435         [UNIX98] (pthread_barrier_wait): Likewise.
35436         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35437         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35438         [UNIX98] (pthread_barrierattr_init): Likewise.
35439         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35440         [UNIX98] (pthread_getcpuclockid): Likewise.
35441         [UNIX98] (pthread_mutex_timedlock): Likewise.
35442         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35443         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35444         [UNIX98] (pthread_sigmask): Likewise.
35445         [UNIX98] (pthread_spin_destroy): Likewise.
35446         [UNIX98] (pthread_spin_init): Likewise.
35447         [UNIX98] (pthread_spin_lock): Likewise.
35448         [UNIX98] (pthread_spin_trylock): Likewise.
35449         [UNIX98] (pthread_spin_unlock): Likewise.
35450         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35451         Do not expect.
35452         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35453         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35454         [XPG3 || XPG4] (pthread_cond_t): Likewise.
35455         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35456         [XPG3 || XPG4] (pthread_key_t): Likewise.
35457         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35458         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35459         [XPG3 || XPG4] (pthread_once_t): Likewise.
35460         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35461         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35462         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35463         [XPG3 || XPG4] (pthread_t): Likewise.
35465         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35466         not expect.
35467         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35469         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35470         Change function return type to int.
35472         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35473         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35474         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35475         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35476         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35477         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35478         [!POSIX] (posix_madvise): Likewise.
35479         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35480         && !UNIX98].
35481         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35482         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35483         (mode_t): Likewise.
35484         (posix_mem_offset): Likewise.
35485         (posix_typed_mem_get_info): Likewise.
35486         (posix_typed_mem_open): Likewise.
35488         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35489         Change condition to [XOPEN2K8].
35491         * conform/conformtest.pl: Preprocess allow-header data with -x c
35492         instead of from stdin.
35493         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35494         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35495         [C99-based standards] (cerfc): Likewise.
35496         [C99-based standards] (cexp2): Likewise.
35497         [C99-based standards] (cexpm1): Likewise.
35498         [C99-based standards] (clog10): Likewise.
35499         [C99-based standards] (clog1p): Likewise.
35500         [C99-based standards] (clog2): Likewise.
35501         [C99-based standards] (clgamma): Likewise.
35502         [C99-based standards] (ctgamma): Likewise.
35503         [C99-based standards] (cerff): Likewise.
35504         [C99-based standards] (cerfcf): Likewise.
35505         [C99-based standards] (cexp2f): Likewise.
35506         [C99-based standards] (cexpm1f): Likewise.
35507         [C99-based standards] (clog10f): Likewise.
35508         [C99-based standards] (clog1pf): Likewise.
35509         [C99-based standards] (clog2f): Likewise.
35510         [C99-based standards] (clgammaf): Likewise.
35511         [C99-based standards] (ctgammaf): Likewise.
35512         [C99-based standards] (cerfl): Likewise.
35513         [C99-based standards] (cerfcl): Likewise.
35514         [C99-based standards] (cexp2l): Likewise.
35515         [C99-based standards] (cexpm1l): Likewise.
35516         [C99-based standards] (clog10l): Likewise.
35517         [C99-based standards] (clog1pl): Likewise.
35518         [C99-based standards] (clog2l): Likewise.
35519         [C99-based standards] (clgammal): Likewise.
35520         [C99-based standards] (ctgammal): Likewise.
35521         * conform/data/inttypes.h-data [C99-based standards]: Include
35522         stdint.h-data.  Remove all expectations for stdint.h contents.
35523         [C99-based standards] (PRI*): Do not allow.
35524         [C99-based standards] (SCN*): Likewise.
35525         [C99-based standards] (*_t): Likewise.
35526         [C99-based-standards] (PRId8): Expect macro.
35527         [C99-based-standards] (PRIi8): Likewise.
35528         [C99-based-standards] (PRIo8): Likewise.
35529         [C99-based-standards] (PRIu8): Likewise.
35530         [C99-based-standards] (PRIx8): Likewise.
35531         [C99-based-standards] (PRIX8): Likewise.
35532         [C99-based-standards] (SCNd8): Likewise.
35533         [C99-based-standards] (SCNi8): Likewise.
35534         [C99-based-standards] (SCNo8): Likewise.
35535         [C99-based-standards] (SCNu8): Likewise.
35536         [C99-based-standards] (SCNx8): Likewise.
35537         [C99-based-standards] (PRIdLEAST8): Likewise.
35538         [C99-based-standards] (PRIiLEAST8): Likewise.
35539         [C99-based-standards] (PRIoLEAST8): Likewise.
35540         [C99-based-standards] (PRIuLEAST8): Likewise.
35541         [C99-based-standards] (PRIxLEAST8): Likewise.
35542         [C99-based-standards] (PRIXLEAST8): Likewise.
35543         [C99-based-standards] (SCNdLEAST8): Likewise.
35544         [C99-based-standards] (SCNiLEAST8): Likewise.
35545         [C99-based-standards] (SCNoLEAST8): Likewise.
35546         [C99-based-standards] (SCNuLEAST8): Likewise.
35547         [C99-based-standards] (SCNxLEAST8): Likewise.
35548         [C99-based-standards] (PRIdFAST8): Likewise.
35549         [C99-based-standards] (PRIiFAST8): Likewise.
35550         [C99-based-standards] (PRIoFAST8): Likewise.
35551         [C99-based-standards] (PRIuFAST8): Likewise.
35552         [C99-based-standards] (PRIxFAST8): Likewise.
35553         [C99-based-standards] (PRIXFAST8): Likewise.
35554         [C99-based-standards] (SCNdFAST8): Likewise.
35555         [C99-based-standards] (SCNiFAST8): Likewise.
35556         [C99-based-standards] (SCNoFAST8): Likewise.
35557         [C99-based-standards] (SCNuFAST8): Likewise.
35558         [C99-based-standards] (SCNxFAST8): Likewise.
35559         [C99-based-standards] (PRId16): Likewise.
35560         [C99-based-standards] (PRIi16): Likewise.
35561         [C99-based-standards] (PRIo16): Likewise.
35562         [C99-based-standards] (PRIu16): Likewise.
35563         [C99-based-standards] (PRIx16): Likewise.
35564         [C99-based-standards] (PRIX16): Likewise.
35565         [C99-based-standards] (SCNd16): Likewise.
35566         [C99-based-standards] (SCNi16): Likewise.
35567         [C99-based-standards] (SCNo16): Likewise.
35568         [C99-based-standards] (SCNu16): Likewise.
35569         [C99-based-standards] (SCNx16): Likewise.
35570         [C99-based-standards] (PRIdLEAST16): Likewise.
35571         [C99-based-standards] (PRIiLEAST16): Likewise.
35572         [C99-based-standards] (PRIoLEAST16): Likewise.
35573         [C99-based-standards] (PRIuLEAST16): Likewise.
35574         [C99-based-standards] (PRIxLEAST16): Likewise.
35575         [C99-based-standards] (PRIXLEAST16): Likewise.
35576         [C99-based-standards] (SCNdLEAST16): Likewise.
35577         [C99-based-standards] (SCNiLEAST16): Likewise.
35578         [C99-based-standards] (SCNoLEAST16): Likewise.
35579         [C99-based-standards] (SCNuLEAST16): Likewise.
35580         [C99-based-standards] (SCNxLEAST16): Likewise.
35581         [C99-based-standards] (PRIdFAST16): Likewise.
35582         [C99-based-standards] (PRIiFAST16): Likewise.
35583         [C99-based-standards] (PRIoFAST16): Likewise.
35584         [C99-based-standards] (PRIuFAST16): Likewise.
35585         [C99-based-standards] (PRIxFAST16): Likewise.
35586         [C99-based-standards] (PRIXFAST16): Likewise.
35587         [C99-based-standards] (SCNdFAST16): Likewise.
35588         [C99-based-standards] (SCNiFAST16): Likewise.
35589         [C99-based-standards] (SCNoFAST16): Likewise.
35590         [C99-based-standards] (SCNuFAST16): Likewise.
35591         [C99-based-standards] (SCNxFAST16): Likewise.
35592         [C99-based-standards] (PRId32): Likewise.
35593         [C99-based-standards] (PRIi32): Likewise.
35594         [C99-based-standards] (PRIo32): Likewise.
35595         [C99-based-standards] (PRIu32): Likewise.
35596         [C99-based-standards] (PRIx32): Likewise.
35597         [C99-based-standards] (PRIX32): Likewise.
35598         [C99-based-standards] (SCNd32): Likewise.
35599         [C99-based-standards] (SCNi32): Likewise.
35600         [C99-based-standards] (SCNo32): Likewise.
35601         [C99-based-standards] (SCNu32): Likewise.
35602         [C99-based-standards] (SCNx32): Likewise.
35603         [C99-based-standards] (PRIdLEAST32): Likewise.
35604         [C99-based-standards] (PRIiLEAST32): Likewise.
35605         [C99-based-standards] (PRIoLEAST32): Likewise.
35606         [C99-based-standards] (PRIuLEAST32): Likewise.
35607         [C99-based-standards] (PRIxLEAST32): Likewise.
35608         [C99-based-standards] (PRIXLEAST32): Likewise.
35609         [C99-based-standards] (SCNdLEAST32): Likewise.
35610         [C99-based-standards] (SCNiLEAST32): Likewise.
35611         [C99-based-standards] (SCNoLEAST32): Likewise.
35612         [C99-based-standards] (SCNuLEAST32): Likewise.
35613         [C99-based-standards] (SCNxLEAST32): Likewise.
35614         [C99-based-standards] (PRIdFAST32): Likewise.
35615         [C99-based-standards] (PRIiFAST32): Likewise.
35616         [C99-based-standards] (PRIoFAST32): Likewise.
35617         [C99-based-standards] (PRIuFAST32): Likewise.
35618         [C99-based-standards] (PRIxFAST32): Likewise.
35619         [C99-based-standards] (PRIXFAST32): Likewise.
35620         [C99-based-standards] (SCNdFAST32): Likewise.
35621         [C99-based-standards] (SCNiFAST32): Likewise.
35622         [C99-based-standards] (SCNoFAST32): Likewise.
35623         [C99-based-standards] (SCNuFAST32): Likewise.
35624         [C99-based-standards] (SCNxFAST32): Likewise.
35625         [C99-based-standards] (PRId64): Likewise.
35626         [C99-based-standards] (PRIi64): Likewise.
35627         [C99-based-standards] (PRIo64): Likewise.
35628         [C99-based-standards] (PRIu64): Likewise.
35629         [C99-based-standards] (PRIx64): Likewise.
35630         [C99-based-standards] (PRIX64): Likewise.
35631         [C99-based-standards] (SCNd64): Likewise.
35632         [C99-based-standards] (SCNi64): Likewise.
35633         [C99-based-standards] (SCNo64): Likewise.
35634         [C99-based-standards] (SCNu64): Likewise.
35635         [C99-based-standards] (SCNx64): Likewise.
35636         [C99-based-standards] (PRIdLEAST64): Likewise.
35637         [C99-based-standards] (PRIiLEAST64): Likewise.
35638         [C99-based-standards] (PRIoLEAST64): Likewise.
35639         [C99-based-standards] (PRIuLEAST64): Likewise.
35640         [C99-based-standards] (PRIxLEAST64): Likewise.
35641         [C99-based-standards] (PRIXLEAST64): Likewise.
35642         [C99-based-standards] (SCNdLEAST64): Likewise.
35643         [C99-based-standards] (SCNiLEAST64): Likewise.
35644         [C99-based-standards] (SCNoLEAST64): Likewise.
35645         [C99-based-standards] (SCNuLEAST64): Likewise.
35646         [C99-based-standards] (SCNxLEAST64): Likewise.
35647         [C99-based-standards] (PRIdFAST64): Likewise.
35648         [C99-based-standards] (PRIiFAST64): Likewise.
35649         [C99-based-standards] (PRIoFAST64): Likewise.
35650         [C99-based-standards] (PRIuFAST64): Likewise.
35651         [C99-based-standards] (PRIxFAST64): Likewise.
35652         [C99-based-standards] (PRIXFAST64): Likewise.
35653         [C99-based-standards] (SCNdFAST64): Likewise.
35654         [C99-based-standards] (SCNiFAST64): Likewise.
35655         [C99-based-standards] (SCNoFAST64): Likewise.
35656         [C99-based-standards] (SCNuFAST64): Likewise.
35657         [C99-based-standards] (SCNxFAST64): Likewise.
35658         [C99-based-standards] (PRIdMAX): Likewise.
35659         [C99-based-standards] (PRIiMAX): Likewise.
35660         [C99-based-standards] (PRIoMAX): Likewise.
35661         [C99-based-standards] (PRIuMAX): Likewise.
35662         [C99-based-standards] (PRIxMAX): Likewise.
35663         [C99-based-standards] (PRIXMAX): Likewise.
35664         [C99-based-standards] (SCNdMAX): Likewise.
35665         [C99-based-standards] (SCNiMAX): Likewise.
35666         [C99-based-standards] (SCNoMAX): Likewise.
35667         [C99-based-standards] (SCNuMAX): Likewise.
35668         [C99-based-standards] (SCNxMAX): Likewise.
35669         [C99-based-standards] (PRIdPTR): Likewise.
35670         [C99-based-standards] (PRIiPTR): Likewise.
35671         [C99-based-standards] (PRIoPTR): Likewise.
35672         [C99-based-standards] (PRIuPTR): Likewise.
35673         [C99-based-standards] (PRIxPTR): Likewise.
35674         [C99-based-standards] (PRIXPTR): Likewise.
35675         [C99-based-standards] (SCNdPTR): Likewise.
35676         [C99-based-standards] (SCNiPTR): Likewise.
35677         [C99-based-standards] (SCNoPTR): Likewise.
35678         [C99-based-standards] (SCNuPTR): Likewise.
35679         [C99-based-standards] (SCNxPTR): Likewise.
35680         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35681         allow.
35682         * conform/data/stdint.h-data: Update comments to clarify
35683         requirements.
35684         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
35685         type.
35686         [C99-based standards] (INT8_MAX): Likewise.
35687         [C99-based standards] (INT16_MIN): Likewise.
35688         [C99-based standards] (INT16_MAX): Likewise.
35689         [C99-based standards] (INT32_MIN): Likewise.
35690         [C99-based standards] (INT32_MAX): Likewise.
35691         [C99-based standards] (INT64_MIN): Likewise.
35692         [C99-based standards] (INT64_MAX): Likewise.
35693         [C99-based standards] (UINT8_MAX): Likewise.
35694         [C99-based standards] (UINT16_MAX): Likewise.
35695         [C99-based standards] (UINT32_MAX): Likewise.
35696         [C99-based standards] (UINT64_MAX): Likewise.
35697         [C99-based standards] (INT_LEAST8_MIN): Likewise.
35698         [C99-based standards] (INT_LEAST8_MAX): Likewise.
35699         [C99-based standards] (INT_LEAST16_MIN): Likewise.
35700         [C99-based standards] (INT_LEAST16_MAX): Likewise.
35701         [C99-based standards] (INT_LEAST32_MIN): Likewise.
35702         [C99-based standards] (INT_LEAST32_MAX): Likewise.
35703         [C99-based standards] (INT_LEAST64_MIN): Likewise.
35704         [C99-based standards] (INT_LEAST64_MAX): Likewise.
35705         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35706         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35707         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35708         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35709         [C99-based standards] (INT_FAST8_MIN): Likewise.
35710         [C99-based standards] (INT_FAST8_MAX): Likewise.
35711         [C99-based standards] (INT_FAST16_MIN): Likewise.
35712         [C99-based standards] (INT_FAST16_MAX): Likewise.
35713         [C99-based standards] (INT_FAST32_MIN): Likewise.
35714         [C99-based standards] (INT_FAST32_MAX): Likewise.
35715         [C99-based standards] (INT_FAST64_MIN): Likewise.
35716         [C99-based standards] (INT_FAST64_MAX): Likewise.
35717         [C99-based standards] (UINT_FAST8_MAX): Likewise.
35718         [C99-based standards] (UINT_FAST16_MAX): Likewise.
35719         [C99-based standards] (UINT_FAST32_MAX): Likewise.
35720         [C99-based standards] (UINT_FAST64_MAX): Likewise.
35721         [C99-based standards] (INTPTR_MIN): Likewise.
35722         [C99-based standards] (INTPTR_MAX): Likewise.
35723         [C99-based standards] (UINTPTR_MAX): Likewise.
35724         [C99-based standards] (INTMAX_MIN): Likewise.
35725         [C99-based standards] (INTMAX_MAX): Likewise.
35726         [C99-based standards] (UINTMAX_MAX): Likewise.
35727         [C99-based standards] (PTRDIFF_MIN): Likewise.
35728         [C99-based standards] (PTRDIFF_MAX): Likewise.
35729         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35730         [C99-based standards] (SIZE_MAX): Likewise.
35731         [C99-based standards] (WCHAR_MAX): Likewise.
35732         [C99-based standards] (WINT_MAX): Likewise.
35733         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
35734         constraint on value.
35735         [C99-based standards] (WCHAR_MIN): Likewise.
35736         [C99-based standards] (WINT_MIN): Likewise.
35737         [C99-based standards] (*_t): Allow.
35738         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35739         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35740         Include math.h-data and complex.h-data.  Remove all expectations
35741         of math.h and complex.h contents.
35742         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35743         at end of line.
35744         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35745         (struct tm): Expect tag.
35746         [C99-based-standards] (wcstof): Expect function.
35747         [C99-based-standards] (wcstold): Likewise.
35748         [C99-based-standards] (wcstoll): Likewise.
35749         [C99-based-standards] (wcstoull): Likewise.
35750         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35751         macro-int-constant.  Specify type.
35752         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
35753         constraint on value.
35754         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35755         Specify type.
35756         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35757         Specify value.
35758         [ISO C standards]: Do not allow headers.
35759         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35760         wcs[abcdefghijklmnopqrstuvwxyz]*.
35761         [ISO C standards] (*_t): Do not allow.
35762         * conform/data/wctype.h-data [C99-based standards] (iswblank):
35763         Expect function.
35764         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35765         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35766         Specify type.
35767         [ISO C standards]: Do not allow headers.
35768         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35769         is[abcdefghijklmnopqrstuvwxyz]*.
35770         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35771         to[abcdefghijklmnopqrstuvwxyz]*.
35772         [ISO C standards] (*_t): Do not allow.
35773         * conform/data/stdalign.h-data: New file.
35774         * conform/data/stdbool.h-data: Likewise.
35775         * conform/data/stdnoreturn.h-data: Likewise.
35777 2012-11-07  Roland McGrath  <roland@hack.frob.com>
35779         [BZ #14815]
35780         * manual/filesys.texi (Directory Entries): Typo fix.
35781         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35783 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35785         * elf/elf.h (EM_AARCH64): New macro.
35786         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35787         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35788         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35789         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35790         (R_AARCH64_TLSDESC): Likewise.
35791         (NT_ARM_TLS): Likewise.
35792         (NT_ARM_HW_BREAK): Likewise.
35793         (NT_ARM_HW_WATCH): Likewise.
35795 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35797         [BZ #14811]
35798         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35799         (__ieee754_powl): Saturate nonzero exponents with absolute value
35800         below 0x1p-79 to +/- 0x1p-79.
35801         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35802         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35803         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35804         nonzero exponents with absolute value below 0x1p-32 to +/-
35805         0x1p-32.
35806         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35807         (__ieee754_powl): Saturate nonzero exponents with absolute value
35808         below 0x1p-79 to +/- 0x1p-79.
35809         * math/libm-test.inc (pow_test): Add more tests.
35811 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35813         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35814         _dl_s390_cap_flags with kernel. Increase string length.
35815         (_dl_s390_platforms): Add z196 and zEC12.
35817 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35819         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35820         Change XOPEN21K to XOPEN2K.
35822 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35824         * string/memmove.c: Use memcpy when possible.
35826 2012-11-06  Andreas Jaeger  <aj@suse.de>
35828         * po/eo.po: Update from translation team.
35830 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35832         [BZ #14793]
35833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35834         exponent and small x and y exponents, scale x or y up.  Increase
35835         by 2 the exponent used in scaling up.
35836         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35838         * math/libm-test.inc (fma_test): Add more tests.
35839         (fma_test_towardzero): Likewise.
35840         (fma_test_downward): Likewise.
35841         (fma_test_upward): Likewise.
35843 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35845         [BZ #14805]
35846         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35847         fenv_t *.
35849         [BZ #14801]
35850         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35851         namespace for names of struct fields.
35852         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35853         fenv_t fields.
35854         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35855         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35857 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35859         [BZ #3665]
35860         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35862 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35864         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35865         PTR_DEMANGLE.
35867         [BZ #5246]
35868         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35869         PTR_DEMANGLE.
35871 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35873         [BZ #14797]
35874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35875         definitely overflow as x * y not x * y + z.
35876         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35878         * math/libm-test.inc (fma_test): Add more tests.
35879         (fma_test_towardzero): Likewise.
35880         (fma_test_downward): Likewise.
35881         (fma_test_upward): Likewise.
35883 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35885         [BZ #157]
35887         * include/stub-tag.h: Remove file.
35888         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35889         '#include' of it.
35890         * manual/maint.texi (Porting): Don't reference it.
35891         * Makerules ($(objpfx)stubs): Likewise.
35892         * dirent/closedir.c: Don't include <stub-tag.h>.
35893         * dirent/dirfd.c: Likewise.
35894         * dirent/fdopendir.c: Likewise.
35895         * dirent/getdents.c: Likewise.
35896         * dirent/getdents64.c: Likewise.
35897         * dirent/opendir.c: Likewise.
35898         * dirent/readdir.c: Likewise.
35899         * dirent/readdir64.c: Likewise.
35900         * dirent/readdir64_r.c: Likewise.
35901         * dirent/readdir_r.c: Likewise.
35902         * dirent/rewinddir.c: Likewise.
35903         * dirent/seekdir.c: Likewise.
35904         * dirent/telldir.c: Likewise.
35905         * gmon/profil.c: Likewise.
35906         * grp/setgroups.c: Likewise.
35907         * inet/if_index.c: Likewise.
35908         * io/access.c: Likewise.
35909         * io/chdir.c: Likewise.
35910         * io/chmod.c: Likewise.
35911         * io/chown.c: Likewise.
35912         * io/close.c: Likewise.
35913         * io/dup.c: Likewise.
35914         * io/dup2.c: Likewise.
35915         * io/dup3.c: Likewise.
35916         * io/euidaccess.c: Likewise.
35917         * io/faccessat.c: Likewise.
35918         * io/fchdir.c: Likewise.
35919         * io/fchmod.c: Likewise.
35920         * io/fchmodat.c: Likewise.
35921         * io/fchown.c: Likewise.
35922         * io/fchownat.c: Likewise.
35923         * io/fcntl.c: Likewise.
35924         * io/flock.c: Likewise.
35925         * io/fstatfs.c: Likewise.
35926         * io/fstatfs64.c: Likewise.
35927         * io/fstatvfs.c: Likewise.
35928         * io/fstatvfs64.c: Likewise.
35929         * io/futimens.c: Likewise.
35930         * io/fxstat.c: Likewise.
35931         * io/fxstat64.c: Likewise.
35932         * io/fxstatat.c: Likewise.
35933         * io/fxstatat64.c: Likewise.
35934         * io/getcwd.c: Likewise.
35935         * io/isatty.c: Likewise.
35936         * io/lchmod.c: Likewise.
35937         * io/lchown.c: Likewise.
35938         * io/link.c: Likewise.
35939         * io/linkat.c: Likewise.
35940         * io/lseek.c: Likewise.
35941         * io/lseek64.c: Likewise.
35942         * io/lxstat64.c: Likewise.
35943         * io/mkdir.c: Likewise.
35944         * io/mkdirat.c: Likewise.
35945         * io/mkfifo.c: Likewise.
35946         * io/mkfifoat.c: Likewise.
35947         * io/open.c: Likewise.
35948         * io/open64.c: Likewise.
35949         * io/openat.c: Likewise.
35950         * io/openat64.c: Likewise.
35951         * io/pipe.c: Likewise.
35952         * io/pipe2.c: Likewise.
35953         * io/poll.c: Likewise.
35954         * io/posix_fadvise.c: Likewise.
35955         * io/posix_fadvise64.c: Likewise.
35956         * io/posix_fallocate.c: Likewise.
35957         * io/posix_fallocate64.c: Likewise.
35958         * io/read.c: Likewise.
35959         * io/readlink.c: Likewise.
35960         * io/readlinkat.c: Likewise.
35961         * io/rmdir.c: Likewise.
35962         * io/sendfile.c: Likewise.
35963         * io/sendfile64.c: Likewise.
35964         * io/statfs.c: Likewise.
35965         * io/statfs64.c: Likewise.
35966         * io/statvfs.c: Likewise.
35967         * io/statvfs64.c: Likewise.
35968         * io/symlink.c: Likewise.
35969         * io/symlinkat.c: Likewise.
35970         * io/ttyname.c: Likewise.
35971         * io/ttyname_r.c: Likewise.
35972         * io/umask.c: Likewise.
35973         * io/unlink.c: Likewise.
35974         * io/unlinkat.c: Likewise.
35975         * io/utime.c: Likewise.
35976         * io/utimensat.c: Likewise.
35977         * io/write.c: Likewise.
35978         * io/xmknod.c: Likewise.
35979         * io/xmknodat.c: Likewise.
35980         * io/xstat.c: Likewise.
35981         * io/xstat64.c: Likewise.
35982         * login/getpt.c: Likewise.
35983         * login/grantpt.c: Likewise.
35984         * login/unlockpt.c: Likewise.
35985         * math/e_acoshl.c: Likewise.
35986         * math/e_acosl.c: Likewise.
35987         * math/e_asinl.c: Likewise.
35988         * math/e_atan2l.c: Likewise.
35989         * math/e_atanhl.c: Likewise.
35990         * math/e_coshl.c: Likewise.
35991         * math/e_expl.c: Likewise.
35992         * math/e_fmodl.c: Likewise.
35993         * math/e_gammal_r.c: Likewise.
35994         * math/e_hypotl.c: Likewise.
35995         * math/e_j0l.c: Likewise.
35996         * math/e_j1l.c: Likewise.
35997         * math/e_jnl.c: Likewise.
35998         * math/e_lgammal_r.c: Likewise.
35999         * math/e_log10l.c: Likewise.
36000         * math/e_log2l.c: Likewise.
36001         * math/e_logl.c: Likewise.
36002         * math/e_powl.c: Likewise.
36003         * math/e_rem_pio2l.c: Likewise.
36004         * math/e_sinhl.c: Likewise.
36005         * math/e_sqrtl.c: Likewise.
36006         * math/fclrexcpt.c: Likewise.
36007         * math/fedisblxcpt.c: Likewise.
36008         * math/feenablxcpt.c: Likewise.
36009         * math/fegetenv.c: Likewise.
36010         * math/fegetexcept.c: Likewise.
36011         * math/fegetround.c: Likewise.
36012         * math/feholdexcpt.c: Likewise.
36013         * math/fesetenv.c: Likewise.
36014         * math/fesetround.c: Likewise.
36015         * math/feupdateenv.c: Likewise.
36016         * math/fgetexcptflg.c: Likewise.
36017         * math/fraiseexcpt.c: Likewise.
36018         * math/fsetexcptflg.c: Likewise.
36019         * math/ftestexcept.c: Likewise.
36020         * math/k_cosl.c: Likewise.
36021         * math/k_rem_pio2l.c: Likewise.
36022         * math/k_sinl.c: Likewise.
36023         * math/k_tanl.c: Likewise.
36024         * math/s_asinhl.c: Likewise.
36025         * math/s_atanl.c: Likewise.
36026         * math/s_cbrtl.c: Likewise.
36027         * math/s_erfl.c: Likewise.
36028         * math/s_expm1l.c: Likewise.
36029         * math/s_log1pl.c: Likewise.
36030         * math/s_tanhl.c: Likewise.
36031         * misc/acct.c: Likewise.
36032         * misc/brk.c: Likewise.
36033         * misc/chflags.c: Likewise.
36034         * misc/chroot.c: Likewise.
36035         * misc/fchflags.c: Likewise.
36036         * misc/fgetxattr.c: Likewise.
36037         * misc/flistxattr.c: Likewise.
36038         * misc/fremovexattr.c: Likewise.
36039         * misc/fsetxattr.c: Likewise.
36040         * misc/fsync.c: Likewise.
36041         * misc/ftruncate.c: Likewise.
36042         * misc/futimes.c: Likewise.
36043         * misc/futimesat.c: Likewise.
36044         * misc/getdomain.c: Likewise.
36045         * misc/getdtsz.c: Likewise.
36046         * misc/gethostid.c: Likewise.
36047         * misc/gethostname.c: Likewise.
36048         * misc/getloadavg.c: Likewise.
36049         * misc/getpagesize.c: Likewise.
36050         * misc/getsysstats.c: Likewise.
36051         * misc/getxattr.c: Likewise.
36052         * misc/gtty.c: Likewise.
36053         * misc/ioctl.c: Likewise.
36054         * misc/lgetxattr.c: Likewise.
36055         * misc/listxattr.c: Likewise.
36056         * misc/llistxattr.c: Likewise.
36057         * misc/lremovexattr.c: Likewise.
36058         * misc/lsetxattr.c: Likewise.
36059         * misc/lutimes.c: Likewise.
36060         * misc/madvise.c: Likewise.
36061         * misc/mincore.c: Likewise.
36062         * misc/mlock.c: Likewise.
36063         * misc/mlockall.c: Likewise.
36064         * misc/mmap.c: Likewise.
36065         * misc/mprotect.c: Likewise.
36066         * misc/msync.c: Likewise.
36067         * misc/munlock.c: Likewise.
36068         * misc/munlockall.c: Likewise.
36069         * misc/munmap.c: Likewise.
36070         * misc/preadv.c: Likewise.
36071         * misc/preadv64.c: Likewise.
36072         * misc/ptrace.c: Likewise.
36073         * misc/pwritev.c: Likewise.
36074         * misc/pwritev64.c: Likewise.
36075         * misc/readv.c: Likewise.
36076         * misc/reboot.c: Likewise.
36077         * misc/remap_file_pages.c: Likewise.
36078         * misc/removexattr.c: Likewise.
36079         * misc/revoke.c: Likewise.
36080         * misc/select.c: Likewise.
36081         * misc/setdomain.c: Likewise.
36082         * misc/setegid.c: Likewise.
36083         * misc/seteuid.c: Likewise.
36084         * misc/sethostid.c: Likewise.
36085         * misc/sethostname.c: Likewise.
36086         * misc/setregid.c: Likewise.
36087         * misc/setreuid.c: Likewise.
36088         * misc/setxattr.c: Likewise.
36089         * misc/sstk.c: Likewise.
36090         * misc/stty.c: Likewise.
36091         * misc/swapoff.c: Likewise.
36092         * misc/swapon.c: Likewise.
36093         * misc/sync.c: Likewise.
36094         * misc/syncfs.c: Likewise.
36095         * misc/syscall.c: Likewise.
36096         * misc/truncate.c: Likewise.
36097         * misc/ualarm.c: Likewise.
36098         * misc/usleep.c: Likewise.
36099         * misc/ustat.c: Likewise.
36100         * misc/utimes.c: Likewise.
36101         * misc/vhangup.c: Likewise.
36102         * misc/writev.c: Likewise.
36103         * posix/_exit.c: Likewise.
36104         * posix/alarm.c: Likewise.
36105         * posix/execve.c: Likewise.
36106         * posix/fexecve.c: Likewise.
36107         * posix/fork.c: Likewise.
36108         * posix/fpathconf.c: Likewise.
36109         * posix/getaddrinfo.c: Likewise.
36110         * posix/getegid.c: Likewise.
36111         * posix/geteuid.c: Likewise.
36112         * posix/getgid.c: Likewise.
36113         * posix/getgroups.c: Likewise.
36114         * posix/getlogin.c: Likewise.
36115         * posix/getlogin_r.c: Likewise.
36116         * posix/getpgid.c: Likewise.
36117         * posix/getpid.c: Likewise.
36118         * posix/getppid.c: Likewise.
36119         * posix/getresgid.c: Likewise.
36120         * posix/getresuid.c: Likewise.
36121         * posix/getsid.c: Likewise.
36122         * posix/getuid.c: Likewise.
36123         * posix/glob64.c: Likewise.
36124         * posix/nanosleep.c: Likewise.
36125         * posix/pathconf.c: Likewise.
36126         * posix/pause.c: Likewise.
36127         * posix/posix_madvise.c: Likewise.
36128         * posix/pread.c: Likewise.
36129         * posix/pread64.c: Likewise.
36130         * posix/pwrite.c: Likewise.
36131         * posix/pwrite64.c: Likewise.
36132         * posix/sched_getaffinity.c: Likewise.
36133         * posix/sched_getp.c: Likewise.
36134         * posix/sched_gets.c: Likewise.
36135         * posix/sched_primax.c: Likewise.
36136         * posix/sched_primin.c: Likewise.
36137         * posix/sched_rr_gi.c: Likewise.
36138         * posix/sched_setaffinity.c: Likewise.
36139         * posix/sched_setp.c: Likewise.
36140         * posix/sched_sets.c: Likewise.
36141         * posix/sched_yield.c: Likewise.
36142         * posix/setgid.c: Likewise.
36143         * posix/setlogin.c: Likewise.
36144         * posix/setpgid.c: Likewise.
36145         * posix/setresgid.c: Likewise.
36146         * posix/setresuid.c: Likewise.
36147         * posix/setsid.c: Likewise.
36148         * posix/setuid.c: Likewise.
36149         * posix/sleep.c: Likewise.
36150         * posix/spawni.c: Likewise.
36151         * posix/sysconf.c: Likewise.
36152         * posix/times.c: Likewise.
36153         * posix/wait.c: Likewise.
36154         * posix/wait3.c: Likewise.
36155         * posix/wait4.c: Likewise.
36156         * posix/waitpid.c: Likewise.
36157         * resolv/gai_sigqueue.c: Likewise.
36158         * resource/getpriority.c: Likewise.
36159         * resource/getrlimit.c: Likewise.
36160         * resource/getrusage.c: Likewise.
36161         * resource/nice.c: Likewise.
36162         * resource/setpriority.c: Likewise.
36163         * resource/setrlimit.c: Likewise.
36164         * resource/ulimit.c: Likewise.
36165         * rt/aio_cancel.c: Likewise.
36166         * rt/aio_fsync.c: Likewise.
36167         * rt/aio_read.c: Likewise.
36168         * rt/aio_sigqueue.c: Likewise.
36169         * rt/aio_suspend.c: Likewise.
36170         * rt/aio_write.c: Likewise.
36171         * rt/clock_getres.c: Likewise.
36172         * rt/clock_gettime.c: Likewise.
36173         * rt/clock_nanosleep.c: Likewise.
36174         * rt/clock_settime.c: Likewise.
36175         * rt/lio_listio.c: Likewise.
36176         * rt/mq_close.c: Likewise.
36177         * rt/mq_getattr.c: Likewise.
36178         * rt/mq_notify.c: Likewise.
36179         * rt/mq_open.c: Likewise.
36180         * rt/mq_receive.c: Likewise.
36181         * rt/mq_send.c: Likewise.
36182         * rt/mq_setattr.c: Likewise.
36183         * rt/mq_timedreceive.c: Likewise.
36184         * rt/mq_timedsend.c: Likewise.
36185         * rt/mq_unlink.c: Likewise.
36186         * rt/shm_open.c: Likewise.
36187         * rt/shm_unlink.c: Likewise.
36188         * rt/timer_create.c: Likewise.
36189         * rt/timer_delete.c: Likewise.
36190         * rt/timer_getoverr.c: Likewise.
36191         * rt/timer_gettime.c: Likewise.
36192         * rt/timer_settime.c: Likewise.
36193         * setjmp/__longjmp.c: Likewise.
36194         * setjmp/setjmp.c: Likewise.
36195         * signal/kill.c: Likewise.
36196         * signal/killpg.c: Likewise.
36197         * signal/raise.c: Likewise.
36198         * signal/sigaction.c: Likewise.
36199         * signal/sigaltstack.c: Likewise.
36200         * signal/sigblock.c: Likewise.
36201         * signal/sigignore.c: Likewise.
36202         * signal/sigintr.c: Likewise.
36203         * signal/signal.c: Likewise.
36204         * signal/sigpause.c: Likewise.
36205         * signal/sigpending.c: Likewise.
36206         * signal/sigqueue.c: Likewise.
36207         * signal/sigreturn.c: Likewise.
36208         * signal/sigset.c: Likewise.
36209         * signal/sigsetmask.c: Likewise.
36210         * signal/sigstack.c: Likewise.
36211         * signal/sigsuspend.c: Likewise.
36212         * signal/sigtimedwait.c: Likewise.
36213         * signal/sigvec.c: Likewise.
36214         * signal/sigwait.c: Likewise.
36215         * signal/sigwaitinfo.c: Likewise.
36216         * signal/sysv_signal.c: Likewise.
36217         * socket/accept.c: Likewise.
36218         * socket/accept4.c: Likewise.
36219         * socket/bind.c: Likewise.
36220         * socket/connect.c: Likewise.
36221         * socket/getpeername.c: Likewise.
36222         * socket/getsockname.c: Likewise.
36223         * socket/getsockopt.c: Likewise.
36224         * socket/isfdtype.c: Likewise.
36225         * socket/listen.c: Likewise.
36226         * socket/recv.c: Likewise.
36227         * socket/recvfrom.c: Likewise.
36228         * socket/recvmsg.c: Likewise.
36229         * socket/send.c: Likewise.
36230         * socket/sendmsg.c: Likewise.
36231         * socket/sendto.c: Likewise.
36232         * socket/setsockopt.c: Likewise.
36233         * socket/shutdown.c: Likewise.
36234         * socket/sockatmark.c: Likewise.
36235         * socket/socket.c: Likewise.
36236         * socket/socketpair.c: Likewise.
36237         * stdio-common/ctermid.c: Likewise.
36238         * stdio-common/cuserid.c: Likewise.
36239         * stdio-common/remove.c: Likewise.
36240         * stdio-common/rename.c: Likewise.
36241         * stdio-common/renameat.c: Likewise.
36242         * stdio-common/tempname.c: Likewise.
36243         * stdlib/getcontext.c: Likewise.
36244         * stdlib/makecontext.c: Likewise.
36245         * stdlib/setcontext.c: Likewise.
36246         * stdlib/swapcontext.c: Likewise.
36247         * stdlib/system.c: Likewise.
36248         * streams/fattach.c: Likewise.
36249         * streams/fdetach.c: Likewise.
36250         * streams/getmsg.c: Likewise.
36251         * streams/getpmsg.c: Likewise.
36252         * streams/putmsg.c: Likewise.
36253         * streams/putpmsg.c: Likewise.
36254         * sysdeps/unix/bsd/getpt.c: Likewise.
36255         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36256         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36257         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36259         Likewise.
36260         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36261         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36262         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36263         * sysvipc/msgctl.c: Likewise.
36264         * sysvipc/msgget.c: Likewise.
36265         * sysvipc/msgrcv.c: Likewise.
36266         * sysvipc/msgsnd.c: Likewise.
36267         * sysvipc/semctl.c: Likewise.
36268         * sysvipc/semget.c: Likewise.
36269         * sysvipc/semop.c: Likewise.
36270         * sysvipc/semtimedop.c: Likewise.
36271         * sysvipc/shmat.c: Likewise.
36272         * sysvipc/shmctl.c: Likewise.
36273         * sysvipc/shmdt.c: Likewise.
36274         * sysvipc/shmget.c: Likewise.
36275         * termios/tcdrain.c: Likewise.
36276         * termios/tcflow.c: Likewise.
36277         * termios/tcflush.c: Likewise.
36278         * termios/tcgetattr.c: Likewise.
36279         * termios/tcgetpgrp.c: Likewise.
36280         * termios/tcsendbrk.c: Likewise.
36281         * termios/tcsetattr.c: Likewise.
36282         * termios/tcsetpgrp.c: Likewise.
36283         * time/adjtime.c: Likewise.
36284         * time/clock.c: Likewise.
36285         * time/getitimer.c: Likewise.
36286         * time/gettimeofday.c: Likewise.
36287         * time/setitimer.c: Likewise.
36288         * time/settimeofday.c: Likewise.
36289         * time/stime.c: Likewise.
36290         * time/time.c: Likewise.
36292 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36294         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36295         /usr/old/bin.
36297         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36298         instead of spaces.
36299         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36301 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36303         [BZ #14796]
36304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36305         FE_TONEAREST before applying Dekker multiplication and Knuth
36306         addition.  Clear inexact exceptions and check for exact zero
36307         results afterwards.
36308         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36309         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36310         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36311         * math/libm-test.inc (fma_test): Add more tests.
36312         (fma_test_towardzero): Likewise.
36313         (fma_test_downward): Likewise.
36314         (fma_test_upward): Likewise.
36315         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36316         function.
36317         (libc_fesetround): New macro.
36318         (libc_fesetroundf): Likewise.
36319         (libc_fesetroundl): Likewise.
36320         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36321         function.
36322         (libc_fesetround_387): Likewise.
36323         (libc_fesetroundf): New macro.
36324         (libc_fesetround): Likewise.
36325         (libc_fesetroundl): Likewise.
36326         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36327         function.
36328         (libc_fesetroundf): New macro.
36329         (libc_fesetround): Likewise.
36330         (libc_fesetroundl): Likewise.
36331         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36332         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36333         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36334         libm_hidden_ver.
36335         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36336         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36337         libm_hidden_def.
36338         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36339         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36340         libm_hidden_ver.
36341         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36342         libm_hidden_def.
36344         [BZ #3439]
36345         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36346         integer constant usable in #if and use that to give value to enum
36347         constant.
36348         (FE_DIVBYZERO): Likewise.
36349         (FE_UNDERFLOW): Likewise.
36350         (FE_OVERFLOW): Likewise.
36351         (FE_INVALID): Likewise.
36352         (FE_INVALID_SNAN): Likewise.
36353         (FE_INVALID_ISI): Likewise.
36354         (FE_INVALID_IDI): Likewise.
36355         (FE_INVALID_ZDZ): Likewise.
36356         (FE_INVALID_IMZ): Likewise.
36357         (FE_INVALID_COMPARE): Likewise.
36358         (FE_INVALID_SOFTWARE): Likewise.
36359         (FE_INVALID_SQRT): Likewise.
36360         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36361         (FE_TONEAREST): Likewise.
36362         (FE_TOWARDZERO): Likewise.
36363         (FE_UPWARD): Likewise.
36364         (FE_DOWNWARD): Likewise.
36365         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36366         (FE_DIVBYZERO): Likewise.
36367         (FE_OVERFLOW): Likewise.
36368         (FE_UNDERFLOW): Likewise.
36369         (FE_INEXACT): Likewise.
36370         (FE_TONEAREST): Likewise.
36371         (FE_DOWNWARD): Likewise.
36372         (FE_UPWARD): Likewise.
36373         (FE_TOWARDZERO): Likewise.
36374         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36375         (FE_UNDERFLOW): Likewise.
36376         (FE_OVERFLOW): Likewise.
36377         (FE_DIVBYZERO): Likewise.
36378         (FE_INVALID): Likewise.
36379         (FE_TONEAREST): Likewise.
36380         (FE_TOWARDZERO): Likewise.
36381         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36382         (FE_OVERFLOW): Likewise.
36383         (FE_UNDERFLOW): Likewise.
36384         (FE_DIVBYZERO): Likewise.
36385         (FE_INEXACT): Likewise.
36386         (FE_TONEAREST): Likewise.
36387         (FE_TOWARDZERO): Likewise.
36388         (FE_UPWARD): Likewise.
36389         (FE_DOWNWARD): Likewise.
36390         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36391         (FE_DIVBYZERO): Likewise.
36392         (FE_OVERFLOW): Likewise.
36393         (FE_UNDERFLOW): Likewise.
36394         (FE_INEXACT): Likewise.
36395         (FE_TONEAREST): Likewise.
36396         (FE_DOWNWARD): Likewise.
36397         (FE_UPWARD): Likewise.
36398         (FE_TOWARDZERO): Likewise.
36400 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36402         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36404 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36406         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36407         commands.  Quote $PWD.
36408         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36409         -x" by "export".
36410         (remove_newlines): Remove.
36412 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36414         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36415         * stdlib/stdlib.h (atof): Moved to ...
36416         * include/bits/stdlib-float.h: Here.  New file.
36417         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36418         * stdlib/bits/stdlib-float.h: New file.
36419         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36420         -mno-sse -mno-mmx.
36421         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36422         <xmmintrin.h>.
36424 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36426         * conform/conformtest.pl (@headers): Add fenv.h.
36427         * conform/data/fenv.h-data: New file.
36428         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36429         include of <math/fenv.h>.
36431         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36432         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36433         && !UNIX98].  Enables tests for XOPEN2K8.
36434         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36435         POSIX2008]: Likewise.
36437         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36438         (struct rusage): Do not expect type or its members.
36440         [BZ #3439]
36441         * math/math.h (FP_NAN): Define macro to integer constant usable in
36442         #if and use that to give value to enum constant.
36443         (FP_INFINITE): Likewise.
36444         (FP_ZERO): Likewise.
36445         (FP_SUBNORMAL): Likewise.
36446         (FP_NORMAL): Likewise.
36448 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
36450         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36451         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36452         arguments.
36454 2012-11-02  Roland McGrath  <roland@hack.frob.com>
36456         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36457         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36458         autoconf-time if not.
36459         * configure.in: Remove AC_PREREQ.
36461 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36463         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36464         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36465         of the internal implementation.
36467 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36469         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36470         except include of <misc/sys/syslog.h>.
36472 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36475         function returns with a NULL context exit with zero.
36477 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36479         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36481 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
36483         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36484         (run_program_cmd): This.
36485         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36486         (tst_langinfo): New variable.  Use it.
36488 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
36490         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36491         floating point opcodes.
36493 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36495         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36496         variable.
36498         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36500         * sysdeps/mach/hurd/powerpc: Remove directory.
36501         * sysdeps/mach/powerpc: Likewise.
36503 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36505         * scripts/check-local-headers.sh: Ignore c++ headers.
36507 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36509         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36510         __libc_cleanup_region_start argument.
36512 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
36514         [BZ #14784]
36515         [BZ #14785]
36516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36517         x * y using scaling, not as x * y + z.
36518         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36519         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36520         * math/libm-test.inc (fma_test): Add more tests.
36521         (fma_test_towardzero): Likewise.
36522         (fma_test_downward): Likewise.
36523         (fma_test_upward): Likewise.
36525 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36527         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36529 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36531         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36532         New variable.
36534 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
36536         * rt/tst-shm.c (worker): Correct checking for mmap failure.
36538 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36541         Fix sort order.
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36543         Likewise.
36545 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36548         Fix the order of the list for glibc 2.17.
36549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36550         Likewise.
36552 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36556 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36558         [BZ #14610]
36559         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36560         for low part of x being zero before using __atanl (y).
36561         * math/libm-test.inc (atan2_test): Add another test.
36563         * manual/install.texi (Configuring and compiling): Document
36564         general use of test-wrapper and test-wrapper-env.
36565         * INSTALL: Regenerated.
36567         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36568         (__fma): Do not extract and scale down low bits on after-rounding
36569         systems when result rounded to normal precision would have normal
36570         exponent.
36571         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36572         (__fmal): Do not extract and scale down low bits on after-rounding
36573         systems when result rounded to normal precision would have normal
36574         exponent.
36575         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36576         (__fmal): Do not extract and scale down low bits on after-rounding
36577         systems when result rounded to normal precision would have normal
36578         exponent.
36579         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36580         macro.
36581         (fma_test): Add more tests.
36582         (fma_test_towardzero): Likewise.
36583         (fma_test_downward): Likewise.
36584         (fma_test_upward): Likewise.
36586 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
36588         * sysdeps/i386/tininess.h: Renamed to ...
36589         * sysdeps/x86/tininess.h: This.
36590         * sysdeps/x86_64/tininess.h: Removed.
36592 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36594         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36595         input.  Use $(build-program-cmd).
36596         ($(objpfx)tst-array1-static.out): Likewise.
36597         ($(objpfx)tst-array2.out): Likewise.
36598         ($(objpfx)tst-array3.out): Likewise.
36599         ($(objpfx)tst-array4.out): Likewise.
36600         ($(objpfx)tst-array5.out): Likewise.
36601         ($(objpfx)tst-array5-static.out): Likewise.
36603 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
36605         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36606         if defined.
36608         * nss/nsswitch.h (nss_interface_function): Provide new
36609         macro for use with NSS functions.
36610         * grp/initgroups.c: Use new macro.
36611         * nss/getXXbyYY.c: Likewise.
36612         * nss/getXXbyYY_r.c: Likewise.
36613         * nss/getXXent.c: Likewise.
36614         * nss/getXXent_r.c: Likewise.
36615         * sysdeps/posix/getaddrinfo.c: Likewise.
36617 2012-10-30  Andreas Jaeger  <aj@suse.de>
36619         * po/ru.po: Update Russion translation from translation project.
36621 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36623         [BZ #14152]
36624         [BZ #14783]
36625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36626         result and shift together with sticky bit instead of replicating
36627         round-to-nearest rounding.
36628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36629         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36630         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
36631         missing underflow exceptions.
36632         (fma_test_towardzero): Add more tests.
36633         (fma_test_downward): Likewise.
36634         (fma_test_upward): Likewise.
36636         [BZ #14047]
36637         * sysdeps/generic/tininess.h: New file.
36638         * sysdeps/i386/tininess.h: Likewise.
36639         * sysdeps/sh/tininess.h: Likewise.
36640         * sysdeps/x86_64/tininess.h: Likewise.
36641         * stdlib/tst-strtod-underflow.c: Likewise.
36642         * stdlib/tst-tininess.c: Likewise.
36643         * stdlib/strtod_l.c: Include <tininess.h>.
36644         (round_and_return): Do not set errno for exact underflow cases.
36645         Force an underflow exception when setting errno for underflow.
36646         Determine underflow based on rounding to normal precision if
36647         TININESS_AFTER_ROUNDING.
36648         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36649         ERANGE for exact underflow cases.
36650         * stdlib/Makefile (tests): Add tst-tininess and
36651         tst-strtod-underflow.
36652         ($(objpfx)tst-tininess): Use $(link-libm).
36653         ($(objpfx)tst-strtod-underflow): Likewise.
36655 2012-10-30  Andreas Jaeger  <aj@suse.de>
36657         [BZ#14767]
36658         * elf/Makefile (tests): Remove conditional for have-initfini-array
36659         since this is now always required and the variable does not exist
36660         anymore.
36661         (tests-static): Likewise.
36662         (modules-names): Likewise.
36664         * po/eo.po: Add Esperanto translation from translation project.
36666         * elf/tst-array1.c (fini_array): Make writeable so that it can be
36667         merged with constructor/destructor.
36668         (init_array): Likewise.
36669         * elf/tst-array2dep.c (fini_array): Likewise.
36670         (init_array): Likewise.
36672 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
36674         * manual/message.texi: Delete @cartouche tags.
36676 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
36678         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36679         EOPNOTSUPP.
36680         * sysdeps/mach/hurd/fsync.c: Likewise.
36682         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36683         [_POSIX_REALTIME_SIGNALS]: Change condition to
36684         [_POSIX_REALTIME_SIGNALS > 0].
36686 2012-10-27  Andreas Jaeger  <aj@suse.de>
36688         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36689         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36690         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36691         [__WORDSIZE != 64]: Likewise.
36693 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
36695         *  iconvdata/tst-table.sh: Remove ${SHELL}.
36696         *  iconvdata/tst-tables.sh: Likewise.
36698 2012-10-25  David S. Miller  <davem@davemloft.net>
36700         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36701         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36702         of strtoull.
36704         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36705         ifunc-impl-list.c
36706         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36707         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36708         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36709         file.
36711 2012-10-25  Roland McGrath  <roland@hack.frob.com>
36713         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36714         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36715         __getdirentries.
36717 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36718             Jim Blandy  <jimb@codesourcery.com>
36720         * scripts/cross-test-ssh.sh: New file.
36721         * manual/install.texi (Configuring and compiling): Document use of
36722         cross-test-ssh.sh.
36723         * INSTALL: Regenerated.
36725 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
36727         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36728         EOPNOTSUPP.
36730 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36732         * Makeconfig (run-program-prefix): Fix comment.
36734 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36735             Jim Blandy  <jimb@codesourcery.com>
36737         * Makeconfig (test-wrapper): New variable,
36738         (test-wrapper-env): Likewise.
36739         [$(cross-compiling) = yes && $(test-wrapper) != ""]
36740         (run-built-tests): Define to yes.
36741         (run-program-prefix): Use $(test-wrapper).
36742         (built-program-cmd): Likewise.
36743         * Rules (make-test-out): Use $(test-wrapper-env) and
36744         $(host-built-program-cmd).
36745         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36746         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36747         tst-pathopt.sh.
36748         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36749         $(test-wrapper-env) to tst-rtld-load-self.sh.
36750         ($(objpfx)order2.out): Use $(test-wrapper).
36751         ($(objpfx)tst-initorder.out): Likewise.
36752         ($(objpfx)tst-initorder2.out): Likewise.
36753         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36754         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36755         (test_wrapper_env): New variable.  Use it to run ld.so.
36756         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36757         Use it to run ld.so.
36758         (test_wrapper_env): Likewise.
36759         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36760         $(test-wrapper) to run-iconv-test.sh.
36761         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36762         (ICONV): Use $test_wrapper.
36763         * posix/Makefile ($(objpfx)globtest.out): Pass
36764         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36765         globtest.sh, not $(run-program-prefix).
36766         * posix/globtest.sh (run_via_rtld_prefix): New variable.
36767         (test_wrapper): Likewise.
36768         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
36769         set together with run_via_rtld_prefix.
36770         (run_program_prefix): Define in terms of test_wrapper and
36771         run_via_rtld_prefix.
36773 2012-10-24  Roland McGrath  <roland@hack.frob.com>
36775         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36776         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36777         Targets removed.
36779         [BZ #14743]
36780         * include/time.h: Remove librt_hidden_proto (clock_gettime).
36781         Declare __clock_getres, __clock_gettime, __clock_settime,
36782         __clock_nanosleep, and __clock_getcpuclockid.
36783         * rt/clock_gettime.c: Define __clock_gettime as an alias.
36784         Remove librt_hidden_def (clock_gettime).
36785         * sysdeps/unix/clock_gettime.c: Likewise.
36786         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36787         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36788         * rt/clock_getres.c: Define __clock_getres as an alias.
36789         * sysdeps/posix/clock_getres.c: Likewise.
36790         * rt/clock_settime.c: Define __clock_settime as an alias.
36791         * sysdeps/unix/clock_settime.c: Likewise.
36792         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36793         * sysdeps/unix/clock_nanosleep.c: Likewise.
36794         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36795         * rt/clock-compat.c: New file.
36796         * rt/Makefile (librt-routines): Add clock-compat and move
36797         $(clock-routines) to ...
36798         (routines): ... here, new variable.
36799         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36800         Don't add get_clockfreq here.
36801         * rt/Versions (libc: GLIBC_2.17): New version set.
36802         Add clock_* symbols here.
36803         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
36804         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36805         (GLIBC_2.17): Add clock_* symbols.
36806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36808         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36810         Likewise.
36811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36812         Likewise.
36813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36817         * NEWS: Mention the move.
36819         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36820         Use __open, __read, __close rather than their public counterparts.
36821         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36822         (__get_clockfreq_via_cpuinfo): Likewise.
36823         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36824         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36826         * config.h.in (HAVE_IFUNC): New #undef.
36827         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36828         was successful.
36829         * configure: Regenerated.
36831 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36833         * configure.in: Move READELF check to start of file.
36834         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36835         libc_cv_asm_gnu_indirect_function in the process.
36836         * configure: Regenerated.
36838 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36840         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36841         send the output to /dev/null.
36842         (libc_cv_cc_with_libunwind): Likewise.
36843         (libc_cv_as_noexecstack): Likewise.
36844         * configure: Regenerate.
36846 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36848         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36850         * posix/globtest.sh (TMPDIR): Do not set.
36851         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36852         (testout): Likewise.
36854 2012-10-24  Andreas Jaeger  <aj@suse.de>
36856         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36857         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36858         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36859         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36860         posix_fadvise64, posix_fallocate64.
36862         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36863         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36864         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36865         Likewise.
36866         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36867         Likewise.
36868         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36870         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36871         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36872         <bits/fcntl-linux.h>.
36873         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36875         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36876         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36877         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36878         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36879         [__WORDSIZE != 64]: Likewise.
36881 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36883         * Makeconfig (run-built-tests): New variable.
36884         * Rules [$(cross-compiling) = yes]: Change condition to
36885         [$(run-built-tests) = no].
36886         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36887         to [$(run-built-tests) = yes].
36888         * elf/Makefile [$(cross-compiling) = no]: Likewise
36889         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36890         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36891         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36892         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36893         * io/Makefile [$(cross-compiling) = no]: Likewise.
36894         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36895         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36896         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36897         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36898         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36899         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36900         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36901         * string/Makefile [$(cross-compiling) = no]: Likewise.
36903         * posix/Makefile ($(objpfx)globtest.out): Pass
36904         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36905         $(rtld-installed-name).
36906         * posix/globtest.sh (elf_objpfx): Remove variable.
36907         (rtld_installed_name): Likewise.
36908         (library_path): Likewise.
36909         (run_program_prefix): New variable.  Use for running globtest
36910         binary.
36912 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36913             Joseph Myers  <joseph@codesourcery.com>
36915         * Makeconfig (host-built-program-cmd): New variable.
36916         * elf/Makefile (tst-stackguard1-ARGS): Use
36917         $(host-built-program-cmd).
36918         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36919         (tst-spawn-ARGS): Likewise.
36920         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36922 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36923             Jim Blandy  <jimb@codesourcery.com>
36925         * Makeconfig (run-via-rtld-prefix): New variable.
36926         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36927         (built-program-cmd): Likewise.
36929 2012-10-22  Andreas Jaeger  <aj@suse.de>
36931         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36932         __O_RSYNC if it exists, otherwise to O_SYNC.
36934 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36935             Joseph Myers  <joseph@codesourcery.com>
36937         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36938         /dev/null.
36939         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36940         from /dev/null
36941         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36942         /dev/null.
36944 2012-10-22  Andreas Jaeger  <aj@suse.de>
36946         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36947         Define always.
36948         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36950         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36951         bits/fcntl-linux.h.
36953         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36954         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36956         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36957         to __O_LARGEFILE.
36958         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36959         to __O_LARGEFILE.
36961 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36962             Joseph Myers  <joseph@codesourcery.com>
36964         * config.make.in (NM): New variable.
36966 2012-10-21  Andreas Jaeger  <aj@suse.de>
36968         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36969         definitions and declarations that are provided by
36970         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36972 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36974         [BZ #14683]
36975         * elf/Makefile (tests-static): Add tst-leaks1-static.
36976         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36977         ($(objpfx)tst-leaks1-static): New rule.
36978         ($(objpfx)tst-leaks1-static-mem): Likewise.
36979         (tst-leaks1-static-ENV): New macro.
36980         * elf/dl-open.c (dl_open_worker): Check the main application
36981         only if SHARED is defined.
36982         * elf/tst-leaks1-static.c: New file.
36984 2012-10-20  Andreas Jaeger  <aj@suse.de>
36986         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36987         generic values for Linux.
36988         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36989         and declarations that are provided by <bits/fcntl-linux.h> and
36990         include <bits/fcntl-linux.h>.
36991         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36992         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36994 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36996         * io/fcntl.h: Move include of <bits/types.h> to the top and
36997         include it unconditionally.
36999 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37001         * wcsmbs/Makefile (tests-ifunc): New variable.
37002         (tests): Add $(tests-ifunc).
37003         * wcsmbs/test-wcschr-ifunc.c: New file.
37004         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37005         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37006         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37007         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37008         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37010         * string/Makefile (tests-ifunc): New variable.
37011         (tests): Add $(tests-ifunc).
37012         * string/test-memccpy.c (TEST_NAME): New macro.
37013         * string/test-memchr.c (TEST_NAME): Likewise.
37014         * string/test-memcmp.c (TEST_NAME): Likewise.
37015         * string/test-memcpy.c (TEST_NAME): Likewise.
37016         * string/test-memmem.c (TEST_NAME): Likewise.
37017         * string/test-memmove.c (TEST_NAME): Likewise.
37018         * string/test-memset.c (TEST_NAME): Likewise.
37019         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37020         * string/test-stpcpy.c (TEST_NAME): Likewise.
37021         * string/test-stpncpy.c (TEST_NAME): Likewise.
37022         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37023         * string/test-strcasestr.c (TEST_NAME): Likewise.
37024         * string/test-strcat.c (TEST_NAME): Likewise.
37025         * string/test-strchr.c (TEST_NAME): Likewise.
37026         * string/test-strcmp.c(TEST_NAME): Likewise.
37027         * string/test-strcpy.c (TEST_NAME): Likewise.
37028         * string/test-strcspn.c (TEST_NAME): Likewise.
37029         * string/test-strlen.c (TEST_NAME): Likewise.
37030         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37031         * string/test-strncmp.c (TEST_NAME): Likewise.
37032         * string/test-strncpy.c (TEST_NAME): Likewise.
37033         * string/test-strnlen.c (TEST_NAME): Likewise.
37034         * string/test-strpbrk.c (TEST_NAME): Likewise.
37035         * string/test-strrchr.c (TEST_NAME): Likewise.
37036         * string/test-strspn.c (TEST_NAME): Likewise.
37037         * string/test-strstr.c (TEST_NAME): Likewise.
37038         * string/test-bcopy-ifunc.c: New file.
37039         * string/test-bzero-ifunc.c: Likewise.
37040         * string/test-memccpy-ifunc.c: Likewise.
37041         * string/test-memchr-ifunc.c: Likewise.
37042         * string/test-memcmp-ifunc.c: Likewise.
37043         * string/test-memcpy-ifunc.c: Likewise.
37044         * string/test-memmem-ifunc.c: Likewise.
37045         * string/test-memmove-ifunc.c: Likewise.
37046         * string/test-mempcpy-ifunc.c: Likewise.
37047         * string/test-memset-ifunc.c: Likewise.
37048         * string/test-rawmemchr-ifunc.c: Likewise.
37049         * string/test-stpcpy-ifunc.c: Likewise.
37050         * string/test-stpncpy-ifunc.c: Likewise.
37051         * string/test-strcasecmp-ifunc.c: Likewise.
37052         * string/test-strcasestr-ifunc.c: Likewise.
37053         * string/test-strcat-ifunc.c: Likewise.
37054         * string/test-strchr-ifunc.c: Likewise.
37055         * string/test-strchrnul-ifunc.c: Likewise.
37056         * string/test-strcmp-ifunc.c: Likewise.
37057         * string/test-strcpy-ifunc.c: Likewise.
37058         * string/test-strcspn-ifunc.c: Likewise.
37059         * string/test-strlen-ifunc.c: Likewise.
37060         * string/test-strncasecmp-ifunc.c: Likewise.
37061         * string/test-strncat-ifunc.c: Likewise.
37062         * string/test-strncmp-ifunc.c: Likewise.
37063         * string/test-strncpy-ifunc.c: Likewise.
37064         * string/test-strnlen-ifunc.c: Likewise.
37065         * string/test-strpbrk-ifunc.c: Likewise.
37066         * string/test-strrchr-ifunc.c: Likewise.
37067         * string/test-strspn-ifunc.c: Likewise.
37068         * string/test-strstr-ifunc.c: Likewise.
37070         * debug/Makefile (tests-ifunc): New variable.
37071         (tests): Add $(tests-ifunc).
37072         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37073         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37074         * debug/test-stpcpy_chk-ifunc.c: New file.
37075         * debug/test-strcpy_chk-ifunc.c: Likewise.
37077 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37079         [BZ #13601]
37080         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37081         header is not read in.
37083 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37085         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37086         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37087         directly.  Pass built executable to script as
37088         $(built-program-cmd).
37089         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37090         $testprogram without using LD_LIBRARY_PATH and $ldso.
37092         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37093         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37094         $(rtld-installed-name).
37095         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37096         (rtld_installed_name): Likewise.
37097         (library_path): Likewise.
37098         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37099         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37100         $(run-program-prefix) to tst-tables.sh.
37101         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37102         it to run tst-table-from and tst-table-to.
37103         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37104         Pass it to tst-table.sh.
37105         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37106         $(run-program-prefix) to tst-gettext.sh.
37107         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37108         tst-translit.sh.
37109         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37110         tst-gettext2.sh.
37111         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37112         to run tst-gettext.
37113         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37114         to run tst-gettext2.
37115         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37116         to run tst-translit.
37117         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37118         $(run-program-prefix) to tst-mtrace.sh.
37119         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37120         to run tst-mtrace.
37121         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37122         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37123         $(rtld-installed-name).
37124         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37125         (rtld_installed_name): Likewise.
37126         (run_program_prefix): New variable.  Use it to run wordexp-test.
37128         * Makeconfig (ARCH): Remove all definitions.
37129         (machine): Likewise.
37130         [ARCH]: Remove conditional code.
37131         [!objdir]: Give error.
37132         [!objdir] (objpfx): Remove.
37133         [!objdir] (common-objpfx): Likewise.
37134         [!objdir] (common-objdir): Likewise.
37135         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37136         AC_CONFIG_FILES call.
37137         * configure: Regenerated.
37139         [BZ #13888]
37140         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37141         or TMPDIR.
37142         (testout): Likewise.
37144         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37145         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37146         $(rtld-installed-name).
37147         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37148         (rtld_installed_name): Likwise.
37149         (runit): Remove function.
37150         (run_getconf): New variable,  Use it for running getconf binary.
37152 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37154         [BZ #14716]
37155         * string/test-memmem.c (check_result): New function.
37156         (do_one_test): Use it.
37157         (check1): New function.
37158         (test_main): Use it.
37160 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37162         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37164 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37166         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37167         (_G_LSEEK64): Likewise.
37168         (_G_MMAP64): Likewise.
37169         (_G_FSTAT64): Likewise.
37170         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37171         (_G_LSEEK64): Likewise.
37172         (_G_MMAP64): Likewise.
37173         (_G_FSTAT64): Likewise.
37174         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37175         unconditional.  Call __mmap64 directly.
37176         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37177         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37178         __lseek64 directly.
37179         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37180         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37181         __mmap64 directly.
37182         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37183         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37184         __lseek64 directly.
37185         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37186         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37187         __lseek64 directly.
37188         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37189         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37190         __lseek64 directly.
37191         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37192         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37193         __fxstat64 directly.
37194         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37195         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37196         unconditional.
37197         (freopen64) [!_G_OPEN64]: Remove conditional code.
37198         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37199         unconditional.
37200         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37201         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37202         unconditional.
37203         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37204         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37205         unconditional.
37206         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37207         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37208         unconditional.
37209         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37210         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37211         unconditional.
37212         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37213         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37214         unconditional.
37215         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37216         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37217         unconditional.
37218         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37220 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37222         [BZ #12140]
37223         * manual/memory.texi (Malloc Tunable Parameters): Add note
37224         about free list pointers overwriting some perturb bytes.
37225         Wording suggested by Roland McGrath.
37227 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37229         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37230         (lgamma_test): Likewise.
37231         (tgamma_test): Likewise.
37233 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37235         [BZ #14700]
37236         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37237         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37239 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37241         * NEWS: Mention BZ #14716.
37242         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37243         when removing AVAILABLE1_USES_J macro.
37245 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37247         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37248         (__bswap_64): __uint64_t for unsigned 64-bit int.
37250 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37252         * include/string.h (memmem): Declare libc hidden alias.
37253         * string/memmem.c (memmem): Define libc hidden alias.
37254         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37255         __read, __close instead of open, read, close.
37257 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37260         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37261         global and hidden.
37262         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37263         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37264         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37265         Likewise.
37266         (__rawmemchr_sse2): Likewise.
37267         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37268         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37269         (__strchr_sse2): Likewise.
37270         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37271         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37272         (__strcasecmp_sse2): Likewise.
37273         (__strncasecmp_sse2): Likewise.
37274         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37275         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37276         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37277         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37278         (__strrchr_sse2): Likewise.
37279         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37280         ifunc-impl-list.c.
37281         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37282         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37283         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37284         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37285         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37286         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37287         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37288         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37289         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37290         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37291         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37292         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37293         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37294         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37295         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37296         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37297         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37298         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37299         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37300         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37301         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37302         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37303         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37304         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37305         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37306         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37307         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37308         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37309         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37310         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37312         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37313         global and hidden.
37314         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37315         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37316         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37317         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37318         Likewise.
37319         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37320         Likewise.
37321         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37322         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37323         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37324         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37325         ifunc-impl-list.c.
37326         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37327         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37328         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37329         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37330         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37331         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37332         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37333         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37334         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37335         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37336         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37337         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37338         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37339         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37340         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37341         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37342         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37343         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37344         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37345         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37346         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37347         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37348         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37349         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37350         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37351         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37352         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37353         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37354         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37355         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37356         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37357         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37358         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37359         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37360         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37361         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37362         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37363         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37364         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37365         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37366         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37368         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37369         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37370         * include/ifunc-impl-list.h: New file.
37371         * misc/ifunc-impl-list.c: Likewise.
37372         * misc/Makefile (routines): Add ifunc-impl-list.
37373         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37374         * string/test-string.h: Include <ifunc-impl-list.h>.
37375         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37376         TEST_NAME]: New variables.
37377         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37378         are defined.
37379         (test_init): Call __libc_ifunc_impl_list to initialize
37380         func_list if TEST_IFUNC and TEST_NAME are defined.
37382         * string/Makefile (strop-tests): Add bcopy and bzero.
37383         * string/test-bcopy.c: New file.
37384         * string/test-bzero.c: Likewise.
37385         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37386         defined.
37387         * string/test-memset.c: Support bzero test if TEST_BZERO is
37388         defined.
37389         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37390         __libc_memmove.
37391         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37392         __libc_memset.
37393         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37394         of memset.
37396 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37398         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37399         * configure: Regenerated.
37401         * Makeconfig (+link-static-before-libc): Don't include
37402         $(link-static-libc).
37404         * libio/libio.h (_IO_pos_t): Remove.
37406 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37408         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37409         McGrath.
37411 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37413         * crypt/crypt-entry.c: Include fips-private.h.
37414         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37415         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37416         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37417         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37419 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37421         * crypt/crypt-private.h: Include stdbool.h.
37422         (_ufc_setup_salt_r): Return bool.
37423         * crypt/crypt-entry.c: Include errno.h.
37424         (__crypt_r): Return NULL with EINVAL for bad salt.
37425         * crypt/crypt_util.c (bad_for_salt): New.
37426         (_ufc_setup_salt_r): Check that salt is long enough and within
37427         the specified alphabet.
37428         * crypt/badsalttest.c: New file.
37429         * crypt/Makefile (tests): Add it.
37430         ($(objpfx)badsalttest): New.
37432 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37434         * NEWS: Add entry for BZ #14602.
37436 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37438         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37439         type-generic.
37440         * math/libm-test.inc: Update comment listing what functions and
37441         macros are tested.
37442         (isgreater_test): New function.
37443         (isgreaterequal_test): Likewise.
37444         (isless_test): Likewise.
37445         (islessequal_test): Likewise.
37446         (islessgreater_test): Likewise.
37447         (isunordered_test): Likewise.
37448         (main): Call the new functions.
37450 2012-10-09  Roland McGrath  <roland@hack.frob.com>
37452         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37453         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37454         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37455         * sysdeps/i386/configure: Regenerated.
37456         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37457         * sysdeps/mach/configure: Regenerated.
37458         * sysdeps/mach/hurd/configure: Regenerated.
37459         * sysdeps/powerpc/configure: Regenerated.
37460         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37461         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37462         * sysdeps/s390/s390-32/configure: Regenerated.
37463         * sysdeps/s390/s390-64/configure: Regenerated.
37464         * sysdeps/sh/configure: Regenerated.
37465         * sysdeps/sparc/configure: Regenerated.
37466         * sysdeps/unix/sysv/linux/configure: Regenerated.
37467         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37468         * sysdeps/x86_64/configure: Regenerated.
37470         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37471         defined.  Don't check if MAP is NULL.
37473 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37475         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37476         (_G_stat64): Likewise.
37477         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37478         (_G_stat64): Likewise.
37479         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37480         instead of struct _G_stat64.
37481         * libio/fileops.c (mmap_remap_check): Likewise.
37482         (decide_maybe_mmap): Likewise.
37483         (_IO_new_file_seekoff): Likewise.
37484         (_IO_file_stat): Likewise.
37485         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37486         _G_off64_t.
37487         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37488         instead of struct _G_stat64.
37489         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37491 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
37493         [BZ #14602]
37494         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37495         Replace with ...
37496         (CHECK_EOL): New macro.
37497         (two_way_short_needle): Check beginning of haystack for EOL.  Use
37498         CHECK_EOL.
37499         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37500         Replace with CHECK_EOL.
37501         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37502         Replace with CHECK_EOL.
37504 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
37506         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37507         type-generic.
37508         * math/libm-test.inc: Update comment listing what functions and
37509         macros are tested.
37510         (finite_test): New function.
37511         (isinf_test): Likewise.
37512         (isnan_test): Likewise.
37513         (fpclassify_test): Test subnormal input.
37514         (isfinite_test): Likewise.
37515         (isnormal_test): Likewise.
37516         (main): Call the new functions.
37518 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
37520         [BZ #14660]
37521         * Makerules (%.dynsym): Force C locale when running
37522         $(OBJDUMP) --dynamic-syms.
37524 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
37526         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37527         <stdint.h>.
37529 2012-10-06  David S. Miller  <davem@davemloft.net>
37531         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37532         upper 32-bits of the length value in %o2 since we use branch-on-register
37533         tests which consider the entire 64-bit register.
37535 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
37537         * string/test-strstr.c (check2): Add a test for page boundary.
37539 2012-10-05  David S. Miller  <davem@davemloft.net>
37541         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37542         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37543         file.
37544         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37545         sysdep_routines.
37546         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37547         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37548         and bzero when HWCAP_SPARC_CRYPTO is present.
37550 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
37552         [BZ #14602]
37553         * string/test-strstr.c (check2): New function.
37554         (test_main): Call check2.
37556         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37557         and bug-strchr1.
37558         * string/bug-strcasestr1.c (do_test): Moved to ...
37559         * string/test-strcasestr.c (check1): Here.  New function.
37560         (do_one_test): Break out result checking code into ...
37561         (check_result): This.  New function.
37562         (do_one_test): Call check_result.
37563         (test_main): Call check1.
37564         * string/bug-strchr1.c (do_test): Moved to ...
37565         * string/test-strchr.c (check1): Here.  New function.
37566         (do_one_test): Break out result checking code into ...
37567         (check_result): This.  New function.
37568         (do_one_test): Call check_result.
37569         (test_main): Call check1.
37570         * string/bug-strstr1.c (main): Moved to ...
37571         * string/test-strstr.c (check1): Here.  New function.
37572         (do_one_test): Break out result checking code into ...
37573         (check_result): This.  New function.
37574         (do_one_test): Call check_result.
37575         (test_main): Call check1.
37576         * string/bug-strcasestr1.c: Removed.
37577         * string/bug-strchr1.c: Likewise.
37578         * string/bug-strstr1.c: Likewise.
37580         * elf/Makefile (dl-routines): Add hwcaps.
37581         * elf/dl-support.c (_dl_important_hwcaps): Removed.
37582         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37583         (_dl_important_hwcaps): Moved to ...
37584         * elf/dl-hwcaps.c: Here.  New file.
37585         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37587         [BZ #14557]
37588         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37589         if IS_IN_rtld isn't defined.
37591         * elf/dl-support.c (_dl_sysinfo_map): New.
37592         Include "get-dynamic-info.h" and "setup-vdso.h".
37593         (_dl_non_dynamic_init): Call setup_vdso.
37594         * elf/dynamic-link.h: Don't include <assert.h>.
37595         (elf_get_dynamic_info): Moved to ...
37596         * elf/get-dynamic-info.h: Here.  New file.
37597         * elf/dynamic-link.h: Include "get-dynamic-info.h".
37598         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37599         * elf/setup-vdso.h: Here.  New file.
37600         * elf/rtld.c: Include "setup-vdso.h".
37601         (dl_main): Call setup_vdso.
37603 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
37605         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37606         creal in comment listing functions tested.  List finite, isinf,
37607         isnan, isless, islessequal, isgreater, isgreaterequal,
37608         islessgreater, isunordered, lgamma_r and pow10 as functions and
37609         macros not tested.  Mention which functions not tested are aliases
37610         for other functions.  Fix typo.  Note that signs of NaNs are not
37611         tested.
37613         * scripts/config.guess: Update from config.git.
37614         * scripts/config.sub: Likewise.
37616 2012-10-04  Roland McGrath  <roland@hack.frob.com>
37618         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37619         * misc/madvise.c (madvise): Renamed to __madvise.
37620         Make madvise a weak alias.
37621         * include/sys/mman.h: Declare __madvise.
37622         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37623         * sysdeps/unix/syscalls.list
37624         (madvise): Make __madvise the strong name, and madvise a weak alias.
37625         * sysdeps/unix/sysv/linux/syscalls.list
37626         (madvise, mmap): Remove redundant entries.
37627         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37628         * malloc/malloc.c (mtrim): Likewise.
37629         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37631 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37633         * sysdeps/mach/hurd/dl-cache.c: File removed.
37634         * config.h.in (USE_LDCONFIG): New #undef.
37635         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37636         * configure: Regenerated.
37637         * elf/Makefile (dl-routines): Add dl-cache only under
37638         [$(use-ldconfig) = yes].
37639         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37640         cache on [USE_LDCONFIG].
37641         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37642         [USE_LDCONFIG].
37643         * elf/rtld.c (dl_main): Likewise.
37645 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
37647         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37648         _SC_LEVEL4_CACHE_LINESIZE.
37650 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37652         * sysdeps/unix/bsd/confstr.h: File removed.
37654 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
37656         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37657         sys/sdt-config.h.
37659 2012-10-02  Roland McGrath  <roland@hack.frob.com>
37661         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37662         Make 'mapoff' field ElfW(Off) rather than off_t.
37664 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
37666         * nscd/Makefile: Remove nscd-cflags and all its users.
37667         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37668         (CFLAGS-nonlib): Add compiler flags for nscd modules.
37670         [BZ #10631]
37671         * malloc.c (malloc_printerr): Clarify error message.
37673 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
37675         [BZ #14648]
37676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37677         Set bit_FMA_Usable if FMA is supported.
37678         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37679         macro.
37680         (bit_FMA4_Usable): Updated.
37681         (index_FMA_Usable): New macro.
37682         (CPUID_FMA): Likewise
37683         (HAS_FMA): Defined with bit_FMA_Usable.
37685 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37687         * bits/types.h (__swblk_t): Type removed.
37688         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37689         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37690         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37691         (__SWBLK_T_TYPE): Likewise.
37692         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37693         (__SWBLK_T_TYPE): Likewise.
37694         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37695         (__SWBLK_T_TYPE): Likewise.
37696         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37697         (__SWBLK_T_TYPE): Likewise.
37699 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
37700             Honza Horak <hhorak@redhat.com>
37702         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37703         (xdr_mapname): Use YPMAXMAP as maxsize.
37704         (xdr_peername): Use YPMAXPEER as maxsize.
37705         (xdr_keydat): Use YPAXRECORD as maxsize.
37706         (xdr_valdat): Use YPMAXRECORD as maxsize.
37708 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37710         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37712         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37713         * csu/init-first.c: ... here.
37714         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37715         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37716         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37717         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37718         * sysdeps/i386/init-first.c: File removed.
37719         * sysdeps/sh/init-first.c: File removed.
37721 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
37723         [BZ #14645]
37724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37725         if x * y might underflow to zero and z is zero.
37726         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37727         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37728         * math/libm-test.inc (min_subnorm_value): New variable.
37729         (fma_test): Add more tests.
37730         (fma_test_towardzero): Likewise.
37731         (fma_test_downward): Likewise
37732         (fma_test_upward): Likewise.
37733         (initialize): Set min_subnorm_value.
37735 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
37737         [BZ #14638]
37738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37739         0 + 0.
37740         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37741         mode for addition resulting in exact zero.
37742         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37744         exact 0 + 0.
37745         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37747         * math/libm-test.inc (fma_test): Add more tests.
37748         (fma_test_towardzero): New function.
37749         (fma_test_downward): Likewise.
37750         (fma_test_upward): Likewise.
37751         (main): Call the new functions.
37753 2012-09-28  David S. Miller  <davem@davemloft.net>
37755         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37757 2012-09-28  Roland McGrath  <roland@hack.frob.com>
37759         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37760         instead of SIGALRM.
37762         * sysdeps/gnu/_G_config.h: Moved to ...
37763         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37764         * sysdeps/mach/hurd/_G_config.h: Moved to ...
37765         * sysdeps/generic/_G_config.h: ... here.
37767         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
37769         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37771         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37772         Conditionalize target on [libnss_test1.so-version].
37774         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37776         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37777         (elfobjdir): Move out of conditionals.
37779         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37780         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37781         (__nss_lookup_function): Conditionalize label remove_from_tree on
37782         [!DO_STATIC_NSS || SHARED], matching its only use.
37784 2012-09-28  David S. Miller  <davem@davemloft.net>
37786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37787         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37788         file.
37789         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37790         sysdep_routines.
37791         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37793         when HWCAP_SPARC_CRYPTO is present.
37795 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37797         * io/tst-mknodat.c: Create a FIFO instead of a socket.
37799 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
37801         [BZ #6530]
37802         * stdio-common/vfprintf.c (process_string_arg): Revert
37803         2000-07-22 change.
37805 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
37807         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37808         for testcase.
37809         * stdio-common/tst-sprintf.c: Include <locale.h>
37810         (main): Test sprintf's handling of incomplete multibyte
37811         characters.
37813 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
37815         * elf/dl-runtime.c (VERSYMIDX): Removed.
37816         * elf/dl-version.c (VERSYMIDX): Likewise.
37817         * elf/do-rel.h (VERSYMIDX): Likewise.
37818         (VALIDX): Likewise.
37819         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37820         * elf/rtld.c (VALIDX): Likewise.
37821         (ADDRIDX): Likewise.
37822         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37823         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37824         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37825         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37826         (VALIDX): Likewise.
37827         (ADDRIDX): Likewise.
37829 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37831         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37833 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37835         [BZ #11438]
37836         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37837         to global scope.
37838         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37839         addresses are in the same scope as 192.0.2/24.
37840         * posix/gai.conf: Document new scope table defaults.
37842 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37844         [BZ #5298]
37845         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37846         for ftell.  Compute offsets from write pointers instead.
37847         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37849 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37851         [BZ #14543]
37852         * libio/Makefile (tests): New test case tst-fseek.
37853         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37854         combination works in wide mode.
37855         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37856         state when the external buffer state changes.
37858 2012-09-27  David S. Miller  <davem@davemloft.net>
37860         [BZ #14376]
37861         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37862         pass reloc->r_addend in as the 'high' argument to
37863         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37867 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37869         * rt/tst-aio2.c: Include <pthread.h>.
37870         * rt/tst-aio3.c: Likewise.
37872 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37874         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37876 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37878         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37879         contents on [SHARED].
37881 2012-09-26  Marek Polacek  <polacek@redhat.com>
37883         [BZ #14530]
37884         [BZ #13741]
37885         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37886         for C++ and GCC <4.3 as well as for non GCC compilers.
37888 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37892 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37894         * Makefile.in (all, install): Declare with .PHONY.
37895         Reported by Michael Hope <michael.hope@linaro.org>.
37897 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37899         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37900         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37901         system header.
37902         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37903         Likewise.
37904         (sydep_routines): Add the new and the internal functions.
37905         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37906         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37908         (GLIBC_2.17): Add the new function.
37909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37910         (GLIBC_2.17): Likewise.
37911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37912         (GLIBC_2.17): Likewise.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37914         (GLIBC_2.17): Likewise.
37915         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37917 2012-09-25  Alan Modra  <amodra@gmail.com>
37919         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37920         Add release barrier before setting once_control to say
37921         initialisation is done.  Add hints on lwarx.  Use macro in
37922         place of isync.
37923         (clear_once_control): Add release barrier.
37925 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37927         [BZ #13629]
37928         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37929         specially.
37930         * math/s_clog10.c (__clog10): Likewise.
37931         * math/s_clog10f.c (__clog10f): Likewise.
37932         * math/s_clog10l.c (__clog10l): Likewise.
37933         * math/s_clogf.c (__clogf): Likewise.
37934         * math/s_clogl.c (__clogl): Likewise.
37935         * math/Makefile (libm-calls): Add x2y2m1.
37936         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37937         (__x2y2m1): Likewise.
37938         (__x2y2m1l): Likewise.
37939         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37940         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37941         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37942         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37943         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37944         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37945         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37946         * sysdeps/i386/fpu/libm-test-ulps: Update.
37947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37949         [BZ #14621]
37950         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37951         int as type of variable DEPTH.
37952         (glob): Use size_t instead of int as type of variables NEWCOUNT
37953         and OLD_PATHC.
37955 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37957         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37958         Add s_sincosf-sse2.
37959         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37960         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37961         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37962         macros for using routine as __sincosf_ia32.
37963         Use macro for function declaration and weak_alias.
37964         * sysdeps/i386/fpu/libm-test-ulps: Update.
37966         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37969         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37970         subnormal argument.
37971         * math/s_cexpf.c (__cexpf): Likewise.
37972         * math/s_csinf.c (__csinf): Likewise.
37973         * math/s_csinhf.c (__csinhf): Likewise.
37974         * math/s_ctanf.c (__ctanf): Likewise.
37975         * math/s_ctanhf.c (__ctanhf): Likewise.
37976         * math/s_ccosh.c (__ccoshf): Likewise.
37977         * math/s_cexp.c (__cexpl): Likewise.
37978         * math/s_csin.c (__csin): Likewise.
37979         * math/s_csinh.c (__csinh): Likewise.
37980         * math/s_ctan.c (__ctan): Likewise.
37981         * math/s_ctanh.c (ctanh): Likewise.
37982         * math/s_ccoshl.c (__ccoshl): Likewise.
37983         * math/s_cexpl.c (__cexpl): Likewise.
37984         * math/s_csinl.c (__csinl): Likewise.
37985         * math/s_csinhl.c (__csinhl): Likewise.
37986         * math/s_ctanl.c (__ctanl): Likewise.
37987         * math/s_ctanhl.c (__ctanhl): Likewise.
37989 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37991         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37992         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37993         (_IO_off_t): Define to __off_t, not _G_off_t.
37994         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37995         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37996         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37997         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37998         type of __dummy and __dummy2 fields.
37999         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38000         (_G_ssize_t): Likewise.
38001         (_G_off_t): Likewise.
38002         (_G_pid_t): Likewise.
38003         (_G_uid_t): Likewise.
38004         (_G_wchar_t): Likewise.
38005         (_G_wint_t): Likewise.
38006         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38007         (_G_ssize_t): Likewise.
38008         (_G_off_t): Likewise.
38009         (_G_pid_t): Likewise.
38010         (_G_uid_t): Likewise.
38011         (_G_wchar_t): Likewise.
38012         (_G_wint_t): Likewise.
38013         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38014         (_G_ssize_t): Likewise.
38015         (_G_off_t): Likewise.
38016         (_G_pid_t): Likewise.
38017         (_G_uid_t): Likewise.
38018         (_G_wchar_t): Likewise.
38019         (_G_wint_t): Likewise.
38021 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38023         * malloc/arena.c: Include malloc-sysdep.h.
38024         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38025         is sufficient to shrink the heap or an unmap is needed.
38026         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38027         new function check_may_shrink_heap.
38028         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38029         new function check_may_shrink_heap.
38031 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38033         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38034         comments.
38036 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38038         * catgets/test-gencat.sh: Add "set -e".
38039         * elf/tst-pathopt.sh: Likewise.
38040         * grp/tst_fgetgrent.sh: Likewise.
38041         * iconvdata/run-iconv-test.sh: Likewise.
38042         * intl/tst-gettext.sh: Likewise.
38043         * intl/tst-gettext2.sh: Likewise.
38044         * intl/tst-gettext4.sh: Likewise.
38045         * intl/tst-gettext6.sh: Likewise.
38046         * intl/tst-translit.sh: Likewise.
38047         * io/ftwtest-sh: Likewise.
38048         * libio/test-freopen.sh: Likewise.
38049         * malloc/tst-mtrace.sh: Likewise.
38050         * posix/globtest.sh: Likewise.
38051         * posix/tst-getconf.sh: Likewise.
38052         * posix/wordexp-tst.sh: Likewise.
38053         * stdio-common/tst-printf.sh: Likewise.
38054         * stdio-common/tst-unbputc.sh: Likewise.
38055         * stdlib/tst-fmtmsg.sh: Likewise.
38056         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38057         * catgets/Makefile: Do not specify -e option when running
38058         testsuite shell scripts.
38059         * elf/Makefile: Likewise.
38060         * grp/Makefile: Likewise.
38061         * iconvdata/Makefile: Likewise.
38062         * intl/Makefile: Likewise.
38063         * io/Makefile: Likewise.
38064         * libio/Makefile: Likewise.
38065         * malloc/Makefile: Likewise.
38066         * posix/Makefile: Likewise.
38067         * stdio-common/Makefile: Likewise.
38068         * stdlib/Makefile: Likewise.
38069         * sysdeps/x86_64/Makefile: Likewise.
38071         * io/ftwtest-sh: Add copyright header.
38072         * posix/globtest.sh: Likewise.
38073         * posix/tst-getconf.sh: Likewise.
38074         * posix/wordexp-tst.sh: Likewise.
38075         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38077 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38079         [BZ #13679]
38080         * Makeconfig (+link): Defined as $(+link-static) if
38081         $(build-shared) isn't yes.
38082         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38083         isn't yes.
38084         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38086         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38088         [BZ #14562]
38089         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38090         new chunk size with MALLOC_ALIGN_MASK.
38092 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38094         [BZ #5044]
38095         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38096         <rounding-mode.h>.
38097         (__printf_fphex): Determine rounding using get_rounding_mode and
38098         round_away.
38099         * stdio-common/tst-printf-round.c (struct hex_test): New
38100         structure.
38101         (hex_tests): New variable.
38102         (test_hex_in_one_mode): New function.
38103         (do_test): Also run tests for hex float output.
38105 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38107         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38108         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38109         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38110         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38111         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38112         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38113         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38114         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38116 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38118         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38119         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38120         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38121         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38123 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38125         [BZ #14579]
38126         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38127         mode only.
38128         * elf/tst-rtld-load-self.sh: New test.
38129         * elf/Makefile: Run it.
38131 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38133         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38134         (tst-writev-ENV): Remove.
38135         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38137 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38139         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38141 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38143         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38144         unconditional.
38145         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38146         Likewise.
38147         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38148         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38149         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38150         Likewise.
38152 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38154         [BZ #14587]
38155         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38156         * config.make.in (have-cpp-asm-debuginfo): Removed.
38157         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38158         * configure: Regenerated.
38160 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38162         [BZ #5044]
38163         * stdio-common/printf_fp.c: Include <stdbool.h> and
38164         <rounding-mode.h>.
38165         (___printf_fp): Determine rounding using get_rounding_mode and
38166         round_away.
38167         * stdio-common/tst-printf-round.c: New file.
38168         * stdio-common/Makefile (tests): Add tst-printf-round.
38169         (link-libm): New variable.
38170         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38172 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38174         [BZ #14576]
38175         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38176         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38177         Likewise.
38178         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38179         Likewise.
38181 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38183         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38184         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38185         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38186         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38188 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38190         [BZ #14518]
38191         * include/rounding-mode.h: New file.
38192         * sysdeps/generic/get-rounding-mode.h: Likewise.
38193         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38194         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38195         (MAX_VALUE): New macro.
38196         (MIN_VALUE): Likewise.
38197         (overflow_value): New function.
38198         (underflow_value): Likewise.
38199         (round_and_return): Use overflow_value and underflow_value to
38200         determine return values in overflow and underflow cases.  Use
38201         round_away to determine rounding depending on rounding mode.
38202         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38203         determine return values in overflow and underflow cases.
38204         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38205         (struct test_results): New structure.
38206         (struct test): Use struct test_results to store expected results
38207         for all rounding modes.
38208         (TEST): Include expected results for all rounding modes.
38209         (test_in_one_mode): New function.
38210         (do_test): Use test_in_one_mode to compute and check results.
38211         Check results for all rounding modes.
38212         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38213         $(link-libm).
38215 2012-12-09  Allan McRae  <allan@archlinux.org>
38217         * sysdeps/i386/fpu/libm-test-ulps: Update
38219 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38221         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38222         (_G_int32_t): Likewise.
38223         (_G_uint16_t): Likewise.
38224         (_G_uint32_t): Likewise.
38225         (_G_HAVE_BOOL): Likewise.
38226         (_G_HAVE_ATEXIT): Likewise.
38227         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38228         (_G_HAVE_IO_FILE_OPEN): Likewise.
38229         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38230         (_G_int32_t): Likewise.
38231         (_G_uint16_t): Likewise.
38232         (_G_uint32_t): Likewise.
38233         (_G_HAVE_BOOL): Likewise.
38234         (_G_HAVE_ATEXIT): Likewise.
38235         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38236         (_G_HAVE_IO_FILE_OPEN): Likewise.
38237         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38238         (_G_int32_t): Likewise.
38239         (_G_uint16_t): Likewise.
38240         (_G_uint32_t): Likewise.
38241         (_G_HAVE_BOOL): Likewise.
38242         (_G_HAVE_ATEXIT): Likewise.
38243         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38244         (_G_HAVE_IO_FILE_OPEN): Likewise.
38246 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38248         * csu/libc-tls.c: Update copyright years.
38250 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38252         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38253         [!_G_USING_THUNKS]: Remove conditional code.
38254         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38255         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38257         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38258         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38259         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38260         (_G_VTABLE_LABEL_PREFIX): Likewise.
38261         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38262         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38263         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38264         (_G_VTABLE_LABEL_PREFIX): Likewise.
38265         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38266         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38267         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38268         (_G_VTABLE_LABEL_PREFIX): Likewise.
38269         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38271 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38273         * libio/Makefile: Include ../Makeconfig before tests.
38274         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38275         only if $(build-shared) is yes.
38277         * iconv/gconv_db.c: Update copyright years.
38279 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38281         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38282         unwind info if defined PIC. Fix special cases description.
38283         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38285         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38286         DP_HI_MASK entry.
38287         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38289 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38291         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38293         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38294         is NULL.
38296         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38297         (LDLIBS-tst-chk4): This.
38298         (LDFLAGS-tst-chk5): Renamed to ...
38299         (LDLIBS-tst-chk5): This.
38300         (LDFLAGS-tst-chk6): Renamed to ...
38301         (LDLIBS-tst-chk6): This.
38302         (LDFLAGS-tst-lfschk4): Renamed to ...
38303         (LDLIBS-tst-lfschk4): This.
38304         (LDFLAGS-tst-lfschk5): Renamed to ...
38305         (LDLIBS-tst-lfschk5): This.
38306         (LDFLAGS-tst-lfschk6): Renamed to ...
38307         (LDLIBS-tst-lfschk6): This.
38309         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38310         on $(common-objpfx)soversions.mk.
38312 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38314         [BZ #10014]
38315         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38316         example host name.
38318 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38320         * malloc/arena.c (arena_get_retry): New function that gets
38321         another arena for the caller to try its request on.
38322         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38323         current arena cannot fulfill the request.
38324         (__libc_memalign): Likewise.
38325         (__libc_memalign): Likewise.
38326         (__libc_pvalloc): Likewise.
38327         (__libc_calloc): Likewise.
38329 2012-09-05  John Tobey  <john.tobey@gmail.com>
38331         [BZ #13542]
38332         * manual/arith.texi (Operations on Complex): Fix description
38333         of carg branch cut.
38335 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38337         [BZ #10014]
38338         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38339         host name.
38341         [BZ #10038]
38342         * manual/memory.texi (Memory): Make order of menu items match
38343         order of sections.
38345 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38347         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38348         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38349         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38351 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38353         * csu/libc-tls.c (static_dtv): Renamed to ...
38354         (_dl_static_dtv): This.  Make it global.
38355         (_dl_initial_dtv): Removed.
38356         (__libc_setup_tls): Updated.
38357         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38358         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38359         DL_INITIAL_DTV.
38361 2012-09-06  Petr Machata  <pmachata@redhat.com>
38363         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38364         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38365         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38366         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38368 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38370         [BZ #14545]
38371         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38372         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38373         freeing dtv[-1].
38375 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38377         [BZ #14544]
38378         * Makeconfig (link-static-before-libc): Replace $(+prector)
38379         with $(+prectorT).
38380         (link-static-after-libc): Replace $(+postctor) with
38381         $(+postctorT).
38382         (link-bounded): Replace $(+prector)/$(+postctor) with
38383         $(+prectorT)/$(+postctorT).
38384         (+prectorT): New macro.
38385         (+postctorT): Likewise.
38387 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38389         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38390         (round_str): Handle values above the maximum for IBM long double
38391         as inexact.
38392         * stdlib/tst-strtod-round.c (tests): Regenerated.
38394 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38396         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38397         assembler flag.
38398         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38399         zarch_nohighgprs around the zarch optimized routines.
38400         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38401         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38402         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38403         for zarch.
38405 2012-09-05  David S. Miller  <davem@davemloft.net>
38407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38409         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38410         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38411         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38412         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38413         entries.
38415 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38417         * malloc/arena.c: Fold copyright years.
38418         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38420 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38422         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38424 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38426         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38428 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38430         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38431         change internal state upon failure.
38433 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38435         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38436         * malloc/memusage.c (mmap): Likewise.
38437         (mmap64, mremap): Likewise.  Adjust name in comment.
38439 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38441         * libio/fileops.c: Fix typos in comments.
38442         * libio/oldfileops.c: Likewise.
38443         * libio/wfileops.c: Likewise.
38445 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38447         [BZ #1349]
38448         * malloc/Makefile (tests): Add tst-malloc-usable test case.
38449         (tst-malloc-usable-ENV): Set environment for test case.
38450         * malloc/hooks.c (malloc_check_get_size): New function to get
38451         requested size.
38452         * malloc/malloc.c (musable): Use malloc_check_get_size.
38453         * malloc/tst-malloc-usable.c: New test case.
38455 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38457         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38459 2012-09-05  Allan McRae  <allan@archlinux.org>
38461         [BZ #13966]
38462         * configure.in (CXX_SYSINCLUDES): Use compiler output to
38463         determine header location.
38464         * configure: Regenerated.
38466 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38468         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38469         float format.
38470         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38471         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38472         format.
38473         (test): Regenerate.
38475 2012-09-04  David S. Miller  <davem@davemloft.net>
38477         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38478         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38479         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38481 2012-09-04  Florian Weimer  <fweimer@redhat.com>
38483         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38484         failures.
38486         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38488 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
38490         [BZ #9914]
38491         * libio/iogetdelim.c: Include <limits.h>.
38492         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38493         + len + 1 would overflow.
38495 2012-09-03  Andreas Jaeger  <aj@suse.de>
38497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38498         * sysdeps/i386/fpu/libm-test-ulps: Update.
38500 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38502         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38503         Add s_sinf-sse2, s_conf-sse2.
38505         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38506         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38507         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38508         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38510         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38511         for using routine as __sinf_ia32.
38512         Use macro for function declaration and weak_alias.
38513         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38514         for using routine as __cosf_ia32.
38515         Use macro for function declaration and weak_alias.
38517         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38518         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38520         * sysdeps/x86_64/fpu/s_sinf.S: New file.
38521         * sysdeps/x86_64/fpu/s_cosf.S: New file.
38522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38524         * math/libm-test.inc (cos_test): Add more test cases.
38525         (sin_test): Likewise.
38526         (sincos_test): Likewise.
38528 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38531         (IFUNC_RESOLVE): Make pointers to the specialized implementations
38532         hidden.
38533         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38535 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
38537         [BZ #14538]
38538         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38539         first element of the GOT.
38540         (elf_machine_load_address): Return the difference between
38541         the runtime address of _DYNAMIC and elf_machine_dynamic ().
38543 2012-09-01  Allan McRae  <allan@archlinux.org>
38545         [BZ #13412]
38546         * configure.in (AWK): Require gawk version 3.0 or later.
38547         * configure: Regenerated.
38549 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
38551         * sysdeps/unix/sysv/linux/kernel-features.h
38552         (__ASSUME_POSIX_CPU_TIMERS): Remove.
38553         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38554         [__NR_clock_getres]: Make code unconditional.
38555         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38556         (clock_getcpuclockid): Remove code left unreachable by removal of
38557         conditionals.
38558         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38559         code unconditional.
38560         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38561         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38562         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38563         Make code unconditional.
38564         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38565         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38566         * sysdeps/unix/sysv/linux/clock_settime.c
38567         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38568         conditional code.
38569         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38570         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38572 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
38574         [BZ #14476]
38575         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38576         scripts/test-installation.pl.
38578         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38579         and $ld_so_version if it is set.
38581 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38583         [BZ #14516]
38584         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38585         failure if reading from procfs failed.
38586         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38588 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38590         * sysdeps/unix/sysv/linux/kernel-features.h
38591         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38592         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38593         Remove conditional code.
38594         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38595         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38596         Remove conditional code.
38597         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38598         * sysdeps/unix/sysv/linux/i386/fxstat.c
38599         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38600         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38601         * sysdeps/unix/sysv/linux/i386/fxstatat.c
38602         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38603         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38604         * sysdeps/unix/sysv/linux/i386/lxstat.c
38605         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38607         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38608         Remove conditional code.
38609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38610         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38611         Remove conditional code.
38612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38613         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38614         <kernel-features.h>.
38615         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38616         Remove.
38617         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38618         Remove conditional code.
38619         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38620         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38621         Remove conditional.
38623 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
38625         [BZ #5400]
38626         * NEWS: Add fixed bug number.
38628 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38630         [BZ #14519]
38631         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38632         underflowing exponent in case of negative sign.
38633         * stdlib/tst-strtod-round-data: Add more tests.
38634         * stdlib/tst-strtod-round.c (tests): Regenerated.
38636         [BZ #3479]
38637         * stdlib/strtod_l.c (NDIG): Remove.
38638         (HEXNDIG): Likewise.
38639         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38640         smallest representable value.
38641         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38642         lie within an exact representation of 1/2 ulp of the result.
38643         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38644         unconditionally.
38645         (TENS_P9_IDX): Define unconditionally.
38646         (TENS_P9_SIZE): Likewise.
38647         (TENS_P10_IDX): Likewise.
38648         (TENS_P10_SIZE): Likewise.
38649         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38650         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38651         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38652         entries for 10^2^13 and 10^2^14.
38653         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38654         (TENS_P13_IDX): Define.
38655         (TENS_P13_SIZE): Likewise.
38656         (TENS_P14_IDX): Likewise.
38657         (TENS_P14_SIZE): Likewise.
38658         (_fpioconst_pow10): Change array size to
38659         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
38660         unconditional.
38661         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38662         1024]: Add entries for 10^2^13 and 10^2^14.
38663         [LAST_POW10 > _LAST_POW10]: Remove #error.
38664         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38665         (_fpioconst_pow10): Change array size to
38666         FPIOCONST_POW10_ARRAY_SIZE.
38667         * stdlib/gen-fpioconst.c: New file.
38668         * stdlib/gen-tst-strtod-round.c: Likewise.
38669         * stdlib/tst-strtod-round-data: Likewise.
38670         * stdlib/tst-strtod-round.c: Likewise.
38671         * stdlib/Makefile (tests): Add tst-strtod-round.
38673         [BZ #14459]
38674         * stdlib/strtod_l.c: Include <stdint.h>.
38675         (NDEBUG): Do not define.
38676         (round_and_return): Change EXPONENT parameter to type intmax_t.
38677         Rearrange calculations to avoid internal overflow possibilities.
38678         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38679         Rearrange calculations to avoid internal overflow possibilities.
38680         Assert that number fits inside MPNSIZE limbs.
38681         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38682         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
38683         calculations and add assertions to avoid internal overflow
38684         possibilities.  Add casts to avoid signed/unsigned operations.
38685         * stdlib/tst-strtod-overflow.c: New file.
38686         * stdlib/Makefile (tests): Add tst-strtod-overflow.
38688 2012-08-25  Marek Polacek  <polacek@redhat.com>
38690         * time/time.h: Fix some typos in comments.
38692 2012-08-23  Roland McGrath  <roland@hack.frob.com>
38694         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38695         * posix/tst-rfc3484-2.c: Likewise.
38696         * posix/tst-rfc3484-3.c: Likewise.
38698 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
38700         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38701         (EF_ARM_ABI_FLOAT_HARD): Likewise.
38703 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
38705         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38706         #include of fxstatat64.c.
38708 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38710         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38711         * shadow/getspent_r.c: Likewise.
38712         * shadow/getspnam.c: Likewise.
38713         * shadow/getspnam_r.c: Likewise.
38714         * gshadow/getsgent.c: Likewise.
38715         * gshadow/getsgent_r.c: Likewise.
38716         * gshadow/getsgnam.c: Likewise.
38717         * gshadow/getsgnam_r.c: Likewise.
38718         * inet/getnetbyad.c: Likewise.
38719         * inet/getnetbyad_r.c: Likewise.
38720         * inet/getnetbynm.c: Likewise.
38721         * inet/getnetbynm_r.c: Likewise.
38722         * inet/getnetent.c: Likewise.
38723         * inet/getnetent_r.c: Likewise.
38724         * inet/getproto.c: Likewise.
38725         * inet/getproto_r.c: Likewise.
38726         * inet/getprtent.c: Likewise.
38727         * inet/getprtent_r.c: Likewise.
38728         * inet/getprtname.c: Likewise.
38729         * inet/getprtname_r.c: Likewise.
38730         * inet/getrpcbyname.c: Likewise.
38731         * inet/getrpcbyname_r.c: Likewise.
38732         * inet/getrpcbynumber.c: Likewise.
38733         * inet/getrpcbynumber_r.c: Likewise.
38734         * inet/getrpcent.c: Likewise.
38735         * inet/getrpcent_r.c: Likewise.
38736         * inet/getaliasent.c: Likewise.
38737         * inet/getaliasent_r.c: Likewise.
38738         * inet/getaliasname.c: Likewise.
38739         * inet/getaliasname_r.c: Likewise.
38740         * nscd/getgrgid_r.c: Likewise.
38741         * nscd/getgrnam_r.c: Likewise.
38742         * nscd/gethstbyad_r.c: Likewise.
38743         * nscd/gethstbynm3_r.c: Likewise.
38744         * nscd/getpwnam_r.c: Likewise.
38745         * nscd/getpwuid_r.c: Likewise.
38746         * nscd/getsrvbynm_r.c: Likewise.
38747         * nscd/getsrvbypt_r.c: Likewise.
38748         * nscd/gai.c: Likewise.
38750         * configure.in (build_nscd): New substituted variable, set
38751         by --disable-build-nscd and defaults to $use_nscd.
38752         * configure: Regenerated.
38753         * config.make.in (build-nscd): New substituted variable.
38754         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38755         Change conditional to require [$(build-nscd) = yes] as well.
38756         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38758         [BZ# 13696]
38759         * configure.in (use_nscd): New substituted variable, set by
38760         --disable-nscd.  If enabled, define USE_NSCD.
38761         * configure: Regenerated.
38762         * config.h.in: Add USE_NSCD.
38763         * config.make.in (use-nscd): New substituted variable.
38764         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38765         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38766         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38767         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38768         (CFLAGS-getgrnam_r.c): Likewise.
38769         (CFLAGS-initgroups.c): Likewise.
38770         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38771         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38772         Variables removed.
38773         * inet/getnetgrent_r.c
38774         (nscd_setnetgrent): New function, broken out of ...
38775         (setnetgrent): ... here.  Call it.
38776         (innetgr): Conditionalize nscd bits on [USE_NSCD].
38777         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38778         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38779         * nscd/Makefile (routines, aux): Move definitions after include of
38780         Makeconfig.  Conditionalize on [$(use-nscd) != no].
38781         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38782         Conditionalize on [USE_NSCD].
38783         (is_nscd, nscd_init_cb): Likewise.
38784         (nss_load_library): Conditionalize init callback on [USE_NSCD].
38785         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38786         * nss/nss_db/db-init.c: Likewise.
38787         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38788         [USE_NSCD].
38789         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38790         (make_request): Use it.
38791         (cache_valid_p): New function.
38792         (__check_pf): Use it.
38793         * NEWS: Add item for --disable-nscd.
38795 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
38797         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38798         to support sed >= 4.2.1-20-ga9bf076.
38799         * configure: Regenerated.
38801 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38803         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38804         Conditionalize whole body on [IREL].
38806 2012-08-22  Jeff Law <law@redhat.com>
38808         [BZ #14505]
38809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38810         if the family is PF_UNSPEC.
38812 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
38814         * Makerules (lib-version): Rename from V.
38815         (install-lib-nosubdir): Change V to lib-version.
38817 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38819         [BZ #14252]
38820         * powerpc32/power6/wcschr.c: New file.
38821         * powerpc32/power6/wcscpy.c: New file.
38822         * powerpc32/power6/wcsrchr.c: New file.
38823         * powerpc64/power6/wcschr.c: New file.
38824         * powerpc64/power6/wcscpy.c: New file.
38825         * powerpc64/power6/wcsrchr.c: New file.
38827 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38829         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38830         (two_way_short_needle): Use it.
38831         * string/strstr.c (AVAILABLE1_USES_J): Define.
38832         * string/strcasestr.c: Likewise.
38834         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38835         array references.
38836         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38838         [BZ #11607]
38839         * NEWS: Add an entry.
38840         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38841         define their defaults.
38842         (two_way_short_needle): Detect end-of-string on-the-fly.
38843         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38844         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38845         * string/bug-strcasestr1.c: New test.
38846         * string/Makefile: Run it.
38848 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38850         [BZ #11607]
38851         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38852         the first character.
38854 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38856         * csu/elf-init.c (__libc_csu_irel): Function removed.
38857         * csu/libc-start.c (apply_irel): New function.
38858         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38860 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38862         * sysdeps/unix/sysv/linux/kernel-features.h
38863         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38864         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38865         <kernel-features.h>.
38866         [__NR_fadvise64_64]: Make code unconditional.
38867         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38868         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38869         !__NR_fadvise64_64)]: Likewise.
38870         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38871         !__NR_fadvise64_64))]: Likewise.
38872         [__NR_fadvise64]: Make code unconditional.
38873         [!__NR_fadvise64]: Remove conditional code.
38874         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38875         <kernel-features.h>.
38876         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38877         unconditional.
38878         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38879         conditional code.
38880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38881         not include <kernel-features.h>.
38882         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38883         unconditional.
38884         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38885         conditional code.
38886         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38887         include <kernel-features.h>.
38888         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38889         unconditional.
38890         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38891         conditional code.
38893 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38895         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38896         slight instruction rearrangements per scrollpipe analysis.
38897         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38899 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38901         * manual/syslog.texi (syslog; vsyslog, closelog):
38902         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38903         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38905         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38906         DSOCAPS to match condition on defining it.
38908 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38910         * sysdeps/unix/sysv/linux/kernel-features.h
38911         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38913         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38914         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38916         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38917         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38919         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38920         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38922         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38923         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38925         * sysdeps/unix/sysv/linux/kernel-features.h
38926         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38927         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38928         unconditional.
38929         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38930         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38931         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38932         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38933         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38934         Make code unconditional.
38935         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38936         (__mmap64) [!__NR_mmap2]: Likewise.
38937         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38938         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38939         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38940         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38941         [__NR_mmap2]: Make code unconditional.
38942         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38943         (__mmap64) [!__NR_mmap2]: Likewise.
38945 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38947         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38949 2012-08-18  Andreas Jaeger  <aj@suse.de>
38951         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38953 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38955         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38956         * include/unistd.h (__have_sock_cloexec): Likewise.
38957         (__have_pipe2): Likewise.
38958         (__have_dup3): Likewise.
38960 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38962         [BZ #9685]
38963         * include/unistd.h (__have_pipe2): Change define into an extern int.
38964         (__have_dup3): Likewise.
38965         * socket/have_sock_cloexec.c: Include fcntl.h.
38966         (__have_pipe2): New variable.
38967         (__have_dup3): Likewise.
38969 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38971         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38973 2012-08-17  Marek Polacek  <polacek@redhat.com>
38975         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38976         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38978 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38980         * configure.in: Add AC_SUBST for sysheaders.
38981         * configure: Regenerated.
38982         * config.make.in (sysheaders): New substituted variable.
38984         * sysdeps/unix/mkfifo.c: Moved ...
38985         * sysdeps/posix/mkfifo.c: ... here.
38986         * sysdeps/unix/mkfifoat.c: Moved ...
38987         * sysdeps/posix/mkfifoat.c: ... here.
38989         * sysdeps/unix/utime.c: Moved ...
38990         * sysdeps/posix/utime.c: ... here.
38992         * sysdeps/unix/time.c: Moved ...
38993         * sysdeps/posix/time.c: ... here.
38994         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38995         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38997         * sysdeps/unix/nice.c: Moved ...
38998         * sysdeps/posix/nice.c: ... here.
39000         * sysdeps/unix/alarm.c: Moved ...
39001         * sysdeps/posix/alarm.c: ... here.
39003         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39005 2012-08-17  Jeff Law <law@redhat.com>
39007         * intl/Makefile (codeset_mo): New variable.
39008         ($(codeset_mo)): New target.
39009         (tst-codeset.out): Depend on that.  Remove explicit rule.
39010         (tst-gettext3.out, tst-gettext5.out): Likewise.
39011         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39012         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39013         * intl/tst-codeset.sh: Remove.
39014         * intl/tst-gettext3.sh: Likewise.
39015         * intl/tst-gettext5.sh: Likewise.
39017 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39019         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39020         * sysdeps/unix/syscalls.list: ... here.
39022         * sysdeps/posix/getaddrinfo.c
39023         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39024         (gaiconf_init, gaiconf_reload): Use them.
39025         [!_STATBUF_ST_NSEC]
39026         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39027         Define using time_t rather than struct timespec.
39029         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39030         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39031         Macros removed.
39032         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39033         [!NO_THREADS].
39034         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39035         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39036         Likewise.
39038         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39039         __libc_cleanup_push argument.
39041         * bits/param.h: New file.
39042         * misc/sys/param.h: New file.
39043         * include/sys/param.h: New file.
39044         * misc/Makefile (headers): Add bits/param.h.
39045         * sysdeps/generic/sys/param.h: File removed.
39046         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39047         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39048         * sysdeps/mach/hurd/bits/param.h: New file.
39049         * sysdeps/mach/hurd/sys/param.h: File removed.
39051         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39052         last change.
39054         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39055         [_IO_MTSAFE_IO].
39056         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39057         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39058         New macros.
39060         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39061         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39062         rather than -D_IO_MTSAFE_IO conditionally.
39063         * stdio-common/Makefile (CPPFLAGS): Likewise.
39064         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39065         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39066         Use $(libio-mtsafe).
39067         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39068         of -D_IO_MTSAFE_IO.
39069         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39070         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39071         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39072         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39073         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39074         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39075         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39076         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39077         (CFLAGS-fread_u_chk.c): Likewise.
39078         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39079         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39080         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39081         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39082         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39083         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39084         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39085         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39086         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39088         * libio/Makefile: Test [$(libc-reentrant) = yes]
39089         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39091         * Makeconfig
39092         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39093         * sysdeps/pthread/configure: File removed.
39094         * sysdeps/pthread/Makeconfig: New file.
39095         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39096         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39098 2012-08-16  Gary Benson  <gbenson@redhat.com>
39100         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39101         unmapping the first object in a namespace.
39103 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39105         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39106         (__internal_setnetgrent): ... this.  Add internal_function to
39107         definition.  Add libc_hidden_def.
39108         (setnetgrent): Update caller.
39109         (internal_endnetgrent): Renamed to ...
39110         (__internal_endnetgrent): ... this.  Add internal_function to
39111         definition.  Add libc_hidden_def.
39112         (endnetgrent): Update caller.
39113         (internal_getnetgrent_r): Renamed to ...
39114         (__internal_getnetgrent_r): ... this.  Add internal_function to
39115         definition.  Add libc_hidden_def.
39116         (__getnetgrent_r): Update caller.
39117         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39119 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39121         * stdlib/longlong.h: Update from GCC.
39123 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39125         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39126         on _QL, which is set by umul_ppmm but never used.
39127         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39128         variables, which are set by GMP macros but never used.
39129         * stdio-common/_itowa.c (_itowa): Likewise.
39130         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39131         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39133 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39135         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39136         struct La_sh_regs is not constant.
39137         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39138         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39139         and struct La_sparc64_regs are not constant.
39141 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39143         * sysdeps/unix/sysv/linux/kernel-features.h
39144         (__ASSUME_POSIX_TIMERS): Remove.
39145         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39146         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39147         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39148         Make code unconditional.
39149         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39150         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39151         Make code unconditional.
39152         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39153         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39154         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39155         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39156         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39157         Make code unconditional.
39158         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39159         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39160         (__libc_missing_posix_timers): Remove.
39162 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39164         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39165         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39167         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39169         * elf/dl-sym.c: Include <stdlib.h>.
39171         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39172         constants, which avoids warnings in 32-bit builds.
39174         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39175         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39177         * misc/lseek.c: File moved to ...
39178         * io/lseek.c: ... here.
39180         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39182         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39183         shifting LEN more than 31 bits at once.
39185 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39187         [BZ #14195]
39188         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39189         segmentation fault for a case of two empty input strings.
39190         * string/test-strncasecmp.c (check1): Renamed to...
39191         (bz12205): ...this.
39192         (bz14195): Add new testcase for two empty input strings and N > 0.
39193         (test_main): Call new testcase, adapt for renamed function.
39195 2012-08-15  Andreas Jaeger  <aj@suse.de>
39197         [BZ #14090]
39198         * crypt/md5test2.c: New test, based on test supplied by Serge
39199         Belyshev <belyshev@depni.sinp.msu.ru>.
39200         * crypt/Makefile (xtests): Add md5test-giant..
39201         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39203 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39205         [BZ #14090]
39206         * crypt/md5.c (md5_process_block): Don't assume the buffer
39207         length is less than 2**32.
39208         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39209         length is less than 2**64.
39211 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39213         * string/str-two-way.h: Include <sys/param.h>.
39214         (MAX): Macro removed.
39216         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39217         Move #define and #undef of memmove to just before and after
39218         including <string.h>.
39220         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39221         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39222         and after including <string.h>.  Move declarations of
39223         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39224         to before #include "string/memmove.c".
39226         * include/dirent.h: Declare __getdirentries.
39228         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39229         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39231 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39233         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39234         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39235         * sysdeps/i386/configure: Regenerated.
39236         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39237         STABS_CURRENT_FILE, and STABS_FUN.
39238         (END): Remove call to STABS_FUN_END.
39239         (STABS_CURRENT_FILE1): Delete.
39240         (STABS_CURRENT_FILE): Likewise.
39241         (STABS_FUN): Likewise.
39242         (STABS_FUN_END): Likewise.
39243         (STABS_FUN2): Likewise.
39244         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39245         * sysdeps/x86_64/configure: Regenerated.
39247 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39249         * elf/dl-open.c: Include <atomic.h>.
39250         * elf/dl-lookup.c: Likewise.
39252 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39254         * sysdeps/unix/sysv/linux/kernel-features.h
39255         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39256         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39257         unconditionally.
39258         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39259         unconditionally.
39260         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39261         condition on __ASSUME_CLONE_THREAD_FLAGS.
39263 2012-08-14  Andreas Jaeger  <aj@suse.de>
39265         * sysdeps/i386/fpu/libm-test-ulps: Update.
39267 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39269         * include/atomic.h (atomic_exchange_and_add): Split into ...
39270         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39271         New atomic macros.
39273 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39277 2012-08-13  Jeff Law <law@redhat.com>
39279         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39280         null byte in the output string.
39282 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39284         * sysdeps/unix/sysv/linux/kernel-features.h
39285         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39286         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39287         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39288         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39289         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39290         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39291         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39293 2012-08-09  Jeff Law <law@redhat.com>
39295         [BZ #13939]
39296         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39297         When avoid_arena is set, don't retry in the that arena.  Pick the
39298         next one, whatever it might be.
39299         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39300         (arena_lock): Pass in new parameter to arena_get2.
39301         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39302         arena_get2.
39303         (__libc_malloc): Unify retrying after main arena failure with
39304         __libc_memalign version.
39305         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39307 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39309         [BZ #14166]
39310         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39311         to __redirect_strstr.
39312         (__strstr_sse42): Use typeof __redirect_strstr.
39313         (__strstr_ia32): Likewise.
39314         (__libc_strstr): New prototype.
39315         (strstr): Renamed to ...
39316         (__libc_strstr): This.
39317         (strstr): New strong alias of __libc_strstr.
39318         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39319         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39320         __redirect_time.
39321         Include <time.h>.
39322         (__libc_time): New prototype.
39323         (time_ifunc): Replace time with __libc_time.
39324         (time): New strong alias and hidden definition of __libc_time.
39325         (__GI_time): Remove strong alias.
39326         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39327         Include <stddef.h>.
39328         (memmove): Redefined to __redirect_memmove.
39329         (__memmove_sse2): Use typeof __redirect_memmove.
39330         (__memmove_ssse3): Likewise.
39331         (__memmove_ssse3_back): Likewise.
39332         (__libc_memmove): New prototype.
39333         (memmove): Renamed to ...
39334         (__libc_memmove): This.
39335         (memmove): New strong alias of __libc_memmove.
39337 2012-08-08  Mark Salter  <msalter@redhat.com>
39339         * elf/elf.h
39340         (R_MN10300_TLS_GD): Define.
39341         (R_MN10300_TLS_LD): Likewise.
39342         (R_MN10300_TLS_LDO): Likewise.
39343         (R_MN10300_TLS_GOTIE): Likewise.
39344         (R_MN10300_TLS_IE): Likewise.
39345         (R_MN10300_TLS_LE): Likewise.
39346         (R_MN10300_TLS_DTPMOD): Likewise.
39347         (R_MN10300_TLS_DTPOFF): Likewise.
39348         (R_MN10300_TLS_TPOFF): Likewise.
39349         (R_MN10300_SYM_DIFF): Likewise.
39350         (R_MN10300_ALIGN): Likewise.
39351         (R_MN10300_NUM): Update.
39353 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39355         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39356         Remove.
39358 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39360         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39362         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39363         sysdeps/unix -> sysdeps/posix move.
39364         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39366 2012-08-07      Allan McRae     <allan@archlinux.org>
39368         [BZ #14303]
39369         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39370         (SUNOS_CPP): Likewise.
39371         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39372         not found.
39373         (open_input): Call CPP using execvp.
39375 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39377         * sysdeps/unix/sysv/linux/kernel-features.h
39378         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39379         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39380         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39381         (__ASSUME_WAITID_SYSCALL): Likewise.
39382         * sysdeps/unix/sysv/linux/dl-execstack.c
39383         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39384         code unconditional.
39385         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39386         conditional code.
39387         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39388         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39389         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39390         code.
39391         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39392         unconditional.
39393         [__ASSUME_WAITID_SYSCALL]: Likewise.
39394         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39396 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39398         * sysdeps/unix/closedir.c: Renamed to ...
39399         * sysdeps/posix/closedir.c: ... here.
39400         * sysdeps/unix/dirfd.c: Renamed to ...
39401         * sysdeps/posix/dirfd.c: ... here.
39402         * sysdeps/unix/dirstream.h: Renamed to ...
39403         * sysdeps/posix/dirstream.h: ... here.
39404         * sysdeps/unix/fdopendir.c: Renamed to ...
39405         * sysdeps/posix/fdopendir.c: ... here.
39406         * sysdeps/unix/opendir.c: Renamed to ...
39407         * sysdeps/posix/opendir.c: ... here.
39408         * sysdeps/unix/readdir.c: Renamed to ...
39409         * sysdeps/posix/readdir.c: ... here.
39410         * sysdeps/unix/readdir_r.c: Renamed to ...
39411         * sysdeps/posix/readdir_r.c: ... here.
39412         * sysdeps/unix/rewinddir.c: Renamed to ...
39413         * sysdeps/posix/rewinddir.c: ... here.
39414         * sysdeps/unix/seekdir.c: Renamed to ...
39415         * sysdeps/posix/seekdir.c: ... here.
39416         * sysdeps/unix/telldir.c: Renamed to ...
39417         * sysdeps/posix/telldir.c: ... here.
39418         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39419         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39420         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39421         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39423         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39424         * bits/fcntl.h: ... here.
39426         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39427         not 0.
39428         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39429         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39430         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39431         (struct flock): Move l_start, l_len to the beginning.
39432         Use __pid_t for l_pid.
39433         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39434         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39435         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39436         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39437         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39438         [__USE_LARGEFILE64] (struct flock64): New type.
39439         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39441         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39442         * bits/dirent.h: ... here.
39444         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39445         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39447 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39449         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39450         Change from 2.6.0 to 2.6.16.
39451         * sysdeps/unix/sysv/linux/configure: Regenerated.
39452         * sysdeps/unix/sysv/linux/kernel-features.h
39453         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39454         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39455         version.
39456         (__ASSUME_UTIMES): Likewise.
39457         (__ASSUME_CLONE_STOPPED): Remove.
39458         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39459         architectures, not kernel version.
39460         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39461         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39462         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39463         (__ASSUME_WAITID_SYSCALL): Likewise.
39464         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39465         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39466         * README: State 2.6.16 as minimum Linux kernel version.  Do not
39467         refer to older versions.
39469 2012-08-06  Roland McGrath  <roland@hack.frob.com>
39471         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39472         Define alphasort64 as an alias.
39473         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39474         Define versionsort64 as an alias.
39475         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39476         Define scandir64 as an alias.
39477         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39478         Define scandirat64 as an alias.
39479         * dirent/alphasort64.c (alphasort64):
39480         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39481         * dirent/versionsort64.c: Likewise.
39482         * dirent/scandir64.c: Likewise.
39483         * dirent/scandirat64.c: Likewise.
39484         * sysdeps/wordsize-64/alphasort.c: File removed.
39485         * sysdeps/wordsize-64/alphasort64.c: File removed.
39486         * sysdeps/wordsize-64/scandir.c: File removed.
39487         * sysdeps/wordsize-64/scandir64.c: File removed.
39488         * sysdeps/wordsize-64/scandirat.c: File removed.
39489         * sysdeps/wordsize-64/scandirat64.c: File removed.
39490         * sysdeps/wordsize-64/versionsort.c: File removed.
39491         * sysdeps/wordsize-64/versionsort64.c: File removed.
39492         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39494         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39496         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39498         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39499         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39501         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39502         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39503         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39504         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39505         [defined __arch64__ || defined __sparcv9]
39506         (__INO_T_MATCHES_INO64_T): New macro.
39507         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39508         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39509         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39510         * sysdeps/unix/sysv/linux/bits/dirent.h
39511         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39512         (_DIRENT_MATCHES_DIRENT64): New macro.
39514         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39515         Define lockf64 as an alias.
39516         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39517         Define fseeko64 as an alias.
39518         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39519         Define ftello64 as an alias.
39520         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39521         Define _IO_fgetpos64 and fgetpos64 as aliases.
39522         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39523         Define _IO_fsetpos64 and fsetpos64 as aliases.
39524         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39525         Conditionalize body on this.
39526         * libio/fseeko64.c: Likewise.
39527         * libio/ftello64.c: Likewise.
39528         * libio/iofgetpos64.c: Likewise.
39529         * libio/iofsetpos64.c: Likewise.
39530         * sysdeps/wordsize-64/lockf.c: File removed.
39531         * sysdeps/wordsize-64/lockf64.c: File removed.
39532         * sysdeps/wordsize-64/fseeko.c: File removed.
39533         * sysdeps/wordsize-64/fseeko64.c: File removed.
39534         * sysdeps/wordsize-64/ftello.c: File removed.
39535         * sysdeps/wordsize-64/ftello64.c: File removed.
39536         * sysdeps/wordsize-64/iofgetpos.c: File removed.
39537         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39538         * sysdeps/wordsize-64/iofsetpos.c: File removed.
39539         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39540         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39541         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39542         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39543         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39544         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39545         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39546         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39547         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39548         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39549         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39551         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39552         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39553         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39554         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39555         [defined __arch64__ || defined __sparcv9]
39556         (__OFF_T_MATCHES_OFF64_T): New macro.
39557         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39558         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39559         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39560         (__OFF_T_MATCHES_OFF64_T): New macro.
39562 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39564         * stdlib/secure-getenv.c (__secure_getenv): Replace
39565         GLIBC_2_16 with GLIBC_2_17.
39567 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39569         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39570         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39572 2012-08-03  David S. Miller  <davem@davemloft.net>
39574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39576 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39578         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39579         Remove.
39580         (__ASSUME_CORRECT_SI_PID): Likewise.
39581         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39582         (__ASSUME_TMPFS_NAME): Likewise.
39583         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39584         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39585         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39586         (HAVE_AUX_SECURE): Make definition unconditional.
39587         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39588         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39590 2012-08-03  Roland McGrath  <roland@hack.frob.com>
39592         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39593         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39594         * sysdeps/mach/hurd/eloop-threshold.h: New file.
39595         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39596         __eloop_threshold instead of SYMLOOP_MAX.
39598         * sysdeps/generic/eloop-threshold.h: New file.
39599         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39600         of MAXSYMLINKS.
39601         * elf/chroot_canon.c (chroot_canon): Likewise.
39603 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39605         [BZ #13717]
39606         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39607         Change to 2.6.0 everywhere.
39608         * sysdeps/unix/sysv/linux/configure: Regenerated.
39609         * sysdeps/unix/sysv/linux/kernel-features.h
39610         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39611         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39612         kernel versions.
39613         (__ASSUME_POSIX_TIMERS): Define unconditionally.
39614         (__ASSUME_FUTEX_REQUEUE): Remove.
39615         (__ASSUME_STATFS64): Define unconditionally.
39616         (__ASSUME_AT_SECURE): Likewise.
39617         (__ASSUME_CORRECT_SI_PID): Likewise.
39618         (__ASSUME_TGKILL): Define without depending on kernel version for
39619         i386.
39620         (__ASSUME_UTIMES): Likewise.
39621         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39622         kernel version.
39623         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39624         (__ASSUME_TMPFS_NAME): Likewise.
39625         * README: Update reference to Linux kernel versions.
39627 2012-08-02  Marek Polacek  <polacek@redhat.com>
39629         [BZ# 14150]
39630         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
39631         libc_cv_asm_type_prefix with %.
39632         * configure: Regenerated.
39633         * include/libc-symbols.h: Remove comment about
39634         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39635         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39636         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39637         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39638         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39639         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39640         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39641         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39642         * elf/tst-unique2mod1.c: Likewise.
39643         * elf/tst-unique1mod2.c: Likewise.
39644         * elf/tst-unique1mod1.c: Likewise.
39645         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39646         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39647         Replace ASM_TYPE_DIRECTIVE with .type.
39648         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39649         * sysdeps/i386/sysdep.h: Likewise.
39650         * sysdeps/x86_64/sysdep.h: Likewise.
39651         * sysdeps/sh/sysdep.h: Likewise.
39652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39653         Do not define ASM_TYPE_DIRECTIVE.
39654         * sysdeps/powerpc/sysdep.h: Likewise.
39655         * sysdeps/powerpc/powerpc32/sysdep.h:
39656         Replace ASM_TYPE_DIRECTIVE with .type.
39657         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39658         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39659         * sysdeps/i386/fpu/e_powf.S: Likewise.
39660         * sysdeps/i386/fpu/e_expl.S: Likewise.
39661         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39662         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39663         * sysdeps/i386/fpu/e_pow.S: Likewise.
39664         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39665         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39666         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39667         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39668         * sysdeps/i386/fpu/e_log2.S: Likewise.
39669         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39670         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39671         * sysdeps/i386/fpu/e_powl.S: Likewise.
39672         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39673         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39674         * sysdeps/i386/fpu/e_logl.S: Likewise.
39675         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39676         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39677         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39678         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39679         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39680         * sysdeps/i386/fpu/e_log.S: Likewise.
39681         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39682         * sysdeps/i386/fpu/e_logf.S: Likewise.
39683         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39684         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39685         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39686         * sysdeps/i386/fpu/e_log10.S: Likewise.
39687         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39688         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39689         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39690         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39691         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39692         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39693         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39694         * sysdeps/i386/i686/strtok.S: Likewise.
39695         * sysdeps/i386/i386-mcount.S: Likewise.
39696         * sysdeps/i386/strtok.S: Likewise.
39697         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39698         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39699         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39700         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39701         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39702         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39703         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39704         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39705         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39706         * sysdeps/x86_64/_mcount.S: Likewise.
39707         * sysdeps/x86_64/strtok.S: Likewise.
39708         * sysdeps/sh/_mcount.S: Likewise.
39710 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39712         * libio/iofopen.c: Include <fcntl.h>.
39713         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39714         (_IO_fopen64, fopen64): Define as aliases.
39715         * libio/iofopen64.c: Include <fcntl.h>.
39716         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39717         Conditionalize body on this.
39718         * sysdeps/wordsize-64/iofopen.c: File removed.
39719         * sysdeps/wordsize-64/iofopen64.c: File removed.
39721 2012-08-01  Marek Polacek  <polacek@redhat.com>
39723         * libc/Makeconfig: Use elf in place of binfmt-subdir.
39724         Use dlfcn directly instead of a variable.
39725         (binfmt-subdir): Do not define.
39726         (dlfcn): Likewise.
39728 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
39730         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39731         Remove all definitions.
39732         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39733         <kernel-features.h>.
39734         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39735         (miss_F_GETOWN_EX): Remove all definitions.
39736         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39737         macro definition.
39738         [!__ASSUME_FCNTL64]: Remove conditional code.
39739         [__ASSUME_FCNTL64]: Make code unconditional.
39740         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39741         <kernel-features.h>.
39742         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39743         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39744         (lockf64) [__NR_fcntl64]: Make code unconditional.
39745         (lockf64) [__ASSUME_FCNTL64]: Likewise.
39747         * sysdeps/unix/sysv/linux/kernel-features.h
39748         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39749         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39750         Make code unconditional.
39751         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39752         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39754         [__NR_vfork]: Make code unconditional.
39755         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39756         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39758         [__NR_vfork]: Make code unconditional.
39759         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39760         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39762 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39764         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39765         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39767         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39768         Define mkstemp64 as an alias.
39769         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39770         Define mkstemps64 as an alias.
39771         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39772         Define mkostemp64 as an alias.
39773         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39774         Define mkostemps64 as an alias.
39775         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39776         Conditionalize body on this.
39777         * misc/mkostemp64.c: Likewise.
39778         * misc/mkostemps64.c: Likewise.
39779         * misc/mkstemps64.c: Likewise.
39780         * sysdeps/wordsize-64/mkstemp64.c: File removed.
39781         * sysdeps/wordsize-64/mkostemp64.c: File removed.
39782         * sysdeps/wordsize-64/mkostemp.c: File removed.
39783         * sysdeps/wordsize-64/mkstemp.c: File removed.
39784         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39785         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39787         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39789         [BZ #14138]
39790         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39791         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39792         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39793         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39795         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39796         compat_symbol macros from <shlib-compat.h> rather than the underlying
39797         default_symbol_version and symbol_version macros, so that DEFAULT
39798         lines in shlib-versions are respected.
39799         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39801 2012-08-01  Florian Weimer  <fweimer@redhat.com>
39803         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39804         Declare with warn_unused_result.
39805         (setgid, setregid, setegid, setresgid): Likewise.
39806         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39807         Likewise.
39808         * WUR-REPORT: Remove set*id functions.
39810 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
39812         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39814 2012-07-31  Roland McGrath  <roland@hack.frob.com>
39816         [BZ #10191]
39817         * include/sys/socket.h (__libc_accept, __libc_accept4):
39818         Add attribute_hidden.
39819         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39821         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39822         use of PTR_MANGLE.
39823         * inet/getnetgrent_r.c (setup): Likewise.
39825         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39827 2012-07-31  David S. Miller  <davem@davemloft.net>
39829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39831 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39833         [BZ #13629]
39834         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39835         value between 1.0 and 2.0 and smaller part has absolute value less
39836         than 1.0.
39837         * math/s_clog10.c (__clog10): Likewise.
39838         * math/s_clog10f.c (__clog10f): Likewise.
39839         * math/s_clog10l.c (__clog10l): Likewise.
39840         * math/s_clogf.c (__clogf): Likewise.
39841         * math/s_clogl.c (__clogl): Likewise.
39842         * math/libm-test.inc (clog_test): Add more tests.
39843         (clog10_test): Likewise.
39844         * sysdeps/i386/fpu/libm-test-ulps: Update.
39845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39847 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39849         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39850         Exit with zero in case no suitable GID is found, and write a
39851         message to standard error.
39853 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39855         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39856         rather than to 1.
39857         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39858         (MAXPATHLEN): Removed.
39859         (NOGROUP, NODEV): New macros.
39860         (setbit, clrbit, isset, isclr): New macros.
39861         (howmany, roundup, powerof2): New macros.
39862         (DEV_BSIZE): New macro.
39864         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39865         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39867         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39868         definition on [!__NO_LONG_DOUBLE_MATH].
39870         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39871         PTR_MANGLE and PTR_DEMANGLE.
39873         * socket/accept4.c (accept4): Rename to __libc_accept4.
39874         Define accept4 as a weak alias.
39876         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39877         on [_DIRENT_HAVE_D_TYPE].
39878         * io/ftw.c (ftw_dir): Likewise.
39880         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39882         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39884         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39885         Use the BSD numbers rather than the arbitrary ones we had.
39886         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39887         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39888         (SIGXCPU, SIGXFSZ): New macros.
39889         (_NSIG): Now 32.
39891         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39892         initializer on [_LIBC_REENTRANT].
39894         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39895         definitions inside [_POSIX_MAPPED_FILES].
39897         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39899         * dirent/opendir.c: Include <fcntl.h>.
39901         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39902         (__libc_getspecific): Likewise.
39903         (__libc_key_create): Likewise.
39905         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39906         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39907         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39908         (tmpfile64): Define as alias.
39909         * sysdeps/wordsize-64/tmpfile.c: File removed.
39910         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39911         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39912         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39914         * stdio-common/vfscanf.c: Include <stdbool.h>.
39915         * nss/makedb.c: Likewise.
39916         * stdio-common/_i18n_number.h: Likewise.
39917         * argp/argp-help.c: Likewise.
39918         * posix/wordexp.c: Likewise.
39919         * sysdeps/posix/spawni.c: Likewise.
39920         * nss/nss_files/files-initgroups.c: Likewise.
39921         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39922         * nss/nss_files/files-initgroups.c: Likewise.
39923         * nss/nss_db/db-netgrp.c: Likewise.
39924         * nss/nss_db/db-initgroups.c: Likewise.
39925         * io/fchmodat.c: Include <sys/stat.h>.
39927         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39928         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39930         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39931         [HAVE_MMAP].
39933         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39934         Add multiple inclusion protection.
39936 2012-07-27  David S. Miller  <davem@davemloft.net>
39938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39940 2012-07-27  Gary Benson  <gbenson@redhat.com>
39942         [BZ #14298]
39943         * elf/rtld.c: Include <stap-probe.h>.
39944         (dl_main): Added static probes "init_start" and "init_complete".
39945         * elf/dl-load.c: Include <stap-probe.h>.
39946         (lose): Take new parameter "nsid".
39947         Added static probe "map_failed".
39948         (_dl_map_object_from_fd): Pass namespace id to lose.
39949         Added static probe "map_start".
39950         (open_verify): Pass namespace id to lose.
39951         * elf/dl-open.c: Include <stap-probe.h>.
39952         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39953         and "reloc_complete".
39954         * elf/dl-close.c: Include <stap-probe.h>.
39955         (_dl_close_worker): Added static probes "unmap_start" and
39956         "unmap_complete".
39957         * elf/rtld-debugger-interface.txt: New file documenting the above.
39959 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39961         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39962         rather than a string variable.
39963         * sunrpc/rpc_main.c (h_output): Likewise.
39964         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39966 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39968         * inet/check_native.c: New file.
39970 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39972         [BZ #13629]
39973         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39974         if larger part has absolute value 1.0.
39975         * math/s_clog10.c (__clog10): Likewise.
39976         * math/s_clog10f.c (__clog10f): Likewise.
39977         * math/s_clog10l.c (__clog10l): Likewise.
39978         * math/s_clogf.c (__clogf): Likewise.
39979         * math/s_clogl.c (__clogl): Likewise.
39980         * math/libm-test.inc (clog_test): Add more tests.
39981         (clog10_test): Likewise.
39982         * sysdeps/i386/fpu/libm-test-ulps: Update.
39983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39985         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39986         (pltexit): Likewise.
39987         (La_regs): Likewise.
39988         (La_retval): Likewise.
39989         (int_retval): Likewise.
39990         Update #error for removed macros to refer only to definitions in
39991         tst-audit.h.
39992         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39993         macro.
39994         (pltexit): Likewise.
39995         (La_regs): Likewise.
39996         (La_retval): Likewise.
39997         (int_retval): Likewise.
39998         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39999         macro.
40000         (pltexit): Likewise.
40001         (La_regs): Likewise.
40002         (La_retval): Likewise.
40003         (int_retval): Likewise.
40004         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40005         macro.
40006         (pltexit): Likewise.
40007         (La_regs): Likewise.
40008         (La_retval): Likewise.
40009         (int_retval): Likewise.
40010         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40011         macro.
40012         (pltexit): Likewise.
40013         (La_regs): Likewise.
40014         (La_retval): Likewise.
40015         (int_retval): Likewise.
40016         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40017         macro.
40018         (pltexit): Likewise.
40019         (La_regs): Likewise.
40020         (La_retval): Likewise.
40021         (int_retval): Likewise.
40022         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40023         macro.
40024         (pltexit): Likewise.
40025         (La_regs): Likewise.
40026         (La_retval): Likewise.
40027         (int_retval): Likewise.
40028         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40029         macro definitions in tst-audit.h.
40030         * sysdeps/i386/tst-audit.h: New file.
40031         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40032         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40033         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40034         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40035         * sysdeps/sh/tst-audit.h: Likewise.
40036         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40037         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40038         * sysdeps/x86_64/tst-audit.h: Likewise.
40040 2012-07-26  Andreas Jaeger  <aj@suse.de>
40042         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40043         ptrace.
40045         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40046         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40047         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40048         PTRACE_O_MASK.
40049         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40050         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40051         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40053         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40054         value.
40056         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40057         _sigsys.
40058         (si_call_addr, si_syscall, si_arch): Define new macro.
40059         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40060         _sigsys.
40061         (si_call_addr, si_syscall, si_arch): Define new marcro.
40062         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40063         _sigsys.
40064         (si_call_addr, si_syscall, si_arch): Define new macro.
40065         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40066         _sigsys.
40067         (si_call_addr, si_syscall, si_arch): Define new macro.
40069 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40071         [BZ #13717]
40072         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40073         Change to 2.4.21 where previously 2.4.1.
40074         * sysdeps/unix/sysv/linux/configure: Regenerated.
40075         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40076         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40077         Linux kernel version.
40078         (__ASSUME_STD_AUXV): Remove.
40079         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40080         kernel version.
40081         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40082         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40083         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40084         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40085         (__ASSUME_NETLINK_SUPPORT): Likewise.
40086         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40087         (__no_netlink_support): Remove conditional definition.
40088         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40089         Remove.
40090         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40091         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40092         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40093         (if_nameindex_ioctl): Remove.
40094         (if_nameindex_netlink): Do not handle __no_netlink_support.
40095         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40096         code.
40097         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40098         Remove conditional code.
40099         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40100         code.
40101         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40102         unconditional.
40103         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40104         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40105         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40106         Remove.
40107         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40108         [!__ASSUME_STD_AUXV]: Remove conditional code.
40109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40110         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40111         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40113         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40114         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40115         code.
40116         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40118         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40119         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40120         conditional code.
40121         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40123         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40124         code.
40125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40126         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40127         conditional code.
40128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40129         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40130         code unconditional.
40131         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40132         conditional code.
40133         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40134         unconditional.
40135         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40136         conditional code.
40137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40138         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40139         unconditional.
40140         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40141         conditional code.
40142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40143         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40144         code unconditional.
40145         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40146         conditional code.
40147         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40148         unconditional.
40149         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40150         conditional code.
40151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40152         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40153         code unconditional.
40154         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40155         conditional code.
40156         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40157         unconditional.
40158         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40159         conditional code.
40161 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40163         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40164         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40165         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40166         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40167         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40168         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40169         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40170         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40171         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40172         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40173         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40174         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40175         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40176         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40177         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40178         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40179         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40180         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40181         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40182         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40183         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40184         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40185         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40187 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40189         * Versions.def: Add GLIBC_2.17.
40190         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40191         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40192         Introduce __libc_secure_getenv.
40193         * stdlib/Versions (2.17): Add secure_getenv
40194         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40195         * stdlib/secure-getenv.c: Rename __secure_getenv to
40196         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40197         symbol __secure_getenv for GLIBC_2.0.
40198         * stdlib/tst-secure-getenv.c: New.
40199         * stdlib/Makefile (tests): Add testcase.
40200         * manual/startup.texi (Environment Access): Document
40201         secure_getenv.
40202         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40203         __libc_secure_getenv.
40204         * inet/ruserpass.c (ruserpass): Likewise.
40205         * malloc/mtrace.c (mtrace): Likewise.
40206         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40207         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40208         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40209         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40210         HAVE_SECURE_GETENV.
40211         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40212         __secure_getenv to __libc_secure_getenv.
40213         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40215         Likewise.
40216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40217         Likewise.
40218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40220         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40226 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40228         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40229         (struct La_i86_retval): Likewise.
40230         (struct La_x86_64_regs): Likewise.
40231         (struct La_x86_64_retval): Likewise.
40232         (struct La_x32_regs): Likewise.
40233         (struct La_x32_retval): Likewise.
40234         (struct La_ppc32_regs): Likewise.
40235         (struct La_ppc32_retval): Likewise.
40236         (struct La_ppc64_regs): Likewise.
40237         (struct La_ppc64_retval): Likewise.
40238         (struct La_sh_regs): Likewise.
40239         (struct La_sh_retval): Likewise.
40240         (struct La_s390_32_regs): Likewise.
40241         (struct La_s390_32_retval): Likewise.
40242         (struct La_s390_64_regs): Likewise.
40243         (struct La_s390_64_retval): Likewise.
40244         (struct La_sparc32_regs): Likewise.
40245         (struct La_sparc32_retval): Likewise.
40246         (struct La_sparc64_regs): Likewise.
40247         (struct La_sparc64_retval): Likewise.
40248         (struct audit_ifaces): Remove architecture-specific pltenter and
40249         pltexit members.
40250         * sysdeps/i386/ldsodefs.h: New file.
40251         * sysdeps/powerpc/ldsodefs.h: Likewise.
40252         * sysdeps/s390/ldsodefs.h: Likewise.
40253         * sysdeps/sh/ldsodefs.h: Likewise.
40254         * sysdeps/sparc/ldsodefs.h: Likewise.
40255         * sysdeps/x86_64/ldsodefs.h: Likewise.
40257 2012-07-25  Marek Polacek  <polacek@redhat.com>
40259         [BZ #6808]
40260         * math/libm-test.inc (yn_test): Add another test.
40261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40262         to ERANGE when the result is +-Inf.
40263         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40264         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40265         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40266         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40268 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40270         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40271         equal to 0.
40272         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40273         clock_t.
40274         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40276 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40278         * configure.in <sysdeps resolving>: Correct printing
40279         Implies_before.
40280         * configure: Regenerate.
40282 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40284         * math/w_ilogb.c: Include <limits.h>.
40285         * math/w_ilogbl.c: Likewise.
40287 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40289         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40290         va_copy.  Document allowing for unavailable va_copy only as
40291         pre-C99 compatibility.
40292         * manual/string.texi (Copying and Concatenation): Use va_copy
40293         instead of __va_copy in concat example.
40295 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40297         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40298         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40299         it if not null.
40301         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40302         with O_NOLINK passed to __file_name_lookup.
40304         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40305         with O_NOLINK passed to __file_name_lookup.
40307         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40308         negative N or less than NGIDS.
40310         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40311         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40312         enough.  Use memcpy instead of strncpy.
40314 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40316         * elf/Makefile (check-data): Remove.
40317         (localplt.data): New vpath directive.
40318         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40319         instead of $(check-data).
40320         * scripts/data/localplt-generic.data: Move to ...
40321         * sysdeps/generic/localplt.data: ... here.
40322         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40323         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40324         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40326         ... here.
40327         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40329         ... here.
40330         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40332         ... here.
40333         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40335         ... here.
40336         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40338         ... here.
40339         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40341         ... here.
40343 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40345         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40346         PPC32 and PPC64 files.
40347         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40348         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40350 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40352         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40353         __makecontext_ret to ...
40354         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40355         ... here and call exit if uc_link is NULL.  New file.
40356         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40357         __makecontext_ret.S.
40358         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40359         __makecontext_ret to ...
40360         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40361         ... here and call exit if uc_link is NULL.  New file.
40362         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40363         __makecontext_ret.S.
40365 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40367         * elf/elf.h (R_390_IRELATIVE): New definition.
40368         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40369         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40370         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40371         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40372         (elf_machine_lazy_rel): Likewise.
40373         * sysdeps/s390/dl-irel.h: New file.
40374         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40375         * sysdeps/s390/s390-64/memset.S: New asm code.
40376         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40377         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40378         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40379         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40380         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40381         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40382         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40383         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40384         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40385         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40386         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40387         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40388         * sysdeps/s390/s390-32/memset.S: New asm code.
40389         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40391 2012-07-17  Marek Polacek  <polacek@redhat.com>
40393         [BZ #14349]
40394         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40395         * sysdeps/s390/s390-64/configure.in: Likewise.
40396         * sysdeps/sparc/configure.in: Likewise.
40397         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40398         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40399         * sysdeps/i386/configure.in: Likewise.
40400         * sysdeps/x86_64/configure.in: Likewise.
40401         * sysdeps/sh/configure.in: Likewise.
40402         * sysdeps/s390/s390-32/configure: Regenerated.
40403         * sysdeps/s390/s390-64/configure: Likewise.
40404         * sysdeps/x86_64/configure: Likewise.
40405         * sysdeps/sh/configure: Likewise.
40406         * sysdeps/powerpc/powerpc64/configure: Likewise.
40407         * sysdeps/powerpc/powerpc32/configure: Likewise.
40408         * sysdeps/sparc/configure: Likwise.
40409         * sysdeps/i386/configure: Likewise.
40411         * elf/dl-open.c: Comment fixes.
40413 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40415         * Makefile [CXX] (check-data): Remove.
40416         [CXX] (c++-types.data): New vpath directive.
40417         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40418         vpath.  Do not allow for C++ type data being missing.
40419         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40420         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40421         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40422         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40423         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40424         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40425         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40427         ... here.
40428         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40430         ... here.
40431         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40433         ... here.
40434         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40436         ... here.
40437         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40439         ... here.
40440         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40442         ... here.
40443         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40445         ... here.
40446         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40449         * elf/tls-macros.h (TLS_LE): Move architecture-specific
40450         definitions to architecture-specific files.
40451         (TLS_IE): Likewise.
40452         (TLS_LD): Likewise.
40453         (TLS_GD): Likewise.
40454         * sysdeps/i386/tls-macros.h: New file.
40455         * sysdeps/powerpc/tls-macros.h: Likewise.
40456         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40457         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40458         * sysdeps/sh/tls-macros.h: Likewise.
40459         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40460         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40461         * sysdeps/x86_64/tls-macros.h: Likewise.
40463 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40465         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40466         zero value for regular exit case.
40468         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40469         (__start_context): Preserve zero value for regular exit case.
40471 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40472             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40474         * manual/setjmp.texi (setcontext): Clarify normal process
40475         termination when uc_link is the null pointer.
40476         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40477         exit call.
40479 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
40481         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40482         preprocessor.  Test for each exception mask separately.
40484 2012-07-16  Andreas Jaeger  <aj@suse.de>
40486         * po/ru.po: Update from translation team.
40488 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
40490         * conform/data/string.h-data (NULL): Use macro-constant.  Require
40491         equal to 0.
40492         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40493         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40494         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40495         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40496         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40498 2012-07-13  Andreas Jaeger  <aj@suse.de>
40500         * po/fr.po: Update from translation team.
40502 2012-07-12  Marek Polacek  <polacek@redhat.com>
40504         [BZ #14173]
40505         * math/libm-test.inc (yn_test): Add test for BZ #14173.
40506         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40507         loop condition.
40509 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
40511         [BZ #13717]
40512         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40513         Change to 2.4.1 where previously 2.4.0.
40514         * sysdeps/unix/sysv/linux/configure: Regenerated.
40515         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40516         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40517         version.
40518         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40519         (__ASSUME_AT_CLKTCK): Remove.
40520         (__ASSUME_AT_PAGESIZE): Likewise.
40521         (__ASSUME_AT_XID): Likewise.
40522         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40523         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40524         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40525         unconditionally.
40526         (HAVE_AUX_PAGESIZE): Likewise.
40527         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40528         [__ASSUME_AT_CLKTCK]: Make code unconditional.
40529         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40531 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
40533         [BZ #14307]
40534         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40535         the temporary buffer used to invoke __gethostbyname2_r,
40536         __gethostbyaddr_r and gethostbyname4_r to make room for struct
40537         host_data / struct gaih_addrtuple.
40538         * resolv/nss_dns/dns-host.c (global scope): Move definition of
40539         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40540         header file nss/nsswitch.h.
40541         * nss/nsswitch.h (global scope): Add definition of implementation
40542         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40543         resolv/nss_dns/dns-host.c).
40545 2012-07-11  Andreas Jaeger  <aj@suse.de>
40547         * po/fr.po: Update from translation team.
40549         * po/sv.po: Update from translation team
40550         * po/fr.po: Another update from translation team.
40552 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40554         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40555         for subnormals or multiply small sinh result by itself.
40556         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40559 2012-07-11  David S. Miller  <davem@davemloft.net>
40561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40563 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
40565         [BZ #14347]
40566         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40567         (INTERNAL_MARK): Shift it here.
40569 2012-07-10  Marek Polacek  <polacek@redhat.com>
40571         [BZ #14151]
40572         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
40573         libc_cv_asm_global_directive with .globl.
40574         * configure: Regenerated.
40575         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40576         with .globl.
40577         * sysdeps/i386/configure: Regenerated.
40578         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40579         with .globl.
40580         * sysdeps/x86_64/configure: Regenerated.
40581         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40582         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40583         * elf/tst-unique2mod2.c: Likewise.
40584         * elf/tst-unique2mod1.c: Likewise.
40585         * elf/tst-unique1mod2.c: Likewise.
40586         * elf/tst-unique1mod1.c: Likewise.
40587         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40588         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40589         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40590         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40591         * sysdeps/mach/sysdep.h: Likewise.
40592         * sysdeps/i386/sysdep.h: Likewise.
40593         * sysdeps/i386/i386-mcount.S: Likewise.
40594         * sysdeps/x86_64/_mcount.S: Likewise.
40595         * sysdeps/x86_64/sysdep.h: Likewise.
40596         * sysdeps/sh/_mcount.S: Likewise.
40597         * sysdeps/sh/sysdep.h: Likewise.
40598         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40599         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40600         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40601         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40602         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40603         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40604         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40605         * locale/localeinfo.h: Likewise.
40606         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40607         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40609 2012-07-09  Roland McGrath  <roland@hack.frob.com>
40611         [BZ #14336]
40612         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40613         system".
40614         * manual/message.texi (The Uniforum approach): Likewise.
40615         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40616         (glibc iconv Implementation): Likewise.
40618 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
40620         [BZ #14337]
40621         * math/s_clog.c (__clog): Avoid scaling a value down where that
40622         could result in underflow.
40623         * math/s_clog10.c (__clog10): Likewise.
40624         * math/s_clog10f.c (__clog10f): Likewise.
40625         * math/s_clog10l.c (__clog10l): Likewise.
40626         * math/s_clogf.c (__clogf): Likewise.
40627         * math/s_clogl.c (__clogl): Likewise.
40628         * math/libm-test.inc (clog_test): Add more tests.
40629         (clog10_test): Likewise.
40630         * sysdeps/i386/fpu/libm-test-ulps: Update.
40631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40633 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
40635         [BZ #14283]
40636         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40637         by 7 not 8 to examine high bit of fractional part.
40639         [BZ #14042]
40640         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40641         for call to __mcount_internal.
40642         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40643         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40644         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40646 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
40648         [BZ #14154]
40649         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40650         approximation for values within 0x1p-13f of an odd multiple of
40651         pi/4.
40652         * math/libm-test.inc (tan_test): Do not allow spurious underflow
40653         exception.  Add more tests.
40654         * sysdeps/i386/fpu/libm-test-ulps: Update.
40656         [BZ #6778]
40657         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40658         inputs and return -1 for them.  Do not check for +Inf in case not
40659         reachable for +Inf.
40660         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40661         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40662         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40663         and return -1 for them.  Do not check for +Inf in case not
40664         reachable for +Inf.
40665         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40666         define.
40667         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40668         and return -1 for them.  Do not check for +Inf in case not
40669         reachable for +Inf.
40670         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
40671         spurious underflow.
40672         * sysdeps/i386/fpu/libm-test-ulps: Update.
40673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40675 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
40677         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40679 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
40681         [BZ #14157]
40682         [BZ #14331]
40683         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40684         could result in spurious underflow.  Scale down values above
40685         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40686         * math/s_csqrtf.c (__csqrtf): Likewise.
40687         * math/s_csqrtl.c (__csqrtl): Likewise.
40688         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
40689         spurious underflow.
40690         * sysdeps/i386/fpu/libm-test-ulps: Update.
40691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40693 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
40695         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40696         xopen-msg.sed.
40697         * catgets/xopen-msg.awk: New file.
40698         * catgets/xopen-msg.sed: Removed.
40700         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40701         po2text.sed.
40702         * intl/po2test.awk: New file.
40703         * intl/po2test.sed: Removed.
40705 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
40707         [BZ #14328]
40708         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40709         or multiply small sinh result by itself.
40710         * math/s_ctanf.c (__ctanf): Likewise.
40711         * math/s_ctanh.c (__ctanh): Likewise.
40712         * math/s_ctanhf.c (__ctanhf): Likewise.
40713         * math/s_ctanhl.c (__ctanhl): Likewise.
40714         * math/s_ctanl.c (__ctanl): Likewise.
40715         * math/libm-test.inc (ctan_test_tonearest): New function.
40716         (ctan_test_towardzero): Likewise.
40717         (ctan_test_downward): Likewise.
40718         (ctan_test_upward): Likewise.
40719         (ctanh_test_tonearest): Likewise.
40720         (ctanh_test_towardzero): Likewise.
40721         (ctanh_test_downward): Likewise.
40722         (ctanh_test_upward): Likewise.
40723         (main): Call these new functions.
40724         * sysdeps/i386/fpu/libm-test-ulps: Update.
40725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40727 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
40729         * .gitignore: Delete /ports entry.
40731 2012-07-03  Andreas Jaeger  <aj@suse.de>
40733         * po/bg.po: Update from translation team.
40734         * po/cs.po: Likewise.
40735         * po/de.po: Likewise.
40736         * po/hr.po: Likewise.
40737         * po/nl.pl: Likewise.
40738         * po/pl.po: Likewise.
40739         * po/vi.po: Likewise.
40741 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
40743         * Makeconfig [!+link] (+link-before-libc): New variable.
40744         [!+link] (+link-after-libc): Likewise.
40745         [!+link] (+link-tests): Likewise.
40746         [!+link] (+link): Define in terms of $(+link-before-libc) and
40747         $(+link-after-libc).
40748         [!+link-static] (+link-static-before-libc): New variable.
40749         [!+link-static] (+link-static-after-libc): Likewise.
40750         [!+link-static] (+link-static-tests): Likewise.
40751         [!+link-static] (+link-static): Define in terms of
40752         $(+link-static-before-libc) and $(+link-static-after-libc).
40753         [build-shared] (link-libc-before-gnulib): New variable.
40754         [build-shared] (link-libc-tests): Likewise.
40755         [build-shared] (link-libc): Define in terms of
40756         $(link-libc-before-gnulib).
40757         [!build-shared] (link-libc-tests): New variable.
40758         (link-libc-static-tests): New variable.
40759         [!gnulib] (gnulib-arch): New variable.
40760         [!gnulib] (gnulib-tests): Likewise.
40761         [!gnulib] (static-gnulib-arch): Likewise.
40762         [!gnulib] (static-gnulib-tests): Likewise.
40763         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
40764         Define with "=" instead of ":=".
40765         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
40766         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
40767         * Rules (binaries-all-notests): New variable.
40768         (binaries-all-tests): Likewise.
40769         (binaries-static-notests): Likewise.
40770         (binaries-static-tests): Likewise.
40771         (binaries-all): Define using $(binaries-all-notests) and
40772         $(binaries-all-tests).
40773         (binaries-static): Define using $(binaries-static-notests) and
40774         $(binaries-static-tests).
40775         (binaries-shared-tests): New variable.
40776         (binaries-shared-notests): Likewise.
40777         (binaries-shared): Remove variable.
40778         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40779         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40780         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40781         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40782         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40783         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40784         * elf/Makefile (sln-modules): New variable.
40785         (extra-objs): Add $(sln-modules:=.o).
40786         (ldconfig-modules): Add static-stubs.
40787         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40788         * elf/static-stubs.c: New file.
40790         [BZ #14283]
40791         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40792         by 7 not 8 to examine high bit of fractional part.  Use volatile
40793         variables when splitting into final array of floats if
40794         __FLT_EVAL_METHOD__ != 0.
40795         * math/libm-test.inc (cos_test): Add another test.
40796         (sin_test): Likewise.
40797         * sysdeps/i386/fpu/libm-test-ulps: Update.
40799         [BZ #14273]
40800         * math/libm-test.inc (cosh_test): Add more tests.
40802         * version.h (RELEASE): Set to "development".
40803         (VERSION): Set to "2.16.90".
40805 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
40807         * NEWS: Update copyright. Remove last-updated date.
40808         Mention math library bug fixes and timezone data changes.
40809         * README: Mention GNU/Hurd, x32, and HPPA support status.
40811 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
40813         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40815 2012-06-27  Andreas Jaeger  <aj@suse.de>
40817         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40819 2012-06-25  Andreas Jaeger  <aj@suse.de>
40821         * sysdeps/s390/fpu/libm-test-ulps: Update.
40823 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40824             Thomas Schwinge  <thomas@codesourcery.com>
40826         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40827         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40828         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40829         fanotify_mark.
40831 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40833         * sysdeps/mach/start.c: Remove file.
40834         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40835         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40836         * sysdeps/sh/init-first.c: Likewise.
40838         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40839         registers for frame unwinding purposes, add CFI directives.
40840         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40841         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40842         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40843         Likewise.
40845         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40846         __fortify_fail returning.
40847         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40849         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40850         sysdeps/sh/____longjmp_chk.S.
40851         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40852         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40853         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40854         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40856         * sysdeps/sh/abort-instr.h: New file.
40857         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40858         process in case exit returns.
40860         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40861         initialize the GOT register before use.
40863         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40864         calculation of ARGC > 4.
40866         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40867         meaningful names to some local labels.
40869 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40870             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40872         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40873         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40874         (__arch_compare_and_exchange_val_16_acq): Likewise.
40875         (__arch_compare_and_exchange_val_32_acq): Likewise.
40876         (atomic_exchange_and_add): Fix gUSA sequence.
40877         (atomic_add): Likewise.
40878         (atomic_add_negative): Likewise.
40879         (atomic_add_zero): Likewise.
40880         (atomic_bit_test_set): Likewise.
40882 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40884         [BZ #13579]
40885         * include/link.h (struct link_map): Add l_free_initfini.
40886         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40887         l_initfini.
40888         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40889         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40890         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40891         set.
40893 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40895         * configure.in: Use AC_LANG_SOURCE.
40896         * configure: Regenerate.
40898 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40900         * configure.in (libc_cv_localstatedir): New substituted variable.
40901         * configure: Regenerated.
40902         * config.make.in (localstatedir): New variable, substituted from
40903         libc_cv_localstatedir.
40904         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40905         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40906         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40907         * sysdeps/gnu/configure: Regenerated.
40909 2012-06-21  Jeff Law  <law@redhat.com>
40911         [BZ #14277]
40912         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40913         free.  Simplify list management for _LIBC case.
40915 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40917         [BZ #14273]
40918         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40919         Clear sign bit of 64-bit integer value before comparing against
40920         overflow value.
40922         * sysdeps/mach/configure: Regenerated.
40924 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40926         [BZ #14278]
40927         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40929 2012-06-21  Jeff Law  <law@redhat.com>
40931         [BZ #13882]
40932         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40933         uint16_t for elements in the "seen" array to avoid char overflows.
40934         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40935         * elf/dl-open.c (dl_open_worker): Likewise.
40937 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40939         * scripts/list-sources.sh: Scan PORTS for translations.
40940         * po/libc.pot: Regenerated.
40942 2012-06-21  Andreas Jaeger  <aj@suse.de>
40944         [BZ #12194]
40945         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40946         warning.
40947         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40948         * bits/byteswap-16.h (__bswap_16): Likewise.
40949         * bits/byteswap.h (__bswap_constant_16): Likewise.
40951 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40953         [BZ #14117]
40954         * sysdeps/i386/fpu_control.h: Removed.
40955         * sysdeps/x86_64/fpu_control.h: Moved to ...
40956         * sysdeps/x86/fpu_control.h: Here.
40958         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40959         (_FPU_SETCW): Likewise.
40961 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40963         [BZ #14117]
40964         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40965         * sysdeps/x86/fpu/bits/mathinline.h: This.
40966         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40968         [BZ #14050]
40969         [BZ #14117]
40970         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40971         functions if __x86_64__ is defined.
40973 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40975         * string/endian.h: Add !__ASSEMBLER__ condition for including
40976         conversion interfaces.
40978 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40980         [BZ #14241]
40981         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40982         of ABS(x) in calculating zero to negative powers other than odd
40983         integers.
40984         * math/libm-test.inc (pow_test): Add more tests.
40986 2012-06-15  Andreas Jaeger  <aj@suse.de>
40988         * manual/contrib.texi (Contributors): Update entry of Liubov
40989         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40990         Machado Filho.
40992 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40994         * string/string.h: Add __wur to GNU version of strerror_r.
40996 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40998         [BZ #14229]
40999         * string/Makefile (tests): Add tst-strtok_r.
41000         * string/tst-strtok_r.c: New file.
41001         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41002         RAX_LP/RDX_LP on SAVE_PTR.
41004 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41006         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41008 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41010         * libm_test.inc (csqrt_test): Allow more spurious underflow
41011         exceptions.
41012         (j0_test): Likewise.
41013         (j1_test): Likewise.
41014         (y0_test): Likewise.
41015         (y1_test): Likewise.
41017 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41019         * po/Makefile (libc.pot): Use UTF-8 charset.
41021 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41023         [BZ #14210]
41024         Suppress sign-conversion warning from FD_SET.
41025         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41026         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41027         not unsigned long int.
41028         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41030 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41032         [BZ #14050]
41033         [BZ #14117]
41034         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41035         __extern_always_inline instead of __extern_inline.
41036         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41037         (__signbit): Likewise.
41038         (__signbitl): Support C++ namespace.
41039         (lrintf): New inline function.
41040         (lrint): Likewise.
41041         (llrintf): Likewise.
41042         (llrint): Likewise.
41043         (fmaxf): Likewise.
41044         (fmax): Likewise.
41045         (fminf): Likewise.
41046         (fmin): Likewise.
41047         (rint): Likewise.
41048         (rintf): Likewise.
41049         (ceil): Likewise.
41050         (ceilf): Likewise.
41051         (floor): Likewise.
41052         (floorf): Likewise.
41053         (nearbyint): Likewise.
41054         (nearbyintf): Likewise.
41056 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41058         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41059         non-default versions.
41061 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41063         [BZ #14218]
41064         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41066 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41068         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41069         (FE_UPWARD, FE_DOWNWARD): Don't define.
41070         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41071         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41073         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41074         reading it.
41075         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41076         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41078 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41080         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41081         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41082         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41083         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41085 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41087         [BZ #14117]
41088         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41089         * sysdeps/i386/fpu/Implies: New file.
41090         * sysdeps/x86_64/fpu/Implies: Likewise.
41091         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41092         * sysdeps/x86/fpu/bits/fenv.h: This.
41094         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41095         __SSE_MATH__.
41097 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41099         [BZ #14134]
41100         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41101         character 0xffff that matches the last element of the
41102         conversion table.
41104 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41106         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41107         fmodl commit.
41109 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41111         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41112         values higher than 25.6283.
41114 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41116         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41117         subnormal exponent extraction and add some __builtin_expect.
41118         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41119         Fix for subnormal mantissa calculation.
41121 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41123         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41124         cpu2 is -1 and errno is not ENOSYS.
41126 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41128         [BZ #14117]
41129         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41130         * sysdeps/x86/bits/string.h: This.
41131         * sysdeps/x86_64/bits/string.h: Removed.
41133         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41134         if not compiling for x86-64, but compiling for >= i486.
41136         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41137         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41139         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41140         New macro from Linux kernel 3.4.0.
41141         (FP_XSTATE_MAGIC2): Likewise.
41142         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41143         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41144         (struct _fpx_sw_bytes): New struct.
41145         (struct _xsave_hdr): Likewise.
41146         (struct _ymmh_state): Likewise.
41147         (struct _xstate): Likewise.
41149         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41150         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41151         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41152         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41153         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41154         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41156         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41157         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41158         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41159         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41160         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41161         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41163 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41165         [BZ #13743]
41166         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41167         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41168         (sysdep_headers): Include sys/platform/ppc.h.
41169         * sysdeps/powerpc/test-gettimebase.c: Test for
41170         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41171         * manual/Makefile (appendices): Include platform.texi.
41172         * manual/contrib.texi (Contributors): Update @node pointers.
41173         * manual/maint.texi (Maintenance): Likewise.
41174         (Platform): New node.
41175         * manual/platform.texi: New file.  Document the new features.
41177 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41178             Jakub Jelinek  <jakub@redhat.com>
41180         [BZ #14188]
41181         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41182         where __builtin_expect is unavailable.
41184 2012-06-03  David S. Miller  <davem@davemloft.net>
41186         * stdlib/longlong.h: Updated from GCC.
41188 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41190         [BZ #14042]
41191         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41192         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41193         __mcount_internal.
41194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41195         (GLIBC_2.16): Likewise.
41197 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41199         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41201 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41204         (default-abi): New variable.
41205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41206         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41207         variable.
41208         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41209         Likewise.
41210         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41211         Likewise.
41212         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41213         Likewise.
41215         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41216         definition.  Document in comment.
41218 2012-06-01  David S. Miller  <davem@davemloft.net>
41220         * stdlib/longlong.h: Updated from GCC.
41222 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41224         [BZ #14117]
41225         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41226         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41227         sys/debugreg.h sys/io.h here.
41228         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41229         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41230         sys/io.h.
41231         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41232         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41233         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41234         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41235         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41236         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41238         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41239         Define only if __x86_64__ is defined.
41241 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41243         [BZ #14048]
41244         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41245         Use int64_t for variable i.
41246         * math/libm-test.inc (fmod_test): Add more tests.
41248         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41249         z computation is not scheduled after fetestexcept.
41250         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41251         Use math_force_eval instead of asm to ensure calculation scheduled
41252         before exception test.
41253         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41254         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41256 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41259         computation is not scheduled after fetestexcept.
41261 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41263         [BZ #14117]
41264         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41265         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41267 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41269         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41270         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41272 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41274         [BZ #14117]
41275         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41276         <bits/wordsize.h>.
41277         (__WCHAR_MIN): Support __WORDSIZE == 64.
41278         (__WCHAR_MAX): Likewise.
41280         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41281         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41283         [BZ #14183]
41284         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41285         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41287         [BZ #14117]
41288         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41289         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41291         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41292         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41294         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41295         Defined to 1 if __x86_64__ isn't defined.
41296         (_STAT_VER_LINUX_OLD): New.
41297         (st_atime): Remove duplicate.
41298         (st_mtime): Likewise.
41299         (st_ctime): Likewise.
41301 2012-05-31  David S. Miller  <davem@davemloft.net>
41303         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41304         entries.
41306 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41308         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41309         gen-libm-test.pl.
41311         [BZ #14132]
41312         * elf/dl-reloc.c: Include <_itoa.h>.
41313         (_dl_reloc_bad_type): Remove use of INTUSE.
41314         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41315         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41316         * stdio-common/psiginfo.c (psiginfo): Likewise.
41317         * stdio-common/psignal.c (psignal): Likewise.
41318         * string/strsignal.c (strsignal): Likewise.
41319         * include/signal.h (_sys_siglist): Declare hidden proto.
41320         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41321         INTVARDEF with libc_hidden_data_def.
41322         * stdio-common/itoa-udigits.c: Likewise.
41323         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41324         (_itoa_lower_digits_internal): Remove declaration.
41325         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41326         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41327         (_sys_sigabbrev_internal): Remove aliases.
41328         (_sys_siglist): Define hidden alias.
41330 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41333         bits/sysctl.h.
41335 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41337         [BZ #14117]
41338         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41339         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41341         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41342         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41343         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41344         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41345         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41346         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41348         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41349         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41350         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41352         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41353         with __addr.
41354         (insw): Likewise.
41355         (insl): Likewise.
41356         (outsb): Likewise.
41357         (outsw): Likewise.
41358         (outsl): Likewise.
41360         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41361         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41362         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41364         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41365         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41366         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41367         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41368         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41369         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41371         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41372         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41374         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41375         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41377         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41378         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41379         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41381         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41382         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41383         to ...
41384         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41386         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41387         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41388         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41390         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41391         for x86-64.
41392         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41394 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41396         * math/math.h (M_El): Use two more decimal places.
41397         (M_LOG2El): Likewise.
41398         (M_LOG10El): Likewise.
41399         (M_LN2l): Likewise.
41400         (M_LN10l): Likewise.
41401         (M_PIl): Likewise.
41402         (M_PI_2l): Likewise.
41403         (M_PI_4l): Likewise.
41404         (M_1_PIl): Likewise.
41405         (M_2_PIl): Likewise.
41406         (M_2_SQRTPIl): Likewise.
41407         (M_SQRT2l): Likewise.
41408         (M_SQRT1_2l): Likewise.
41410 2012-05-31  David S. Miller  <davem@davemloft.net>
41412         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41413         values between float registers.
41414         * sysdeps/sparc/sparc64/memset.S: Likewise.
41415         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41417 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41419         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41420         -D_FORTIFY_SOURCE=1.
41421         (CPPFLAGS-tst-longjmp_chk.c): Define.
41422         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41423         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41424         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41425         CFLAGS-tst-wchar-h.c.
41427 2012-05-31  Marek Polacek  <polacek@redhat.com>
41429         [BZ #14132]
41430         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41431         __endmntent_internal): Remove declaration.
41432         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41433         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41434         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41436 2012-05-30  David S. Miller  <davem@davemloft.net>
41438         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41439         (___Q_simulate_exceptions): Use real FP ops rather than writing
41440         into the %fsr.
41441         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41442         Likewise.
41444 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41446         [BZ #14117]
41447         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41448         * sysdeps/x86/bits/xtitypes.h: This.
41450         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41451         * sysdeps/x86/bits/wordsize.h: This.
41453         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41454         * sysdeps/x86/bits/huge_vall.h: This.
41456         * sysdeps/i386/bits/select.h: Removed.
41457         * sysdeps/x86_64/bits/select.h: Renamed to ...
41458         * sysdeps/x86/bits/select.h: This.
41460         * sysdeps/i386/bits/setjmp.h: Removed.
41461         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41462         * sysdeps/x86/bits/setjmp.h: This.
41464         * sysdeps/i386/bits/mathdef.h: Removed.
41465         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41466         * sysdeps/x86/bits/mathdef.h: This.
41468 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
41470         [BZ #14132]
41471         * include/sys/socket.h (__connect_internal)
41472         (__libc_sa_len_internal): Remove declaration.
41473         (__connect, __libc_sa_len): Declare hidden_proto.
41474         (SA_LEN): Remove use of INTUSE.
41475         * socket/connect.c: Add libc_hidden_def.
41476         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41477         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41478         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41479         alias.
41480         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41481         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41482         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41483         of adding _internal alias.
41485 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41487         [BZ #14117]
41488         * sysdeps/i386/bits/link.h: Removed.
41489         * sysdeps/i386/bits/linkmap.h: Likewise.
41490         * sysdeps/x86_64/bits/link.h: Renamed to ...
41491         * sysdeps/x86/bits/link.h: This.
41492         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41493         * sysdeps/x86/bits/linkmap.h: This.
41495         * sysdeps/i386/bits/endian.h: Removed.
41496         * sysdeps/x86_64/bits/endian.h: Renamed to ...
41497         * sysdeps/x86/bits/endian.h: This.
41499         * sysdeps/i386/bits/byteswap.h: Removed.
41500         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41501         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41502         * sysdeps/x86/bits/byteswap.h: This.
41503         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41504         * sysdeps/x86/bits/byteswap-16.h: This.
41505         * sysdeps/i386/Implies: Add x86.
41506         * sysdeps/x86_64/Implies: Likewise.
41508 2012-05-30  David S. Miller  <davem@davemloft.net>
41510         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41511         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41512         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41513         (FP_TRAPPING_EXCEPTIONS): Define.
41514         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41515         (FP_TRAPPING_EXCEPTIONS): Define.
41516         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41517         subnormals only when inexact has been signalled or underflow
41518         exceptions are enabled.
41519         (_FP_PACK_CANONICAL): Likewise.
41521 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41523         [BZ #14183]
41524         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41525         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41527 2012-05-30  Richard Henderson  <rth@twiddle.net>
41529         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41530         with #ifndef NOT_IN_libc.
41532         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
41533         marked to avoid plt entry.
41535 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41537         [BZ #14112]
41538         * Makeconfig (default-abi): New macro.
41539         (abi-includes): Likewise.
41540         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
41541         $(abi-$(default-abi)-lib-soname) for soname if defined.
41542         ($(common-objpfx)gnu/lib-names.stmp): Generate from
41543         abi-variants.
41544         * Makefile (installed-stubs): Likewise.
41545         * include/stubs-biarch.h: Removed.
41546         * scripts/lib-names.awk: Only handle one library at a time.
41547         * scripts/soversions.awk: Remove WORDSIZE support.
41548         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41549         entries.
41550         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41551         Removed.
41552         (syscall-list-default-condition): Likewise.
41553         (syscall-list-default-condition): Likewise.
41554         (syscall-list-includes): Likewise.
41555         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41556         syscall-list-* with abi-*.  Handle undefined abi-variants.
41557         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41558         * sysdeps/unix/sysv/linux/i386/Implies: New file.
41559         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41560         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41561         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41562         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41563         Removed.
41564         (syscall-list-32-options): Likewise.
41565         (syscall-list-32-condition): Likewise.
41566         (syscall-list-64-options): Likewise.
41567         (syscall-list-64-condition): Likewise.
41568         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41569         macro.
41570         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41571         Renamed to ...
41572         (abi-*): This.
41573         (abi-64-ld-soname): New macro.
41574         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41575         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41576         Renamed to ...
41577         (abi-*): This.
41578         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41579         * sysdeps/x86_64/x32/shlib-versions: Likewise.
41581 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
41583         * sysdeps/unix/sysv/linux/kernel-features.h
41584         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41585         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41586         include <kernel-features.h>.
41587         [!__NR_ftruncate64]: Remove conditional code.
41588         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41589         [__NR_ftruncate64]: Make code unconditional.
41590         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41591         * sysdeps/unix/sysv/linux/truncate64.c: Do not
41592         include <kernel-features.h>.
41593         [!__NR_ftruncate64]: Remove conditional code.
41594         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41595         [__NR_ftruncate64]: Make code unconditional.
41596         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41598         include <kernel-features.h>.
41599         [!__NR_ftruncate64]: Remove conditional code.
41600         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41601         [__NR_ftruncate64]: Make code unconditional.
41602         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41604         include <kernel-features.h>.
41605         [!__NR_ftruncate64]: Remove conditional code.
41606         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41607         [__NR_ftruncate64]: Make code unconditional.
41608         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41610         * configure.in (libc_cv_fpie): Weaken to a compile test using
41611         LIBC_TRY_CC_OPTION.
41612         * configure: Regenerated.
41614 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41620         Refreshed.
41621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41627         Refreshed.
41629 2012-05-27  David S. Miller  <davem@davemloft.net>
41631         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41632         (___Q_zero): New.
41633         (__Q_simulate_exceptions): Return void.  Change to simulate
41634         exceptions by writing into the %fsr.
41635         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41636         (__Qp_handle_exceptions): Likewise.
41637         (numbers): Delete.
41638         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41639         __Qp_handle_exceptions.
41640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41641         __Qp_handle_exceptions.
41642         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41643         as unused and give dummy FP_RND_NEAREST initializer.
41644         (FP_INHIBIT_RESULTS): Define.
41645         (___Q_simulate_exceptions): Update declaration.
41646         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41647         formatting.
41648         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41649         as unused and give dummy FP_RND_NEAREST initializer.
41650         (__Qp_handle_exceptions): Update declaration.
41651         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41652         formatting.
41654 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
41656         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41657         the temporary FPU control word.
41658         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41659         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41660         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41661         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41662         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41663         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41664         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41665         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41666         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41667         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41668         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41670 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41672         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41673         fields.
41675 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
41677         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41678         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41679         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41680         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41681         Likewise.
41682         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41683         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41684         Likewise.
41686 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
41688         * po/h.po: Update from translation team.
41690 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
41692         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41694         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41695         handling of denormals.
41696         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41697         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41698         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41699         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41700         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41701         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41703         Likewise.
41705 2012-05-26  Marek Polacek  <polacek@redhat.com>
41707         [BZ #14152]
41708         * math/libm-test.inc (fma_test): Don't always expect underflow
41709         exception.
41711 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41713         [BZ #12416]
41714         * elf/tst-execstack.c: Include stackinfo.h.
41715         (do_test): Adjust test case to ensure that pthread_getattr_np
41716         behaviour remains the same after marking stack executable.
41718 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41720         * sysdeps/unix/sysv/linux/kernel-features.h
41721         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41722         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41723         kernel-features.h.
41724         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41725         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41726         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41727         kernel-features.h.
41728         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41729         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41731 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
41733         * configure.in: Define the default includes to being none.
41734         * configure: Regenerated.
41736 2012-05-25  Roland McGrath  <roland@hack.frob.com>
41738         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41739         * sysdeps/x86_64/setjmp.S: Likewise.
41740         * sysdeps/i386/bsd-setjmp.S: Likewise.
41741         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41742         * sysdeps/i386/setjmp.S: Likewise.
41743         * sysdeps/i386/__longjmp.S: Likewise.
41744         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41745         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41747         * include/stap-probe.h: New file.
41748         * configure.in: Handle --enable-systemtap.
41749         * configure: Regenerated.
41750         * config.h.in (USE_STAP_PROBE): New #undef.
41751         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41752         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41753         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41755 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41757         [BZ #13717]
41758         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41759         to 2.4.0 where earlier.
41760         * sysdeps/unix/sysv/linux/configure: Regenerated.
41761         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41762         <kernel-features.h>.
41763         [__ASSUME_32BITUIDS]: Make code unconditional.
41764         [!__ASSUME_32BITUIDS]: Remove conditional code.
41765         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41766         <kernel-features.h>.
41767         [__ASSUME_32BITUIDS]: Make code unconditional.
41768         [!__ASSUME_32BITUIDS]: Remove conditional code.
41769         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41770         [__ASSUME_32BITUIDS]: Make code unconditional.
41771         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41772         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41773         <kernel-features.h>.
41774         [__ASSUME_32BITUIDS]: Make code unconditional.
41775         [!__ASSUME_32BITUIDS]: Remove conditional code.
41776         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41777         <kernel-features.h>.
41778         [__ASSUME_32BITUIDS]: Make code unconditional.
41779         [!__ASSUME_32BITUIDS]: Remove conditional code.
41780         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41781         <kernel-features.h>.
41782         [__ASSUME_32BITUIDS]: Make code unconditional.
41783         [!__ASSUME_32BITUIDS]: Remove conditional code.
41784         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41785         <kernel-features.h>.
41786         [__ASSUME_32BITUIDS]: Make code unconditional.
41787         [!__ASSUME_32BITUIDS]: Remove conditional code.
41788         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41789         <kernel-features.h>.
41790         [__ASSUME_32BITUIDS]: Make code unconditional.
41791         [!__ASSUME_32BITUIDS]: Remove conditional code.
41792         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41793         <kernel-features.h>.
41794         [__ASSUME_32BITUIDS]: Make code unconditional.
41795         [!__ASSUME_32BITUIDS]: Remove conditional code.
41796         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41797         <kernel-features.h>.
41798         [__ASSUME_32BITUIDS]: Make code unconditional.
41799         [!__ASSUME_32BITUIDS]: Remove conditional code.
41800         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41801         <kernel-features.h>.
41802         [__ASSUME_32BITUIDS]: Make code unconditional.
41803         [!__ASSUME_32BITUIDS]: Remove conditional code.
41804         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41805         <kernel-features.h>.
41806         [__ASSUME_32BITUIDS]: Make code unconditional.
41807         [!__ASSUME_32BITUIDS]: Remove conditional code.
41808         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41809         <kernel-features.h>.
41810         [__ASSUME_32BITUIDS]: Make code unconditional.
41811         [!__ASSUME_32BITUIDS]: Remove conditional code.
41812         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41813         <kernel-features.h>.
41814         [__NR_setresgid] (__setresgid): Do not declare.
41815         [__ASSUME_32BITUIDS]: Make code unconditional.
41816         [!__ASSUME_32BITUIDS]: Remove conditional code.
41817         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41818         <kernel-features.h>.
41819         [__NR_setresuid] (__setresuid): Do not declare.
41820         [__ASSUME_32BITUIDS]: Make code unconditional.
41821         [!__ASSUME_32BITUIDS]: Remove conditional code.
41822         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41823         <kernel-features.h>.
41824         [__ASSUME_32BITUIDS]: Make code unconditional.
41825         [!__ASSUME_32BITUIDS]: Remove conditional code.
41826         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41827         <kernel-features.h>.
41828         [__ASSUME_32BITUIDS]: Make code unconditional.
41829         [!__ASSUME_32BITUIDS]: Remove conditional code.
41830         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41831         <kernel-features.h>.
41832         [__ASSUME_32BITUIDS]: Make code unconditional.
41833         [!__ASSUME_32BITUIDS]: Remove conditional code.
41834         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41835         <kernel-features.h>.
41836         [__ASSUME_32BITUIDS]: Make code unconditional.
41837         [!__ASSUME_32BITUIDS]: Remove conditional code.
41838         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41839         <kernel-features.h>.
41840         [__ASSUME_32BITUIDS]: Make code unconditional.
41841         [!__ASSUME_32BITUIDS]: Remove conditional code.
41842         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41843         <kernel-features.h>.
41844         [__ASSUME_32BITUIDS]: Make code unconditional.
41845         [!__ASSUME_32BITUIDS]: Remove conditional code.
41846         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41847         <kernel-features.h>.
41848         [__ASSUME_32BITUIDS]: Make code unconditional.
41849         [!__ASSUME_32BITUIDS]: Remove conditional code.
41850         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41851         <kernel-features.h>.
41852         [__ASSUME_32BITUIDS]: Make code unconditional.
41853         [!__ASSUME_32BITUIDS]: Remove conditional code.
41854         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41855         <kernel-features.h>.
41856         [__ASSUME_32BITUIDS]: Make code unconditional.
41857         [!__ASSUME_32BITUIDS]: Remove conditional code.
41858         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41859         <kernel-features.h>.
41860         [__ASSUME_32BITUIDS]: Make code unconditional.
41861         [!__ASSUME_32BITUIDS]: Remove conditional code.
41862         * sysdeps/unix/sysv/linux/kernel-features.h
41863         (__ASSUME_SETRESUID_SYSCALL): Remove.
41864         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41865         (__ASSUME_32BITUIDS): Likewise.
41866         (__ASSUME_LDT_WORKS): Likewise.
41867         (__ASSUME_O_DIRECTORY): Likewise.
41868         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41869         architecture but not kernel version.
41870         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41871         (__ASSUME_MMAP2_SYSCALL): Likewise.
41872         (__ASSUME_STAT64_SYSCALL): Likewise.
41873         (__ASSUME_IPC64): Likewise.
41874         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41875         <kernel-features.h>.
41876         [__ASSUME_32BITUIDS]: Make code unconditional.
41877         [!__ASSUME_32BITUIDS]: Remove conditional code.
41878         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41879         <kernel-features.h>.
41880         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41881         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41882         132096]: Remove conditional code.
41883         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41884         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
41893         <kernel-features.h>.
41894         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41895         unconditional.
41896         (__setresgid): Do not declare.
41897         [__ASSUME_32BITUIDS]: Make code unconditional.
41898         [!__ASSUME_32BITUIDS]: Remove conditional code.
41899         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41900         <kernel-features.h>.
41901         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41902         unconditional.
41903         (__setresuid): Do not declare.
41904         [__ASSUME_32BITUIDS]: Make code unconditional.
41905         [!__ASSUME_32BITUIDS]: Remove conditional code.
41906         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41907         <kernel-features.h>.
41908         [__ASSUME_32BITUIDS]: Make code unconditional.
41909         [!__ASSUME_32BITUIDS]: Remove conditional code.
41910         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41911         <kernel-features.h>.
41912         [__ASSUME_32BITUIDS]: Make code unconditional.
41913         [!__ASSUME_32BITUIDS]: Remove conditional code.
41915 2012-05-25  Richard Henderson  <rth@twiddle.net>
41917         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41918         dl_hwcap to ifunc resolver.
41919         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41920         elf_ifunc_invoke.
41921         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41922         dl_hwcap to ifunc resolver.
41923         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41925 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41927         [BZ #14153]
41928         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41929         for |x| <= 2**-26, not 2**-57.
41930         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41931         exception.
41933 2012-05-24  Jeff Law  <law@redhat.com>
41935         * stdio-common/Makefile (tests): Add bug25.
41936         * stdio-common/bug25.c: New test.
41938 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41940         [BZ #13576]
41941         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41942         multiple of MALLOC_ALIGNMENT in size.
41943         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41945 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41947         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41948         Require >= 256.
41949         (FILENAME_MAX): Use macro-int-constant.
41950         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41951         (_IOFBF): Use macro-int-constant.
41952         (_IOLBF): Likewise.
41953         (_IONBF): Likewise.
41954         (SEEK_CUR): Likewise.
41955         (SEEK_END): Likewise.
41956         (SEEK_SET): Likewise.
41957         (TMP_MAX): Likewise.
41958         (EOF): Use macro-int-constant.  Require < 0.
41959         (NULL): Use macro-constant.  Require == 0.
41960         (stdin): Require type to be FILE *.
41961         (stdout): Likewise.
41962         (stderr): Likewise.
41963         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41964         macro-int-constant.
41965         (EXIT_SUCCESS): Likewise.
41966         (NULL): Use macro-constant.  Require == 0.
41967         (RAND_MAX): Use macro-int-constant.
41968         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41969         [C99-based standards] (strtof): Require function.
41970         [C99-based standards] (strtold): Likewise.
41971         [C99-based standards] (strtoll): Likewise.
41972         [C99-based standards] (strtoull): Likewise.
41973         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41974         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41975         [ISO || ISO99 || ISO11] (math.h): Likewise.
41976         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41977         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41978         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41980 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41982         [BZ #14132]
41983         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41984         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41985         * intl/dgettext.c (DCGETTEXT): Likewise.
41986         * intl/gettext.c (DCGETTEXT): Likewise.
41987         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41988         * posix/regex_internal.h (gettext): Likewise.
41989         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41990         Remove declaration.
41991         * include/argz.h (__argz_count_internal)
41992         (__argz_stringify_internal): Remove declaration.
41993         (__argz_count, __argz_stringify): Declare hidden proto.
41994         * intl/dcgettext.c: Remove use of INTDEF.
41995         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41996         * string/argz-stringify.c: Likewise.
41997         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41998         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41999         Declare hidden proto.
42000         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42001         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42002         Declare hidden proto.
42003         * include/stdio.h (__asprintf_internal): Don't declare.
42004         (__asprintf): Don't define as macro.  Declare hidden proto.
42005         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42006         (__fsetlocking): Declare hidden proto.
42007         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42008         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42009         hidden proto.
42010         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42011         (_IO_setlinebuf): Remove use of INTUSE.
42012         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42013         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42014         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42015         Remove declaration.
42016         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42017         (_IO_do_flush): Remove use of INTUSE.
42018         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42019         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42020         (_IO_adjust_column, _IO_least_wmarker)
42021         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42022         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42023         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42024         (_IO_default_doallocate, _IO_wdefault_doallocate)
42025         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42026         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42027         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42028         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42029         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42030         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42031         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42032         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42033         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42034         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42035         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42036         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42037         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42038         proto.
42039         (_IO_flush_all_internal, _IO_adjust_column_internal)
42040         (_IO_default_uflow_internal, _IO_default_finish_internal)
42041         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42042         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42043         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42044         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42045         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42046         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42047         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42048         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42049         (_IO_file_close_internal, _IO_file_close_it_internal)
42050         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42051         (_IO_file_init_internal, _IO_file_attach_internal)
42052         (_IO_file_fopen_internal, _IO_file_read_internal)
42053         (_IO_file_sync_internal, _IO_file_seek_internal)
42054         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42055         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42056         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42057         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42058         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42059         (_IO_list_all_internal, _IO_link_in_internal)
42060         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42061         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42062         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42063         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42064         (_IO_do_write_internal, _IO_padn_internal)
42065         (_IO_getline_info_internal, _IO_getline_internal)
42066         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42067         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42068         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42069         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42070         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42071         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42072         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42073         with libc_hidden_ver, remove use of INTUSE.
42074         * libio/genops.c: Likewise.
42075         * libio/freopen.c: Likewise.
42076         * libio/freopen64.c: Likewise.
42077         * libio/iofclose.c: Likewise.
42078         * libio/iofdopen.c: Likewise.
42079         * libio/iofflush.c: Likewise.
42080         * libio/iofflush_u.c: Likewise.
42081         * libio/iofgets.c: Likewise.
42082         * libio/iofgets_u.c: Likewise.
42083         * libio/iofopen.c: Likewise.
42084         * libio/iofopncook.c: Likewise.
42085         * libio/iofread.c: Likewise.
42086         * libio/iofread_u.c: Likewise.
42087         * libio/ioftell.c: Likewise.
42088         * libio/iofwrite.c: Likewise.
42089         * libio/iogetline.c: Likewise.
42090         * libio/iogets.c: Likewise.
42091         * libio/iogetwline.c: Likewise.
42092         * libio/iopadn.c: Likewise.
42093         * libio/iopopen.c: Likewise.
42094         * libio/ioseekoff.c: Likewise.
42095         * libio/ioseekpos.c: Likewise.
42096         * libio/iosetbuffer.c: Likewise.
42097         * libio/iosetvbuf.c: Likewise.
42098         * libio/ioungetc.c: Likewise.
42099         * libio/ioungetwc.c: Likewise.
42100         * libio/iovdprintf.c: Likewise.
42101         * libio/iovsprintf.c: Likewise.
42102         * libio/iovsscanf.c: Likewise.
42103         * libio/memstream.c: Likewise.
42104         * libio/obprintf.c: Likewise.
42105         * libio/oldfileops.c: Likewise.
42106         * libio/oldiofclose.c: Likewise.
42107         * libio/oldiofdopen.c: Likewise.
42108         * libio/oldiofopen.c: Likewise.
42109         * libio/oldiopopen.c: Likewise.
42110         * libio/oldstdfiles.c: Likewise.
42111         * libio/putc.c: Likewise.
42112         * libio/setbuf.c: Likewise.
42113         * libio/setlinebuf.c: Likewise.
42114         * libio/stdfiles.c: Likewise.
42115         * libio/strops.c: Likewise.
42116         * libio/vasprintf.c: Likewise.
42117         * libio/vscanf.c: Likewise.
42118         * libio/vsnprintf.c: Likewise.
42119         * libio/vswprintf.c: Likewise.
42120         * libio/wfiledoalloc.c: Likewise.
42121         * libio/wfileops.c: Likewise.
42122         * libio/wgenops.c: Likewise.
42123         * libio/wmemstream.c: Likewise.
42124         * libio/wstrops.c: Likewise.
42125         * libio/__fpurge.c: Likewise.
42126         * libio/__fsetlocking.c: Likewise.
42127         * assert/assert.c: Likewise.
42128         * debug/fgets_chk.c: Likewise.
42129         * debug/fgets_u_chk.c: Likewise.
42130         * debug/fread_chk.c: Likewise.
42131         * debug/fread_u_chk.c: Likewise.
42132         * debug/gets_chk.c: Likewise.
42133         * debug/obprintf_chk.c: Likewise.
42134         * debug/vasprintf_chk.c: Likewise.
42135         * debug/vdprintf_chk.c: Likewise.
42136         * debug/vsnprintf_chk.c: Likewise.
42137         * debug/vsprintf_chk.c: Likewise.
42138         * malloc/mtrace.c: Likewise.
42139         * misc/error.c: Likewise.
42140         * misc/syslog.c: Likewise.
42141         * stdio-common/asprintf.c: Likewise.
42142         * stdio-common/fxprintf.c: Likewise.
42143         * stdio-common/getw.c: Likewise.
42144         * stdio-common/isoc99_fscanf.c: Likewise.
42145         * stdio-common/isoc99_scanf.c: Likewise.
42146         * stdio-common/isoc99_vfscanf.c: Likewise.
42147         * stdio-common/isoc99_vscanf.c: Likewise.
42148         * stdio-common/isoc99_vsscanf.c: Likewise.
42149         * stdio-common/printf-prs.c: Likewise.
42150         * stdio-common/printf_fp.c: Likewise.
42151         * stdio-common/printf_fphex.c: Likewise.
42152         * stdio-common/printf_size.c: Likewise.
42153         * stdio-common/putw.c: Likewise.
42154         * stdio-common/scanf.c: Likewise.
42155         * stdio-common/sprintf.c: Likewise.
42156         * stdio-common/tmpfile.c: Likewise.
42157         * stdio-common/vfprintf.c: Likewise.
42158         * stdio-common/vfscanf.c: Likewise.
42159         * stdlib/strfmon_l.c: Likewise.
42160         * sunrpc/openchild.c: Likewise.
42161         * sunrpc/xdr_stdio.c: Likewise.
42162         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42163         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42165 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42167         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42169         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42170         in the third column, to generate for the shared library an IFUNC
42171         that uses _dl_vdso_vsym.
42172         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42173         * Makeconfig (object-suffixes-noshared): New variable.
42175         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42176         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42177         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42178         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42180         [BZ #14132]
42181         * include/sys/time.h (__gettimeofday): Remove macro.
42182         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42183         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42184         Remove INTDEF.
42185         (__gettimeofday): Add libc_hidden_def.
42186         (gettimeofday): Add libc_hidden_weak.
42187         * sysdeps/mach/gettimeofday.c: Likewise.
42188         * sysdeps/posix/gettimeofday.c: Likewise.
42189         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42190         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42191         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42192         (__gettimeofday_internal): Remove strong_alias.
42193         (__gettimeofday): Add libc_hidden_def.
42194         (gettimeofday): Add libc_hidden_weak.
42195         * sysdeps/unix/syscalls.list (gettimeofday):
42196         Remove __gettimeofday_internal alias.
42198 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42199             H.J. Lu  <hongjiu.lu@intel.com>
42201         [BZ #12495]
42202         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42203         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42204         (largebin_index_32_big): New.
42205         (largebin_index): Use it for 16-byte alignment.
42206         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42207         correction with front_misalign.
42209 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42213         Likewise.
42214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42215         Likewise.
42216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42217         Likewise.
42218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42219         Likewise.
42220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42221         Likewise.
42222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42223         Likewise.
42224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42225         Likewise.
42226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42227         Likewise.
42228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42229         Likewise.
42230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42231         Likewise.
42232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42233         Likewise.
42234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42235         Likewise.
42237         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42238         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42240 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42242         [BZ #10846]
42243         [BZ #14036]
42244         * math/libm-test.inc (exp_test): Add test from bug 14036.
42245         (pow_test): Add test from bug 10846.
42247         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42248         and other flags.
42249         (special_function): Do not include flags in test name.
42250         (parse_args): Likewise.
42251         * sysdeps/i386/fpu/libm-test-ulps: Update.
42252         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42253         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42254         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42257         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42258         exceptions.
42259         * math/libm-test.inc ("Philosophy"): Update comment about
42260         exception testing.
42261         (UNDERFLOW_EXCEPTION): New macro.
42262         (UNDERFLOW_EXCEPTION_OK): Likewise.
42263         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42264         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42265         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42266         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42267         (INVALID_EXCEPTION_OK): Update value.
42268         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42269         (OVERFLOW_EXCEPTION_OK): Likewise.
42270         (IGNORE_ZERO_INF_SIGN): Likewise.
42271         (test_exceptions): Handle underflow exceptions.
42272         (acos_test): Update for underflow exception expectations.
42273         (cexp_test): Likewise.
42274         (clog_test): Likewise.
42275         (clog10_test): Likewise.
42276         (csqrt_test): Likewise.
42277         (ctan_test): Likewise.
42278         (ctanh_test): Likewise.
42279         (exp_test): Likewise.
42280         (exp10_test): Likewise.
42281         (exp2_test): Likewise.
42282         (expm1_test): Likewise.
42283         (fma_test): Likewise.
42284         (j0_test): Likewise.
42285         (jn_test): Likewise.
42286         (nexttoward_test): Likewise.
42287         (pow_test): Likewise.
42288         (scalbn_test): Likewise.
42289         (scalbln_test): Likewise.
42290         (tan_test): Likewise.
42291         (y1_test): Likewise.
42292         * sysdeps/i386/fpu/libm-test-ulps: Update.
42293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42295 2012-05-23  David S. Miller  <davem@davemloft.net>
42297         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42298         (__libc_sigaction): Remove unused local variables.
42300 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42302         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42304 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42306         mktime: avoid signed integer overflow
42307         * time/mktime.c (__mktime_internal): Do not mishandle the case
42308         where diff == INT_MIN.
42310         mktime: simplify computation of average
42311         * time/mktime.c (ranged_convert): Use new time_t_avg function
42312         instead of rolling our own (probably-slower) code.
42314         mktime: do not assume signed right shift propagates sign bit
42315         * time/mktime.c (isdst_differ): New static function.
42316         (__mktime_internal): No need to normalize tm_isdst now.
42317         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42318         tm_isdst values.
42320         mktime: merge another wrapv change from gnulib
42321         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42322         from some compilers.
42324         mktime: remove incorrect attempt at unusual arithmetics
42325         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42326         The code didn't really work on such machines anyway.
42327         (TYPE_MINIMUM): Assume two's complement.
42328         (twos_complement_arithmetic): Verify that long_int and time_t
42329         are two's complement (or unsigned, in the latter case).
42331         mktime: check signed shifts on long_int and time_t, too
42332         * time/mktime.c (SHR): Check that shifts work as desired
42333         on the types long_int and time_t too, as SHR is used on
42334         such types.
42336         mktime: do not assume 'long' is wide enough
42337         * time/mktime.c (verify): Move decl up.
42338         (long_int): New type.
42339         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42340         to remove assumption in the code that 'long' is wide enough to
42341         store year values.  This assumption is not true on x32 and on
42342         some non-glibc platforms.
42344         mktime: merge wrapv change from gnulib
42345         * time/mktime.c (WRAPV): New macro.
42346         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42347         (guess_time_tm, __mktime_internal): Do not assume that signed
42348         integer overflow wraps around; modern compilers generate code
42349         where this assumption is no longer valid.
42351 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42353         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42354         Replace "jmp L(pseudo_end)" with "ret".
42355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42356         Likewise.
42358 2012-05-23  Andreas Jaeger  <aj@suse.de>
42360         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42361         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42363 2012-05-23  Andreas Jaeger  <aj@suse.de>
42364             Maximilian Attems  <max@stro.at>
42366         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42367         New macros.
42369 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42371         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42372         code so that pseudo_end is just ret and the stack pointer is
42373         correct also for static library in error case.
42375 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42377         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42378         move to syscalls.list.
42379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42384         * manual/install.texi (Running make install): Do not mention Linux
42385         kernel version for which pt_chown is not needed.
42386         (Linux): Do not mention problems with nscd with 2.0 kernels.
42387         * INSTALL: Regenerated.
42389 2012-05-23  Andreas Jaeger  <aj@suse.de>
42391         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42392         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42393         macro.
42394         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42395         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42396         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42397         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42398         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42399         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42400         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42401         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42402         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42403         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42404         * sysdeps/unix/sysv/linux/bits/in.h
42405         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42407 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42409         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42410         (PREPARE_VERSION): Just use assert instead, it will be elided
42411         under [NDEBUG] anyway.
42413 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42415         * sysdeps/unix/sysv/linux/Makefile: Include
42416         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42417         (sysdep_routines): Remove sysctl.
42418         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42419         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42420         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42421         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42422         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42424 2012-05-22  Andreas Jaeger  <aj@suse.de>
42426         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42427         that pseudo_end is just ret and the stack pointer is correct also
42428         for static library in error case.
42430 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42432         [BZ #14122]
42433         * nss/nsswitch.c (defconfig_entries): New variable.
42434         (__nss_database_lookup): Don't leak defconfig entries.
42435         (nss_parse_service_list): Don't leak on error paths.
42436         (free_database_entries): New function.
42437         (free_defconfig): New function.
42438         (free_mem): Move common code to free_database_entries.
42440 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42442         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42443         Add arch_prctl.
42444         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42446         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42447         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42448         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42449         New macro.
42450         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42451         (INTERNAL_SYSCALL_TYPES): Likewise.
42452         (LOAD_ARGS_TYPES_[1-6]): Likewise.
42453         (LOAD_REGS_TYPES_[1-6]): Likewise.
42454         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42455         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42457 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42459         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42460         copysignl for GLIBC_2_0.
42461         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42462         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42463         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42464         logbl for GLIBC_2_0.
42465         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42466         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42468 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42470         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42471         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42473         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42474         Use "neg %eax".
42476         * time/mktime.c: Update copyright years.
42478 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
42480         mktime: merge comment-quoting-style change from gnulib
42481         * time/mktime.c: Quote 'like this' in comments.
42482         The GNU coding standards suggest that we no longer quote `like this',
42483         as "`" and "'" are typically rendered asymmetrically nowadays.
42484         The typical gnulib style is to quote 'like this' when quoting
42485         code, and "like this" when quoting English.
42487         * time/mktime.c (compile-command): Add "-I.".
42489         mktime: merge mktime-internal.h change from gnulib
42490         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42492         mktime: merge time_r change from gnulib
42493         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42495         mktime: merge DEBUG change from gnulib
42496         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42497         case system <time.h> has a #define.
42499         mktime: merge <sys/types.h> change from gnulib
42500         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42501         since <time.t> is now guaranteed to define time_t.
42503         mktime: merge HAVE_CONFIG_H change from gnulib
42504         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42506 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42509         Use "neg %eax".
42511         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42512         __rlim_t cast.
42513         (struct rusage): Use anonymous union to pad each field to
42514         __syscall_slong_t.
42516 2012-05-21  David S. Miller  <davem@davemloft.net>
42518         * Makefules (o-iterator): Remove .s cases.
42519         (compile-command.s): Delete.
42520         (COMPILE.s): Delete.
42521         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42523 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
42525         * configure.in (libc_cv_predef_stack_protector): Only consider
42526         "foobar" and "__stack_chk_fail" lines in libc_undefs.
42527         * configure: Regenerated.
42529 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42532         New macro.  Use R*LP on int and pointer.
42533         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42534         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42535         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42536         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42538         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42539         [__WORDSIZE_TIME64_COMPAT32] instead of
42540         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42541         (struct utmp): Likewise.
42542         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42543         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42544         Renamed to ...
42545         (__WORDSIZE_TIME64_COMPAT32): This.
42546         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42547         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42548         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42549         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42550         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42551         (__WORDSIZE_TIME64_COMPAT32): New macro.
42553 2012-05-21  Andreas Jaeger  <aj@suse.de>
42555         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42556         only if [SHARED]. Add prototype for __wcschr_ia32.
42558 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42560         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42561         of %rbp unmolested in the jmp_buf while mangling the low bits.
42562         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42563         unmolested high bits of %rbp while demangling the low bits.
42564         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42566 2012-05-21  Andreas Jaeger  <aj@suse.de>
42568         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42569         * sunrpc/svc_simple.c: Use it for registerrpc.
42570         * sunrpc/xcrypt.c: Use it for passwd2des.
42572         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42574 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42576         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42577         Don't define if [__SYSCALL_WORDSIZE != 32].
42578         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42579         New macro.
42581 2012-05-21  Bruno Haible  <bruno@clisp.org>
42582             Andreas Jaeger  <aj@suse.de>
42584         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42585         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42586         inptr and inend for must_buffer_ch.
42587         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42588         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42589         * stdio-common/Makefile (tests): Remove bug15.
42590         (bug15-ENV): Remove macro.
42591         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42592         anymore.
42594 2012-05-19  Andreas Jaeger  <aj@suse.de>
42595             Roland McGrath  <roland@hack.frob.com>
42597         * manual/contrib.texi: Completely rewritten. It contains now an
42598         alphabetical list of contributors and their contributions.
42600 2012-05-21  Richard Henderson  <rth@twiddle.net>
42602         * misc/getauxval.c (__getauxval): Use unsigned long int.
42603         * misc/sys/auxv.h: Include <sys/cdefs.h>.
42604         (getauxval): Use unsigned long int.
42606 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42608         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42610 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42612         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42613         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42614         __alignof__ (long double).
42616 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42620 2012-05-20  Richard Henderson  <rth@twiddle.net>
42622         * misc/getauxval.c: New file.
42623         * misc/sys/auxv.h: New file.
42624         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42625         (routines): Add getauxval.
42626         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42627         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42628         * elf/dl-sysdep.c (_dl_auxv): Remove.
42629         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42630         * elf/dl-support.c (_dl_auxv): New variable.
42631         (_dl_aux_init): Initialize it.
42632         * manual/startup.texi (Auxiliary Vector): New node.
42633         * sysdeps/generic/bits/hwcap.h: New file.
42634         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42635         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
42636         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42637         * sysdeps/sparc/sysdep.h: ... here.  Include it.
42638         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42639         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42641         Update.
42642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42645         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42651 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42655 2012-05-19  David S. Miller  <davem@davemloft.net>
42657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42659 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42661         [BZ #14123]
42662         * math/s_ccosh.c: Include <float.h>
42663         (__ccosh): Avoid internal overflow calculating sinh and cosh
42664         values before multiplying by sin and cos values.
42665         * math/s_ccoshf.c: Likewise.
42666         * math/s_ccoshl.c: Likewise.
42667         * math/s_csin.c: Likewise.
42668         * math/s_csinf.c: Likewise.
42669         * math/s_csinl.c: Likewise.
42670         * math/s_csinh.c: Likewise.
42671         * math/s_csinhf.c: Likewise.
42672         * math/s_csinhl.c: Likewise.
42673         * math/libm-test.inc (ccos_test): Add more tests.
42674         (ccosh_test): Likewise.
42675         (csin_test): Likewise.
42676         (csinh_test): Likewise.
42677         * sysdeps/i386/fpu/libm-test-ulps: Update.
42678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42680 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
42682         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42683         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42685         * sysdeps/x86_64/x32/_itoa.h: Add comment.
42687 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42689         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42690         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42691         * sysdeps/powerpc/soft-fp/Versions: Likewise.
42692         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42693         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42694         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42695         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42696         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42697         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42698         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42699         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42700         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42701         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42702         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42703         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42704         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42705         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42706         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42707         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42708         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42709         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42710         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42711         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42712         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42713         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42714         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42715         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42716         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42717         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42718         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42719         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42721 2012-05-18  Andreas Jaeger  <aj@suse.de>
42723         * csu/.gitignore: Delete.
42725 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42727         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42728         (timex): Use __syscall_slong_t.
42730 2012-05-18  Andreas Jaeger  <aj@suse.de>
42731             Carlos O'Donell  <carlos_odonell@mentor.com>
42733         * manual/install.texi (Configuring and compiling): Update
42734         description about files modified in the source directory.
42735         * INSTALL: Regenerated.
42737 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42739         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42740         value.  Use "or" to set return value to -1.
42741         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42742         negate return value.
42744 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42746         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42747         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42748         failure if the compiler has Graphite support disabled.
42749         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42750         Likewise.
42751         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42752         (CFLAGS-memmove.c): Likewise.
42753         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42754         Likewise.
42756 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42758         * sysdeps/x86_64/x32/_itoa.h: New file.
42760         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42761         getdents system call only if kernel and user dirents have the
42762         same d_ino and d_off.
42764         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42765         LLONG_MAX != LONG_MAX.
42766         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42767         (_fitoa_word): Likewise.
42769         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42770         years.
42771         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42772         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42773         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42775         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42776         include <bits/wordsize.h>.  Check __x86_64__ instead of
42777         __WORDSIZE.
42778         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42779         if __x86_64__ is defined.  Use anonymous union on fpstate.
42781         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42782         anonymous union.
42784 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
42786         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42787         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42788         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42789         Refer to _rtld_local_ro instead of _rtld_global_ro.
42790         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42791         Likewise.
42792         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42793         Likewise.
42794         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42795         Likewise.
42796         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42797         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42798         of _rtld_global, and rtld_progname instead of _dl_argv[0].
42800         * sysdeps/powerpc/powerpc32/dl-machine.c
42801         (__elf_machine_runtime_setup) [PROF]: Don't reference
42802         _dl_prof_resolve.
42804 2012-05-18  Andreas Jaeger  <aj@suse.de>
42806         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42807         function only available for GCCs before 3.4 since GCC 3.4
42808         introduced a builtin.
42809         (lrint): Likewise.
42810         (llrintf): Likewise.
42811         (llrint): Likewise.
42812         (fmaxf): Likewise.
42813         (fmax): Likewise.
42814         (fminf): Likewise.
42815         (fmin): Likewise.
42816         (rint): Likewise.
42817         (rintf): Likewise.
42818         (nearbyint): Likewise.
42819         (nearbyintf): Likewise.
42820         (ceil): Likewise.
42821         (ceilf): Likewise.
42822         (floor): Likewise.
42823         (floorf): Likewise.
42825 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42827         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42828         on both fields and cast pointer to __syscall_ulong_t.
42830         * bits/types.h (__fsword_t): New type.
42831         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42832         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42834         (__FSWORD_T_TYPE): Likewise.
42835         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42836         (__FSWORD_T_TYPE): Likewise.
42837         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42838         (__FSWORD_T_TYPE): Likewise.
42839         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42840         (__FSWORD_T_TYPE): Likewise.
42841         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42842         __SWORD_TYPE with __fsword_t.
42843         (statfs64): Likewise.
42845 2012-05-17  David S. Miller  <davem@davemloft.net>
42847         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42849 2012-05-17  Andreas Jaeger  <aj@suse.de>
42851         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42852         warning.
42854 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42856         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42858 2012-05-17  Andreas Jaeger  <aj@suse.de>
42860         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42861         when it is used.
42863 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42865         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42867 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42869         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42870         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42872 2012-05-17  Andreas Jaeger  <aj@suse.de>
42873             Carlos O'Donell  <carlos_odonell@mentor.com>
42875         [BZ #14059]
42876         * sysdeps/x86_64/multiarch/init-arch.h
42877         (bit_YMM_Usable): Rename to...
42878         (bit_AVX_Usable): ... this.
42879         (bit_FMA4_Usable): New macro.
42880         (bit_XMM_state): New macro.
42881         (bit_YMM_state): New macro.
42882         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42883         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42884         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42885         (CPUID_OSXSAVE): New macro.
42886         (CPUID_AVX): New macro.
42887         (CPUID_FMA4): New macro.
42888         (index_YMM_Usable): Rename to...
42889         (index_AVX_Usable): ... this.
42890         (HAS_AVX): Use HAS_ARCH_FEATURE.
42891         (HAS_FMA4): Likewise.
42892         (HAS_YMM_USABLE): Remove.
42893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42894         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42895         are present.
42896         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42897         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42898         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42899         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42900         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42902 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42904         * math/libm-test.c: Support platforms without multiple rounding modes.
42905         * math/bug-nextafter.c: Support platforms without FP exceptions.
42906         * math/bug-nexttoward.c: Likewise.
42907         * math/test-fenv.c: Likewise.
42908         * math/test-misc.c: Likewise.
42909         * stdlib/bug-getcontext.c: Likewise.
42911 2012-05-17  Andreas Jaeger  <aj@suse.de>
42913         * manual/examples/search.c (critter_cmp): Change signature to
42914         avoid warnings.
42915         * manual/string.texi (Collation Functions): Likewise.
42917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42919         * bits/types.h: Fold copyright years.
42920         * bits/typesizes.h: Likewise.
42921         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42922         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42924         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42925         * time/time.h: Likewise.
42927 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42929         [BZ #208]
42930         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42931         in instead of returning them.  Return void.
42932         (__libc_mallinfo): Accumulate over all arenas.
42933         (__malloc_stats): Adjust for change in int_mallinfo interface.
42935 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42937         [BZ #10375]
42938         * configure.in (NM): Add AC_CHECK_TOOL for it.
42939         (libc_extra_cflags): New substituted variable.
42940         Check for -fstack-protector being used implicitly.
42941         * configure: Regenerated.
42942         * config.make.in (config-extra-cflags): New variable,
42943         gets @libc_extra_cflags@.
42944         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42946         [BZ #10375]
42947         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42948         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42949         * configure: Regenerated.
42950         * config.make.in (CPPUNDEFS): New substituted variable.
42951         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42952         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42953         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42955 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42957         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42958         (mq_attr): Use __syscall_slong_t.
42960 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42962         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42963         Check __x86_64__ instead of __WORDSIZE.
42964         (_STAT_VER_LINUX): Likewise.
42965         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42966         __syscall_ulong_t and __syscall_slong_t.
42967         (stat64): Likewise.
42969 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42971         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42973 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42975         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42979         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42980         __syscall_ulong_t.
42982         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42983         include <bits/wordsize.h>.  Check __x86_64__ instead of
42984         __WORDSIZE.
42985         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42986         defined.
42987         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42989         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42990         include <bits/wordsize.h>.  Check __x86_64__ instead of
42991         __WORDSIZE.
42992         (user_regs_struct): Use "__extension__ unsigned long long"
42993         instead of "unsigned long" if __x86_64__ is defined.
42994         (user): Likewise.  Pad after pointer field if __ILP32__ is
42995         defined.
42997 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42999         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43000         versions 5 to 9.
43001         * configure: Regenerated.
43002         * manual/install.texi (texinfo): Increase version requirement to
43003         4.5 or later.
43004         * INSTALL: Regenerated.
43006         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43008 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43010         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43012         * sysdeps/x86_64/x32/ffs.c: New file.
43014         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43015         __syscall_ulong_t.
43016         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43017         defined.  Use __syscall_ulong_t.
43018         (shminfo): Use __syscall_ulong_t.
43019         (shm_info): Likewise.
43021         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43022         __syscall_ulong_t.
43024         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43025         <bits/wordsize.h>.
43026         (msgqnum_t): Use __syscall_ulong_t.
43027         (msglen_t): Likewise.
43028         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43029         __syscall_ulong_t.
43031         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43032         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43034         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43036         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43037         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43039         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43040         __syscall_slong_t.
43042         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43043         include <bits/wordsize.h>.  Check __x86_64__ instead of
43044         __WORDSIZE.
43046         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43047         "unsigned long long int" if __x86_64__ is defined.
43048         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43050         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43051         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43052         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43054         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43055         <stdint.h>.
43056         (GET_PC): Cast to uintptr_t first.
43057         (GET_FRAME): Likewise.
43058         (GET_STACK): Likewise.
43060         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43061         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43062         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43063         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43064         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43065         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43066         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43067         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43068         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43069         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43070         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43071         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43072         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43073         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43074         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43075         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43076         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43077         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43078         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43079         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43080         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43081         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43082         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43083         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43084         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43085         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43086         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43087         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43088         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43090 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43092         * Makerules (+depfiles): Also collect depfiles from .oS in
43093         $(extra-objs).
43094         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43095         .oS, $(libnldbl-routines)).
43097         * Makerules (native-compile-mkdep-flags): Define.
43098         * sunrpc/Makefile (extra-objs): Add $(addprefix
43099         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43100         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43101         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43102         calling $(make-target-directory).
43104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43106         * bits/types.h (__snseconds_t): Removed.
43107         * time/time.h (struct timespec): Replace __snseconds_t with
43108         __syscall_slong_t.
43109         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43110         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43111         Likewise.
43112         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43113         (__SNSECONDS_T_TYPE): Likewise.
43114         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43115         (__SNSECONDS_T_TYPE): Likewise.
43116         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43117         (__SNSECONDS_T_TYPE): Likewise.
43119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43121         * sysdeps/mach/hurd/bits/typesizes.h
43122         (__SYSCALL_SLONG_TYPE): New macro.
43123         (__SYSCALL_ULONG_TYPE): Likewise.
43125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43127         * bits/types.h (__syscall_slong_t): New type.
43128         (__syscall_ulong_t): Likewise.
43130         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43131         (__SYSCALL_ULONG_TYPE): Likewise.
43132         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43133         (__SYSCALL_SLONG_TYPE): Likewise.
43134         (__SYSCALL_ULONG_TYPE): Likewise.
43135         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43136         (__SYSCALL_SLONG_TYPE): Likewise.
43137         (__SYSCALL_ULONG_TYPE): Likewise.
43138         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43139         (__SYSCALL_SLONG_TYPE): Likewise.
43140         (__SYSCALL_ULONG_TYPE): Likewise.
43142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43144         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43145         Add sigaltstack-offsets.sym.
43146         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43147         <sigaltstack-offsets.h>.
43148         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43149         longjmp_msg pointer.
43150         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43151         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43152         signal stack.
43153         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43155 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43157         * elf/stackguard-macros.h: Remove file.
43158         * sysdeps/generic/stackguard-macros.h: New file.
43159         * sysdeps/i386/stackguard-macros.h: Likewise.
43160         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43161         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43162         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43163         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43164         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43165         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43166         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43167         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43168         <elf/stackguard-macros.h>.
43170         [BZ #14109]
43171         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43172         __aligned__ in attribute.
43173         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43174         (gregset_t): Likewise.
43176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43178         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43179         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43180         * sysdeps/x86_64/x32/Implies-after: New file.
43182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43184         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43185         and access return value for _dl_profile_fixup.  Use R10_LP to
43186         load frame size.
43188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43190         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43194         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43195         * sysdeps/x86_64/x32/sysdep.h: New file.
43197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43199         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43200         * sysdeps/x86_64/setjmp.S: Likewise.
43202 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43204         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43205         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43206         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43207         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43208         remove unused global constant.
43210 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43212         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43213         include of <not-cancel.h>.
43215 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43217         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43219 2012-05-15  Jeff Law  <law@redhat.com>
43220             Andreas Jaeger  <aj@suse.de>
43222         [BZ #13594]
43223         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43224         out from...
43225         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43226         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43227         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43228         code changing __hst_map_handle.map.
43230 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43232         * configure.in (sysnames): Look for Implies-before and Implies-after
43233         files.
43234         * configure: Regenerated.
43236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43238         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43239         8-byte data alignment with LP_SIZE alignment.
43241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43243         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43244         into R10_LP.
43246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43248         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43252         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43253         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43254         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43255         Likewise.
43256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43260         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43261         (stackinfo_sub_sp): Likewise.
43263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43265         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43266         RAX_LP.
43268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43270         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43271         into R*_LP.
43273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43275         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43276         sizes into R*_LP.
43278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43280         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43284         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43285         into R11_LP and load __x86_64_shared_cache_size_half into
43286         R8_LP.
43288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43290         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43291         R8_LP.
43293 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43295         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43296         logb for POWER7.
43297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43298         logbf for POWER7.
43299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43300         logbl for POWER7.
43301         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43302         powerpc32/power7/fpu/s_logb.c via #include.
43303         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43304         powerpc32/power7/fpu/s_logbf.c via #include.
43305         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43306         powerpc32/power7/fpu/s_logbl.c via #include.
43308 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43310         * README.libm: Remove file.
43312 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43314         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43315         count for x32.  Use R*_LP and omit operand-size suffix.
43317 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43319         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43320         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43321         * sysdeps/x86_64/x32/shlib-versions: New file.
43323 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43325         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43326         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43327         Use _dl_fatal_printf instead.
43329 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43331         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43332         set if not set by the user.  Do not allow for being unset.
43333         * sysdeps/unix/sysv/linux/configure: Regenerated.
43335 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43337         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43338         the `q' suffix from lea and replace .quad with ASM_ADDR.
43340 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43343         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43344         instead of $17.
43345         (PTR_DEMANGLE): Likewise.
43347 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43349         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43350         (LP_OP): Likewise.
43351         (ASM_ADDR): Likewise.
43352         (RAX_LP): Likewise.
43353         (RBP_LP): Likewise.
43354         (RBX_LP): Likewise.
43355         (RCX_LP): Likewise.
43356         (RDI_LP): Likewise.
43357         (RSI_LP): Likewise.
43358         (RSP_LP): Likewise.
43359         (R8_LP): Likewise.
43360         (R9_LP): Likewise.
43361         (R10_LP): Likewise.
43362         (R10_LP): Likewise.
43363         (R11_LP): Likewise.
43364         (R12_LP): Likewise.
43365         (R13_LP): Likewise.
43366         (R14_LP): Likewise.
43367         (R15_LP): Likewise.
43369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43371         * sysdeps/x86_64/x32/dl-machine.h: New file.
43373 2012-05-14  Andreas Jaeger  <aj@suse.de>
43375         * manual/Makefile (subdir): Remove export of subdir.
43376         (all): Remove target.
43377         (.PHONY): Remove all from list.
43378         (mkinstalldirs): Remove.
43379         (.PHONY): Remove installdirs from list.
43380         ($(inst_infodir)/libc.info): Use make-target-directory.
43381         (installdirs): Remove.
43382         (subdir_%): Remove.
43383         (glibc-targets): Remove.
43384         (lib): Remove.
43385         (stubs): Remove.
43386         ($(objpfx)stubs ../po/manual.pot): Remove.
43387         ($(objpfx)stamp%): Remove.
43388         (make-target-directory): Remove.
43389         (subdir_install): Remove.
43390         (routines): Remove.
43391         (aux): Remove.
43392         (sources): Remove.
43393         (objects): Remove.
43394         (headers): Remove.
43396         [BZ #13750]
43397         * manual/.gitignore: Remove, it's not needed anymore.
43398         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43399         all files in it.
43400         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43401         directory.
43402         (texis): Renamed to $(objpfx)texis.
43403         (texis-path): New, contains path to generated files.
43404         (chapters.%): Use texis-path for complete path, add extra argument
43405         libc-texinfo.sh.
43406         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43407         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43408         (summary,texi, stamp-summary): Use complete path of
43409         files. Generate files in build dir.
43410         (dir-add.texi): Build in build dir.
43411         (libm-err.texi,stamp-libm-err): Likewise.
43412         (version.texi, stamp-version): Likewise.
43413         (.%c.texi): Likewise.
43414         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43415         (mostlyclean): Remove target.
43416         (realclean): Remove target.
43417         (generated): Add new variable with contents from mostlyclean and
43418         realclean, remove entries duplicated in common-mostlyclean, add
43419         stamp-libm-err and stamp-version.
43420         (generated-dirs): Add libc directory.
43421         ($(inst_infodir)/libc.info): Install files from build dir.
43423         * manual/install.texi (Configuring and compiling): Adjust since
43424         the info files are not part of the tar ball anymore.
43426 2012-05-14  Andreas Jaeger  <aj@suse.de>
43428         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43429         variable.
43431 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43433         [BZ #13717]
43434         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43435         to 2.2.0 where earlier.
43436         * sysdeps/unix/sysv/linux/configure: Regenerated.
43437         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43438         Remove conditional code.
43439         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43440         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43441         Remove conditional code.
43442         [!__NR_lchown]: Likewise.
43443         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43444         [__NR_lchown]: Likewise.
43445         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43446         comment referencing __ASSUME_LCHOWN_SYSCALL.
43447         * sysdeps/unix/sysv/linux/i386/sigaction.c
43448         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43449         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43450         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43451         Remove conditional code.
43452         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43453         (__protocol_available): Remove #if 0 code.
43454         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43455         conditional code.
43456         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43457         * sysdeps/unix/sysv/linux/kernel-features.h
43458         (__ASSUME_GETCWD_SYSCALL): Don't define.
43459         (__ASSUME_REALTIME_SIGNALS): Likewise.
43460         (__ASSUME_PREAD_SYSCALL): Likewise.
43461         (__ASSUME_PWRITE_SYSCALL): Likewise.
43462         (__ASSUME_POLL_SYSCALL): Likewise.
43463         (__ASSUME_LCHOWN_SYSCALL): Likewise.
43464         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43465         non-SPARC.
43466         (__ASSUME_SIOCGIFNAME): Don't define.
43467         (__ASSUME_MSG_NOSIGNAL): Likewise.
43468         (__ASSUME_SENDFILE): Define unconditionally.
43469         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43470         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43471         conditional code.
43472         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43473         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43474         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43475         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43476         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43477         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43478         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43480         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43483         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43486         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43487         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43489         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43490         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43492         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43493         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43495         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43496         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43498         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43499         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43501         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43502         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43503         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43504         Remove conditional code.
43505         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43506         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43507         Remove conditional code.
43508         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43509         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43510         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43511         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43512         Remove conditional code.
43513         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43514         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43515         Remove conditional code.
43516         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43517         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43518         Remove conditional code.
43519         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43520         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43521         Remove conditional code.
43522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43523         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43524         Remove conditional code.
43525         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43526         * sysdeps/unix/sysv/linux/sh/pwrite64.c
43527         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43529         * sysdeps/unix/sysv/linux/sigaction.c
43530         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43531         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43532         * sysdeps/unix/sysv/linux/sigpending.c
43533         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43534         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43535         * sysdeps/unix/sysv/linux/sigprocmask.c
43536         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43537         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43538         * sysdeps/unix/sysv/linux/sigsuspend.c
43539         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43540         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43541         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43542         (__libc_missing_rt_sigs): Remove.
43543         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43544         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43545         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43546         Remove conditional code.
43547         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43548         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43549         return 1.
43550         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43551         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43552         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43553         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43555 2012-05-14  Andreas Jaeger  <aj@suse.de>
43557         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43558         it's not used in glibc.
43559         (__coshm1): Likewise.
43560         (__acosh1p): Likewise.
43561         (__sgn): Likewise.
43563         * manual/string.texi (Copying and Concatenation): Add missing
43564         variable in concat example.
43565         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43569         [BZ #14103]
43570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43571         __builtin_clzl with __builtin_clzll.
43573 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43575         [BZ #14104]
43576         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43577         libc_freeres_ptr.
43579 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43581         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43582         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43583         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43584         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43586 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
43588         * NEWS: Update ia64 info.
43590 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
43592         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43593         used as bcopy.
43595 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
43597         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43598         * sysdeps/unix/syscalls.list (dup3): Likewise.
43599         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43600         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43602 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43604         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43605         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43607 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43609         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43610         thread pointer.
43611         (TLS_IE): Use mov/add instead of movq/addq to load thread
43612         pointer.
43613         (TLS_GD_PREFIX): New.
43614         (TLS_GD): Use it.
43616 2012-05-11  David S. Miller  <davem@davemloft.net>
43618         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43619         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43620         (_FPU_SETCW): Likewise.
43622 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43624         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43625         is 32-byte aligned.
43627 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
43629         [BZ #11837]
43630         * iconvdata/gb18030.c: Update tables.
43631         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
43632         characters specially.
43633         (BODY for TO_LOOP): Add encoding of missing ranges.
43635 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
43637         [BZ #13673]
43638         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43639         * sysdeps/mach/hurd/dup3.c: Likewise.
43640         * sysdeps/mach/hurd/readlinkat.c: Likewise.
43641         * sysdeps/powerpc/memmove.c:: Likewise.
43643 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43645         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43646         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43648 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43650         * elf/elf.h (R_X86_64_RELATIVE64): New.
43651         (R_X86_64_NUM): Updated.
43652         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43653         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
43654         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43655         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43656         tst-quad1pie tst-quad2pie
43657         (modules-names): Add tst-quadmod1 tst-quadmod2.
43658         ($(objpfx)tst-quad1): New dependency.
43659         ($(objpfx)tst-quad2): Likewise.
43660         ($(objpfx)tst-quad1pie): Likewise.
43661         ($(objpfx)tst-quad2pie): Likewise.
43662         * sysdeps/x86_64/tst-quad1.c: New file.
43663         * sysdeps/x86_64/tst-quad1pie.c: New file.
43664         * sysdeps/x86_64/tst-quad2.c: Likewise.
43665         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43666         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43667         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43668         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43669         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43673         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43674         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43675         * streams/stropts.h (t_scalar_t): Define type.
43677         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43678         (_PATH_PRESERVE): Set to "/var/lib".
43679         (_PATH_RWHODIR): Set to "/var/spool/rwho".
43681         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43682         instead of int.
43684         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43685         if __dir_mkfile succeeded.
43687         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43688         checking for _hurd_dtablesize.  Unlock it right after having
43689         finished _hurd_dtable allocation.
43691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43693         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43694         * sysdeps/mach/hurd/configure: Regenerated.
43695         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43696         special-casing to...
43697         * sysdeps/gnu/configure.in: ... this new file.
43698         * sysdeps/unix/sysv/linux/configure: Regenerated.
43699         * sysdeps/gnu/configure: New generated file.
43701         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43702         for Linux: use nsec instead of usec, as well as:
43703         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43704         members of type struct timespec.
43705         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43706         New macros.
43707         (struct stat64): Likewise.
43708         (_STATBUF_ST_NSEC): New macro.
43709         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43711         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43712         __strtoul_internal rather than strtoul.
43714 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43716         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43717         and reject them.
43719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43721         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43722         which preserves existing values.
43723         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43725 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43727         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43728         TIMEOUT values.  Return EINVAL for NFDS values either negative or
43729         greater than FD_SETSIZE.
43731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43733         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43734         allocated, call __vm_protect to finish enabling the existing space, and
43735         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43736         allocate the remainder.
43738 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43740         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43741         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
43743 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43745         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43746         sysdeps/mach/hurd/readlink.c.
43748         * posix/tst-sysconf.c (posix_options): Only use
43749         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43750         _POSIX_SYNCHRONIZED_IO when they are defined
43751         * sysdeps/mach/hurd/bits/posix_opt.h:
43752         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43753         (_XOPEN_REALTIME): Undefine macro.
43754         (_XOPEN_REALTIME_THREADS): Undefine macro.
43755         (_XOPEN_SHM): Undefine macro.
43756         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43757         macro to -1.
43758         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43759         macro to -1.
43760         (_POSIX_ASYNC_IO): Undefine macro.
43761         (_POSIX_PRIORITIZED_IO): Undefine macro.
43762         (_POSIX_SPIN_LOCKS): Define macro to -1.
43764         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43765         SA_NODEFER, SA_RESETHAND.
43766         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43767         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43768         F_DUPFD_CLOEXEC.
43770 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43772         * elf/Makefile (pldd-modules): Define unconditionally.
43774 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43776         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43778 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43780         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43781         Return ENOENT when name is empty.
43782         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43784 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43786         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43788         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43792         Fix mlock in all cases except non-readable pages.
43793         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43794         instead of VM_PROT_ALL as parameter to __vm_wire function.
43796         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43797         (__mkdir): When path is `/', just fail with EEXIST.
43798         * sysdeps/mach/hurd/mkdirat.c: Likewise.
43800 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43802         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43803         <sys/uio.h> (for writev).
43804         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43805         and <sys/param.h> (for MIN).
43807 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43809         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43810         REQUESTED_TIME.  Properly set the remaining time and return EINTR
43811         if interrupted.
43813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43815         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43816         Depend on against $(link-rpcuserlibs).
43818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43820         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43821         (__libc_stack_end): Do not use attribute_relro.
43822         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43823         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43824         to libthread-provided value.
43825         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43826         attribute_relro.
43828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43830         [BZ #3748]
43831         * bits/libc-lock.h (__libc_once_get): New macro.
43832         * sysdeps/mach/bits/libc-lock.h: Likewise.
43833         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43834         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43835         instead of using implementation details.
43837         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43838         * libio/freopen.c: Likewise.
43839         * libio/freopen64.c: Likewise.
43840         * misc/syslog.c: Likewise.
43841         * nscd/connections.c: Likewise.
43842         * nscd/netgroupcache.c: Likewise.
43843         * sysdeps/posix/getcwd.c: Likewise.
43845 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43847         * math/w_ilogbf.c: Add #include <limits.h>.
43849 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43851         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43852         path instead of returning without unlocking.
43854         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43855         immediate-write ioctls.
43856         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43858 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43860         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43861         __builtin_frame_address instead of making assumptions about the
43862         location of the return address relative to DATA.  Force early load of
43863         the return address.
43864         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43865         __builtin_frame_address.
43867         dup3 for GNU Hurd.
43868         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43869         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43870         implement dup3 and do some further code clean-ups.
43871         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43872         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43876         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43878         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43879         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43880         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43881         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43882         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43883         d->port.lock.
43885         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43886         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43887         when handler == SIG_ERR, not when handler != SIG_ERR.
43889 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43891         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43892         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43893         definitions.
43895         accept4 for GNU Hurd.
43896         * include/sys/socket.h (__libc_accept4): New prototype.
43897         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43898         to implement __libc_accept4.
43899         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43900         __libc_accept4.
43901         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43903         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43904         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43905         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43906         signal-defines.sym.
43908 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43910         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43914         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43915         assertion on O_CLOEXEC flag.
43916         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43917         * hurd/intern-fd.c: Likewise.
43918         * hurd/port2fd.c: Likewise.
43920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43922         [BZ #3906]
43923         * bits/in.h (IPV6_PKTINFO): Define new macro.
43924         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43926 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43928         [BZ #13954]
43929         [BZ #13955]
43930         [BZ #13956]
43931         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43932         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43933         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43934         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43936         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43937         * math/libm-test.inc (logb_test) : Additional logb tests.
43939 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43940             Andreas Jaeger  <aj@suse.de>
43942         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43943         * configure: Regenerated.
43944         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43945         * config.make.in (link-obsolete-rpc): New substituted variable.
43946         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43947         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43948         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43949         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43950         so that libc.a contains the symbols.
43951         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43952         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43953         * sunrpc/auth_none.c: Likewise.
43954         * sunrpc/auth_unix.c: Likewise.
43955         * sunrpc/authdes_prot.c: Likewise.
43956         * sunrpc/authuxprot.c: Likewise.
43957         * sunrpc/clnt_gen.c: Likewise.
43958         * sunrpc/clnt_perr.c: Likewise.
43959         * sunrpc/clnt_raw.c: Likewise.
43960         * sunrpc/clnt_simp.c: Likewise.
43961         * sunrpc/clnt_tcp.c: Likewise.
43962         * sunrpc/clnt_udp.c: Likewise.
43963         * sunrpc/clnt_unix.c: Likewise.
43964         * sunrpc/des_crypt.c: Likewise.
43965         * sunrpc/des_soft.c: Likewise.
43966         * sunrpc/get_myaddr.c: Likewise.
43967         * sunrpc/key_call.c: Likewise.
43968         * sunrpc/key_prot.c: Likewise.
43969         * sunrpc/netname.c: Likewise.
43970         * sunrpc/pm_getmaps.c: Likewise.
43971         * sunrpc/pm_getport.c: Likewise.
43972         * sunrpc/pmap_clnt.c: Likewise.
43973         * sunrpc/pmap_prot.c: Likewise.
43974         * sunrpc/pmap_prot2.c: Likewise.
43975         * sunrpc/pmap_rmt.c: Likewise.
43976         * sunrpc/publickey.c: Likewise.
43977         * sunrpc/rpc_cmsg.c: Likewise.
43978         * sunrpc/rpc_common.c: Likewise.
43979         * sunrpc/rpc_dtable.c: Likewise.
43980         * sunrpc/rpc_prot.c: Likewise.
43981         * sunrpc/rpc_thread.c: Likewise.
43982         * sunrpc/rtime.c: Likewise.
43983         * sunrpc/svc.c: Likewise.
43984         * sunrpc/svc_auth.c: Likewise.
43985         * sunrpc/svc_raw.c: Likewise.
43986         * sunrpc/svc_run.c: Likewise.
43987         * sunrpc/svc_tcp.c: Likewise.
43988         * sunrpc/svc_udp.c: Likewise.
43989         * sunrpc/svc_unix.c: Likewise.
43990         * sunrpc/svcauth_des.c: Likewise.
43991         * sunrpc/xcrypt.c: Likewise.
43992         * sunrpc/xdr.c: Likewise.
43993         * sunrpc/xdr_array.c: Likewise.
43994         * sunrpc/xdr_float.c: Likewise.
43995         * sunrpc/xdr_intXX_t.c: Likewise.
43996         * sunrpc/xdr_mem.c: Likewise.
43997         * sunrpc/xdr_rec.c: Likewise.
43998         * sunrpc/xdr_ref.c: Likewise.
43999         * sunrpc/xdr_sizeof.c: Likewise.
44000         * sunrpc/xdr_stdio.c: Likewise.
44002 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44005         change.  Update copyright years.
44007 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44009         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44011 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44012             Joseph Myers  <joseph@codesourcery.com>
44013             Paul Pluzhnikov  <ppluzhnikov@google.com>
44015         [BZ #14012]
44016         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44017         requiring rpcgen.
44018         [cross-compiling] (extra-libs): Likewise.
44019         [cross-compiling] (extra-libs-others): Likewise.
44020         [cross-compiling] (librpcsvc-routines): Likewise.
44021         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44022         [cross-compiling] (omit-deps): Likewise.
44023         (sunrpc-CPPFLAGS): New variable.
44024         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44025         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44026         (cross-rpcgen-objs): New variable.
44027         (extra-objs): Append $(cross-rpcgen-objs).
44028         ($(cross-rpcgen-objs)): New rule.
44029         ($(objpfx)cross-rpcgen): Likewise.
44030         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44031         comment.
44032         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44033         ($(objpfx)x%.stmp): Likewise.
44034         * sunrpc/proto.h [IS_IN_build] (_): Define.
44035         [IS_IN_build] (_libc_intl_domainname): Likewise.
44037 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44040         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44041         and R_X86_64_TPOFF64.
44043 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44045         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44046         sysdeps/unix/sysv/syscalls.list.
44047         (stime): Likewise.
44048         (utime): Likewise.
44049         * sysdeps/unix/sysv/syscalls.list: Remove file.
44051 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44053         [BZ #3440]
44054         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44055         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44056         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44057         (__LC_IDENTIFICATION): Make these macros useful in #if
44058         expressions, as required by C99.
44060 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44062         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44063         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44064         after this.
44066 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44068         * stdlib/longlong.h: Updated from GCC.
44070 2012-05-09  Andreas Jaeger  <aj@suse.de>
44072         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44073         default is first entry.
44074         (run_mode): Set type.
44075         (main): Remove informal message about syslog.
44076         (options): Fix typo.
44078         [BZ #14053]
44079         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44080         to asm.
44081         (lrint): Likewise.
44082         (llrintf): Likewise.
44083         (llrint): Likewise.
44084         (rint): Likewise.
44085         (rintf): Likewise.
44086         (nearbyint): Likewise.
44087         (nearbyintf): Likewise.
44089 2012-05-09  Andreas Jaeger  <aj@suse.de>
44090             Pedro Alves  <palves@redhat.com>
44092         * nscd/nscd.c (run_mode): Use enum.
44093         (main): Cleanup coding style issue.
44095 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44096             Andreas Jaeger  <aj@suse.de>
44098         * nscd/nscd.c (go_background): Replaced with...
44099         (run_mode): ... this.
44100         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44101         (options): Add -F --foreground.
44102         (main): Implement it.
44103         (parse_opt): Parse it.
44105 2012-05-09  Andreas Jaeger  <aj@suse.de>
44107         [BZ #14083]
44108         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44109         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44110         -Wconversion warning.
44111         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44112         Likewise.
44114 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44116         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44117         == 0.
44118         (LC_ALL): Use macro-int-constant.
44119         (LC_COLLATE): Likewise.
44120         (LC_CTYPE): Likewise.
44121         (LC_MESSAGES): Likewise.
44122         (LC_MONETARY): Likewise.
44123         (LC_NUMERIC): Likewise.
44124         (LC_TIME): Likewise.
44125         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44126         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44128         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44129         Specify type.
44130         [C99-based standards] (float_t): Expect type.
44131         [C99-based standards] (double_t): Expect type.
44132         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44133         type.
44134         [C99-based standards] (HUGE_VALL): Likewise.
44135         [C99-based standards] (INFINITY): Likewise.
44136         [C99-based standards] (NAN): Likewise.
44137         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44138         [C99-based standards] (FP_NAN): Likewise.
44139         [C99-based standards] (FP_NORMAL): Likewise.
44140         [C99-based standards] (FP_SUBNORMAL): Likewise.
44141         [C99-based standards] (FP_ZERO): Likewise.
44142         [C99-based standards] (FP_FAST_FMA): Use
44143         optional-macro-int-constant.  Specify type.  Require == 1.
44144         [C99-based standards] (FP_FAST_FMAF): Likewise.
44145         [C99-based standards] (FP_FAST_FMAL): Likewise.
44146         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44147         [C99-based standards] (FP_ILOGBNAN): Likewise.
44148         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44149         Specify type.
44150         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44151         [C99-based standards] (math_errhandling): Specify type.
44152         [ISO99 || ISO11] (signgam): Do not allow.
44153         [non-C99-based standards] (copysignf): Do not allow.
44154         [non-C99-based standards] (exp2f): Likewise.
44155         [non-C99-based standards] (log2f): Likewise.
44156         [non-C99-based standards] (modff): Allow.
44157         [non-C99-based standards] (erff): Do not allow.
44158         [non-C99-based standards] (erfcf): Likewise.
44159         [non-C99-based standards] (gammaf): Likewise.
44160         [non-C99-based standards] (hypotf): Likewise.
44161         [non-C99-based standards] (j0f): Likewise.
44162         [non-C99-based standards] (j1f): Likewise.
44163         [non-C99-based standards] (jnf): Likewise.
44164         [non-C99-based standards] (lgammaf): Likewise.
44165         [non-C99-based standards] (tgammaf): Likewise.
44166         [non-C99-based standards] (y0f): Likewise.
44167         [non-C99-based standards] (y1f): Likewise.
44168         [non-C99-based standards] (ynf): Likewise.
44169         [non-C99-based standards] (isnanf): Likewise.
44170         [non-C99-based standards] (acoshf): Likewise.
44171         [non-C99-based standards] (asinhf): Likewise.
44172         [non-C99-based standards] (atanhf): Likewise.
44173         [non-C99-based standards] (cbrtf): Likewise.
44174         [non-C99-based standards] (expm1f): Likewise.
44175         [non-C99-based standards] (ilogbf): Likewise.
44176         [non-C99-based standards] (log1pf): Likewise.
44177         [non-C99-based standards] (logbf): Likewise.
44178         [non-C99-based standards] (nextafterf): Likewise.
44179         [non-C99-based standards] (remainderf): Likewise.
44180         [non-C99-based standards] (rintf): Likewise.
44181         [non-C99-based standards] (scalbf): Likewise.
44182         [non-C99-based standards] (copysignl): Likewise.
44183         [non-C99-based standards] (exp2l): Likewise.
44184         [non-C99-based standards] (log2l): Likewise.
44185         [non-C99-based standards] (modfl): Allow.
44186         [non-C99-based standards] (erfl): Do not allow.
44187         [non-C99-based standards] (erfcl): Likewise.
44188         [non-C99-based standards] (gammal): Likewise.
44189         [non-C99-based standards] (hypotl): Likewise.
44190         [non-C99-based standards] (j0l): Likewise.
44191         [non-C99-based standards] (j1l): Likewise.
44192         [non-C99-based standards] (jnl): Likewise.
44193         [non-C99-based standards] (lgammal): Likewise.
44194         [non-C99-based standards] (tgammal): Likewise.
44195         [non-C99-based standards] (y0l): Likewise.
44196         [non-C99-based standards] (y1l): Likewise.
44197         [non-C99-based standards] (ynl): Likewise.
44198         [non-C99-based standards] (isnanl): Likewise.
44199         [non-C99-based standards] (acoshl): Likewise.
44200         [non-C99-based standards] (asinhl): Likewise.
44201         [non-C99-based standards] (atanhl): Likewise.
44202         [non-C99-based standards] (cbrtl): Likewise.
44203         [non-C99-based standards] (expm1l): Likewise.
44204         [non-C99-based standards] (ilogbl): Likewise.
44205         [non-C99-based standards] (log1pl): Likewise.
44206         [non-C99-based standards] (logbl): Likewise.
44207         [non-C99-based standards] (nextafterl): Likewise.
44208         [non-C99-based standards] (remainderl): Likewise.
44209         [non-C99-based standards] (rintl): Likewise.
44210         [non-C99-based standards] (scalbl): Likewise.
44211         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44212         [non-C99-based standards] (FP_*): Do not allow.
44213         [C99-based standards] (FP_*): Change to
44214         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44215         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44216         allow.
44217         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44218         (SIG_ERR): Likewise.
44219         [X/Open-based standards] (SIG_HOLD): Likewise.
44220         (SIG_IGN): Likewise.
44221         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44222         positive value.
44223         (SIGFPE): Likewise.
44224         (SIGILL): Likewise.
44225         (SIGINT): Likewise.
44226         (SIGSEGV): Likewise.
44227         (SIGTER): Likewise.
44228         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44229         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44230         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44231         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44232         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44233         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44234         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44235         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44236         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44237         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44238         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44239         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44240         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44241         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44242         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44243         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44244         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44245         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44246         [X/Open-based standards] (SIGTRAP): Likewise.
44247         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44248         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44249         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44250         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44251         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44252         allow.
44254 2012-05-08  Ian Wienand  <ianw@vmware.com>
44256         [BZ #14080]
44257         * time/tzset.c (__tzset_parse_tz): Update default rules for
44258         daylight time changes in the Energy Policy Act of 2005.
44260 2012-05-09  Andreas Jaeger  <aj@suse.de>
44262         [BZ #13983]
44263         * elf/ldconfig.c (parse_conf): Change string to make clear that
44264         ldconfig only issued a warning if ld.so.conf does not exist.
44266 2012-05-08  David S. Miller  <davem@davemloft.net>
44268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44269         movxtod instead of popping the value on the stack.
44271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44273 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44275         * config.h.in: Add HAVE_ARM_PCS_VFP.
44277 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44279         [BZ #13979]
44280         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44281         checking but the checks are disabled for any reason.
44283 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44285         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44286         and ELF64_R_TYPE with ELFW(R_TYPE).
44288 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44290         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44291         (ulimit): Likewise.
44293         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44294         (settimeofday): Likewise.
44296 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44298         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44299         a struct th_u2 inside the union, and move tu_block/tu_code into
44300         a new th_u3 union of tu_block/tu_code inside of that.  Move
44301         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44302         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44303         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44304         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44305         (th_stuff): Change to th_u1.tu_stuff.
44306         (th_data): Define.
44307         (th_msg): Change to th_u1.th_u2.tu_data.
44309 2012-05-07  David S. Miller  <davem@davemloft.net>
44311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44313         [BZ #14074]
44314         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44315         (SETUP_PIC_REG): Use it.
44316         (SETUP_PIC_REG_LEAF): Use it.
44318 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44320         [BZ #13885]
44321         [BZ #13923]
44322         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44323         USE_AS_EXPM1L.
44324         (EXPL_FINITE): Likewise.
44325         (FLDLOG): Likewise.
44326         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44327         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44328         e_expl.S.
44329         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44330         USE_AS_EXPM1L.
44331         (EXPL_FINITE): Likewise.
44332         (FLDLOG): Likewise.
44333         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44334         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44335         e_expl.S.
44336         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44337         test of -max_value argument for long double.
44338         * sysdeps/i386/fpu/libm-test-ulps: Update.
44339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44341 2012-05-06  David S. Miller  <davem@davemloft.net>
44343         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44344         quad soft-float symbols whose references which are compiler
44345         generated.
44346         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44348 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44350         [BZ #13884]
44351         [BZ #13914]
44352         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44353         USE_AS_EXP10L.
44354         (EXPL_FINITE): Likewise.
44355         (FLDLOG): Likewise.
44356         (c0): Likewise.
44357         (c1): Likewise.
44358         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44359         Adjust comments for base varying.
44360         (__expl_finite): Change alias to EXPL_FINITE.
44361         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44362         e_expl.S.
44363         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44364         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44365         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44366         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44367         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44368         USE_AS_EXP10L.
44369         (EXPL_FINITE): Likewise.
44370         (FLDLOG): Likewise.
44371         (c0): Likewise.
44372         (c1): Likewise.
44373         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44374         Adjust comments for base varying.
44375         (__expl_finite): Change alias to EXPL_FINITE.
44376         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44377         tests for bugs.
44378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44380         [BZ #14064]
44381         * math/libm-test.inc (check_float_internal): Correct ulp
44382         calculation for subnormal expected results.
44384 2012-05-06  Andreas Jaeger  <aj@suse.de>
44386         * Makeconfig (+math-flags): New, set to -frounding-math.
44387         (+cflags): Add +math-flags so that all of glibc gets compiled with
44388         it.
44390         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44392 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44394         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44395         Disable one test.
44397         [BZ #13787]
44398         [BZ #13922]
44399         [BZ #14036]
44400         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44401         (__ieee754_expl): Allow for and saturate large arguments.
44402         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44403         (u_threshold): Likewise.
44404         (__exp): Call __ieee754_exp before checking for overflow and
44405         underflow.
44406         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44407         (u_threshold): Likewise.
44408         (__expf): Call __ieee754_expf before checking for overflow and
44409         underflow.
44410         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44411         (u_threshold): Likewise.
44412         (__expl): Call __ieee754_expl before checking for overflow and
44413         underflow.
44414         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44415         (__ieee754_expl): Allow for and saturate large arguments.
44416         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44417         missing overflow exception on overflow.
44418         (expm1_test): Do not allow missing overflow exception on overflow.
44420         * sysdeps/i386/fpu/e_expl.c: Move to ...
44421         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44422         rather than using inline asm.
44423         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44424         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44425         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44427         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44428         (nice): Likewise.
44429         (poll): Likewise.
44430         (signal): Likewise.
44431         (time): Likewise.
44432         (times): Likewise.
44434 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44436         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44437         sysdeps/unix/common/syscalls.list.
44438         (fchmod): Likewise.
44439         (fchown): Likewise.
44440         (ftruncate): Likewise.
44441         (getrusage): Likewise.
44442         (gettimeofday): Likewise.
44443         (setpgid): Likewise.
44444         (setregid): Likewise.
44445         (setreuid): Likewise.
44446         (sigaction): Likewise.
44447         (truncate): Likewise.
44448         (vhangup): Likewise.
44449         * sysdeps/unix/common/syscalls.list: Remove file.
44450         * sysdeps/unix/bsd/Implies: Don't include unix/common.
44451         * sysdeps/unix/sysv/linux/Implies: Likewise.
44453 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
44455         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44457         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44458         Moved to ...
44459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44460         Here.
44461         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44462         to ...
44463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44464         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44465         to ...
44466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44467         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44468         to ...
44469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44470         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44471         to ...
44472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44473         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44474         to ...
44475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44476         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44477         to ...
44478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44479         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44480         to ...
44481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44482         Here.
44483         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44484         to ...
44485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44486         Here.
44487         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44488         to ...
44489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44490         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44491         Moved to ...
44492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44493         Here.
44494         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44495         to ...
44496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44498 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44500         * sysdeps/unix/common/bits/dirent.h: Remove file.
44501         * sysdeps/unix/common/bits/fcntl.h: Likewise.
44503         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44504         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44505         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44506         * sysdeps/unix/bsd/isatty.c: Likewise.
44507         * sysdeps/unix/bsd/tcdrain.c: Likewise.
44508         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44509         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44511 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44513         [BZ #13563]
44514         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44515         long double comparison inaccuracies.
44516         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44519 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
44521         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44522         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44524 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44526         [BZ #14049]
44527         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44528         nonzero digits before rounding a hex value.
44529         * stdlib/tst-strtod.c (tests): Add another test.
44531 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44533         * sysdeps/s390/fpu/libm-test-ulps: Update.
44535 2012-05-03  Andreas Jaeger  <aj@suse.de>
44537         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44538         does not get optimized out.
44539         (malloc_opt_barrier): New.
44541 2012-05-03  Andreas Jaeger  <aj@suse.de>
44542             Roland McGrath  <roland@hack.frob.com>
44544         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44545         intermediate file deletion.
44546         (generated): Add .symlist files.
44548 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
44550         [BZ #13775]
44551         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44552         Redirect under this condition.
44553         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44554         [__USE_GNU] (__dprintf_chk): Not under this condition.
44555         [__USE_GNU] (__vdprintf_chk): Likewise.
44556         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44557         under this condition.
44558         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44559         [__USE_XOPEN2K8] (dprintf): Define under this condition.
44560         [__USE_XOPEN2K8] (vdprintf): Likewise.
44561         [__USE_GNU] (__dprintf_chk): Not under this condition.
44562         [__USE_GNU] (__vdprintf_chk): Likewise.
44563         [__USE_GNU] (dprintf): Likewise.
44564         [__USE_GNU] (vdprintf): Likewise.
44566 2012-05-03  Roland McGrath  <roland@hack.frob.com>
44568         * elf/Makefile (common-generated): Set this instead of generated for
44569         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
44570         $(all-built-dso)-derived lists.
44572 2012-05-03  Andreas Jaeger  <aj@suse.de>
44574         * sysdeps/i386/fpu/libm-test-ulps: Update.
44576         * FAQ: Removed.
44577         * FAQ.in: Likewise.
44578         * scripts/gen-FAQ.pl: Likewise.
44579         * manual/install.texi (Installation): Point to online location of
44580         FAQ.
44581         * Makefile (files-for-dist): Remove FAQ.
44582         (FAQ): Remove.
44584 2012-05-02  Allan McRae  <allan@archlinux.org>
44586         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44587         (LDFLAGS-reldepmod5.so): Likewise.
44588         (LDFLAGS-reldep6mod1.so): Likewise.
44589         (LDFLAGS-reldep6mod4.so): Likewise.
44590         (LDFLAGS-reldep8mod3.so): Likewise.
44591         (LDFLAGS-unload4mod1.so): Likewise.
44592         (LDFLAGS-unload4mod2.so): Likewise.
44593         (LDFLAGS-tst-initorder): Likewise.
44594         (LDFLAGS-tst-initordera2.so): Likewise.
44595         (LDFLAGS-tst-initordera3.so): Likewise.
44596         (LDFLAGS-tst-initordera4.so): Likewise.
44597         (LDFLAGS-tst-initorderb2.so): Likewise.
44598         (LDFLAGS-noload): Likewise.
44599         (LDFLAGS-next): Likewise.
44600         (LDFLAGS-order2mod1.so): Likewise.
44601         (LDFLAGS-order2mod2.so): Likewise.
44602         (LDFLAGS-tst-initorder2): Likewise.
44603         (LDFLAGS-tst-initorder2a.so): Likewise.
44604         (LDFLAGS-tst-initorder2b.so): Likewise.
44605         (LDFLAGS-tst-initorder2c.so): Likewise.
44606         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44608 2012-05-02  David S. Miller  <davem@davemloft.net>
44610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44612 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
44614         [BZ #14055]
44615         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44617 2012-05-02  Andreas Jaeger  <aj@suse.de>
44619         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44620         since we manipulate rounding mode.
44621         (CPPFLAGS-test-idouble.c): Likewise.
44622         (CPPFLAGS-test-ifloat.c): Likewise.
44623         (CFLAGS-test-ldouble.c): Likewise.
44624         (CFLAGS-test-double.c): Likewise.
44625         (CFLAGS-test-float.c): Likewise.
44626         (CFLAGS-test-misc.c): Likewise.
44627         (CFLAGS-test-test-fenv.c): Likewise.
44629 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44631         [BZ #2550]
44632         [BZ #2570]
44633         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44634         comparisons to determine direction to adjust input.
44636 2012-05-01  Roland McGrath  <roland@hack.frob.com>
44638         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44639         output to the target.
44641         * scripts/localplt.awk: New file.
44642         * elf/Makefile ($(objpfx)check-localplt): Target removed.
44643         (check-localplt-CFLAGS): Variable removed.
44644         ($(all-built-dso:=.jmprel)): New static pattern rule.
44645         (generated): Add those targets.
44646         (localplt-built-dso): New variable.
44647         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44649         * elf/check-localplt.c: File removed.
44651         * scripts/check-execstack.awk: New file.
44652         * elf/Makefile ($(objpfx)check-execstack): Target removed.
44653         (check-execstack-CFLAGS): Variable removed.
44654         ($(objpfx)check-execstack.h): Target removed.
44655         ($(objpfx)execstack-default): New target.
44656         (generated): Add that instead of check-execstack.h.
44657         ($(all-built-dso:=.phdr)): New static pattern rule.
44658         (generated): Add those targets.
44659         * elf/check-execstack.c: File removed.
44661         * scripts/check-textrel.awk: New file.
44662         * elf/Makefile ($(objpfx)check-textrel): Target removed.
44663         (check-textrel-CFLAGS): Variable removed.
44664         (all-built-dso): Use := to define.o
44665         ($(all-built-dso:=.dyn)): New static pattern rule.
44666         (generated): Add those targets.
44667         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44668         * config.make.in (READELF): New substituted variable.
44669         * elf/check-textrel.c: File removed.
44671 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44673         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44674         allow.
44675         * conform/data/ctype.h-data [C99-based standards] (isblank):
44676         Expect function.
44677         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44678         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44679         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44680         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44681         Specify type.  Require positive value.
44682         (EILSEQ): Likewise.
44683         (ERANGE): Likewise.
44684         [ISO || POSIX] (EILSEQ): Do not expect.
44685         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44686         Specify type.  Require positive value.
44687         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44688         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44689         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44690         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44691         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44692         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44693         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44694         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44695         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44696         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44697         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44698         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44699         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44700         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44701         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44702         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44703         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44704         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44705         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44706         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44707         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44708         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44709         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44710         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44711         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44712         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44713         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44714         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44715         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44716         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44717         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44718         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44719         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44720         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44721         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44722         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44723         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44724         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44725         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44726         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44727         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44728         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44729         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44730         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44731         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44732         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44733         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44734         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44735         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44736         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44737         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44738         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44739         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44740         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44741         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44742         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44743         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44744         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44745         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44746         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44747         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44748         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44749         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44750         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44751         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44752         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44753         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44754         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44755         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44756         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44757         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44758         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44759         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44760         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44761         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44762         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44763         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44764         Require >= 2.
44765         (FLT_ROUNDS): Expect as macro, not constant.
44766         (FLT_MANT_DIG): Use macro-int-constant.
44767         (DBL_MANT_DIG): Likewise.
44768         (LDBL_MANT_DIG): Likewise.
44769         (FLT_DIG): Likewise.
44770         (DBL_DIG): Likewise.
44771         (LDBL_DIG): Likewise.
44772         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
44773         (DBL_MIN_EXP): Likewise.
44774         (LDBL_MIN_EXP): Likewise.
44775         (FLT_MAX_EXP): Use macro-int-constant.
44776         (DBL_MAX_EXP): Likewise.
44777         (LDBL_MAX_EXP): Likewise.
44778         (FLT_MAX_10_EXP): Likewise.
44779         (DBL_MAX_10_EXP): Likewise.
44780         (LDBL_MAX_10_EXP): Likewise.
44781         (FLT_MAX): Use macro-constant.
44782         (DBL_MAX): Likewise.
44783         (LDBL_MAX): Likewise.
44784         (FLT_EPSILON): Use macro-constant.  Give upper bound.
44785         (DBL_EPSILON): Likewise.
44786         (LDBL_EPSILON): Likewise.
44787         (FLT_MIN): Likewise.
44788         (DBL_MIN): Likewise.
44789         (LDBL_MIN): Likewise.
44790         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44791         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44792         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44793         [ISO11] (FLT_HAS_SUBNORM): Likewise.
44794         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44795         [ISO11] (DBL_DECIMAL_DIG): Likewise.
44796         [ISO11] (FLT_DECIMAL_DIG): Likewise.
44797         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44798         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44799         [ISO11] (FLT_TRUE_MIN): Likewise.
44800         [ISO11] (LDBL_TRUE_MIN): Likewise.
44801         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44802         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44803         (SCHAR_MIN): Use macro-int-constant.  Specify type.
44804         (SCHAR_MAX): Likewise.
44805         (UCHAR_MAX): Likewise.
44806         (CHAR_MIN): Likewise.
44807         (CHAR_MAX): Likewise.
44808         (MB_LEN_MAX): Use macro-int-constant.
44809         (SHRT_MIN): Use macro-int-constant.  Specify type.
44810         (SHRT_MAX): Likewise.
44811         (USHRT_MAX): Likewise.
44812         (INT_MAX): Likewise.
44813         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
44814         bound negative.
44815         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44816         bound with "U".
44817         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44818         bound with "L".
44819         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44820         bound negative.  Suffix upper bound with "L".
44821         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44822         bound with "UL".
44823         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44824         Specify type.
44825         [C99-based standards] (LLONG_MAX): Likewise.
44826         [C99-based standards] (ULLONG_MAX): Likewise.
44827         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44828         == 0.
44829         [ISO11] (max_align_t): Require type.
44830         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44832         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44833         from $CFLAGS, without defining away __attribute__ calls.
44834         (checknamespace): Use $CFLAGS_namespace.
44836         * conform/conformtest.pl (@keywords): Only include C99 keywords
44837         for standards based on C99 or C11.
44839         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44840         Disable tests.
44841         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44842         UNIX98]: Likewise.
44844         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44845         usability of symbols in #if.
44847         * conform/conformtest.pl: If macro or constant types start
44848         "promoted:", expect the symbol to be of the following type
44849         promoted by the integer promotions.
44851         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44852         in one place.  Also handle "macro-constant".
44854         * conform/conformtest.pl: Only accept expected macro values with
44855         "==".  Parse all "macro" lines in one place.
44856         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44858         * conform/conformtest.pl: Handle braced types on "constant" lines
44859         instead of handling "typed-constant".
44860         * conform/data/signal.h-data: Use "constant" instead of
44861         "typed-constant".
44863         * conform/conformtest.pl: Handle "optional-" at start of lines in
44864         one place rather than duplicating several cases.  Handle each
44865         format of "macro" line with initial "optional-".
44867         * conform/conformtest.pl: Only accept expected constant or
44868         optional-constant values with "==".  Parse all "constant" lines in
44869         one place.  Parse all "optional-constant" lines in one place.
44870         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44871         * conform/data/fmtmsg.h-data: Likewise.
44872         * conform/data/netinet/in.h-data: Likewise.
44873         * conform/data/tar.h-data: Likewise.
44874         * conform/data/limits.h-data: Use "==" form on "constant" and
44875         "optional-constant" lines.
44877         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44878         Use -std=c99 for XOPEN2K.
44879         (@knownproblems): Remove.
44880         (newtoken): Don't check %isknown.
44882         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44883         Do not expect macro.
44884         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44885         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44886         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44887         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44888         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44889         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44890         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44891         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44892         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44893         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44894         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44895         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44896         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44897         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44898         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44899         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44900         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44901         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44902         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44903         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44904         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44905         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44906         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44907         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44908         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44909         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44910         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44911         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44912         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44913         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44914         [XPG3] (acosh): Likewise.
44915         [XPG3] (asinh): Likewise.
44916         [XPG3] (atanh): Likewise.
44917         [XPG3] (cbrt): Likewise.
44918         [XPG3] (expm1): Likewise.
44919         [XPG3] (ilogb): Likewise.
44920         [XPG3] (log1p): Likewise.
44921         [XPG3] (logb): Likewise.
44922         [XPG3] (nextafter): Likewise.
44923         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44924         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44925         [XPG3] (remainder): Likewise.
44926         [XPG3] (rint): Likewise.
44927         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44928         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44929         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44930         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44931         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44932         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44933         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44934         [UNIX98 || XOPEN2K] (scalb): Expect.
44935         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44936         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44937         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44938         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44939         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44940         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44941         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44942         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44943         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44944         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44945         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44946         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44947         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44948         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44949         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44950         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44951         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44952         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44953         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44954         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44955         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44956         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44957         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44958         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44959         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44960         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44961         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44962         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44963         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44964         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44965         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44966         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44967         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44968         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44969         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44970         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44971         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44972         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44973         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44974         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44975         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44976         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44977         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44978         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44979         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44980         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44981         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44982         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44983         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44984         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44985         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44986         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44987         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44988         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44989         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44990         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44991         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44992         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44993         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44994         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44995         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44996         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44997         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44998         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44999         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45000         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45001         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45002         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45003         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45004         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45005         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45006         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45007         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45008         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45009         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45010         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45011         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45012         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45013         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45014         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45015         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45016         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45017         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45018         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45019         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45020         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45021         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45022         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45023         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45024         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45025         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45026         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45027         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45028         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45029         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45030         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45031         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45032         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45033         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45034         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45035         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45036         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45037         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45038         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45039         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45040         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45041         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45042         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45043         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45044         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45045         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45046         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45047         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45048         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45049         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45050         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45051         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45052         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45053         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45054         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45055         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45056         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45057         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45058         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45059         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45060         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45061         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45062         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45063         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45064         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45065         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45066         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45067         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45068         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45069         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45070         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45071         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45073         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45074         _XOPEN_SOURCE_EXTENDED for XPG4.
45076         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45078         * Makeconfig (localtime): Remove variable.
45079         (inst_localtime-file): Likewise.
45081 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45084         Update.
45085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45086         Update.
45087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45088         Update.
45089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45090         Update.
45091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45092         Update.
45093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45094         Update.
45095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45096         Update.
45097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45098         Update.
45099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45100         Update.
45102 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45104         [BZ #2550]
45105         [BZ #2570]
45106         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45107         comparisons to determine direction to adjust input.
45108         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45109         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45110         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45111         Likewise.
45112         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45113         Likewise.
45114         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45115         Likewise.
45116         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45117         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45118         Likewise.
45119         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45120         Likewise.
45121         * math/libm-test.inc (nexttoward_test): Add more tests.
45123 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45125         [BZ #14040]
45126         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45127         in version GLIBC_2.1, not GLIBC_2.0.
45128         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45129         Likewise.
45131 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45133         [BZ #13942]
45134         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45135         (1 - x) * (1 + x).
45136         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45137         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45138         * math/libm-test.inc (acos_test): Add more tests.
45139         (asin_test): Likewise.
45140         * sysdeps/i386/fpu/libm-test-ulps: Update.
45141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45143         [BZ #14034]
45144         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45145         of square root.
45146         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45147         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45148         * math/libm-test.inc (acos_test_tonearest): New function.
45149         (acos_test_towardzero): Likewise.
45150         (acos_test_downward): Likewise.
45151         (acos_test_upward): Likewise.
45152         (asin_test_tonearest): Likewise.
45153         (asin_test_towardzero): Likewise.
45154         (asin_test_downward): Likewise.
45155         (asin_test_upward): Likewise.
45156         (main): Call the new functions.
45157         * sysdeps/i386/fpu/libm-test-ulps: Update.
45158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45160         [BZ #13884]
45161         [BZ #13924]
45162         * math/e_exp10.c: Include <float.h>.
45163         (__ieee754_exp10): Handle underflow here rather than multiplying
45164         large negative argument by M_LN10.
45165         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45166         of __ieee754_expf.
45167         * math/e_exp10l.c: Include <float.h>.
45168         (__ieee754_exp10l): Handle underflow here rather than multiplying
45169         large negative argument by M_LN10l.
45170         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45171         spurious overflow exception on underflow.
45173 2012-04-29  Marek Polacek  <polacek@redhat.com>
45175         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45176         (__fortify_function): New macro.
45177         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45178         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45179         __extern_always_inline.
45180         * libio/bits/stdio2.h: Likewise.
45181         * libio/bits/stdio.h: Likewise.
45182         * string/string.h: Likewise.
45183         * string/bits/string3.h: Likewise.
45184         * include/stdio.h: Likewise.
45185         * stdlib/bits/stdlib.h: Likewise.
45186         * stdlib/stdlib.h: Likewise.
45187         * rt/bits/mqueue2.h: Likewise.
45188         * rt/mqueue.h: Likewise.
45189         * posix/bits/unistd.h: Likewise.
45190         * posix/unistd.h: Likewise.
45191         * io/bits/poll2.h: Likewise.
45192         * io/bits/fcntl2.h: Likewise.
45193         * io/fcntl.h: Likewise.
45194         * io/sys/poll.h: Likewise.
45195         * misc/bits/syslog.h: Likewise.
45196         * misc/bits/syslog-ldbl.h: Likewise.
45197         * misc/sys/syslog.h: Likewise.
45198         * socket/bits/socket2.h: Likewise.
45199         * socket/sys/socket.h: Likewise.
45200         * debug/tst-chk1.c: Likewise.
45201         * wcsmbs/bits/wchar2.h: Likewise.
45202         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45203         * wcsmbs/wchar.h: Likewise.
45205 2012-04-29  Andreas Jaeger  <aj@suse.de>
45207         * Makerules (tests): Remove enable-check-abi protection.
45208         (check-abi-warn): Remove.
45209         (check-abi-%): Remove check-abi-warn usage.
45211         * configure.in: Remove check-abi configure option.
45212         * configure: Regenerated.
45213         * config.make.in (enable-check-abi): Remove.
45215 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45217         [BZ #14033]
45218         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45219         double functions to double *_finite functions.
45221         [BZ #13941]
45222         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45223         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45224         LDBL_MIN_EXP.
45225         * stdio-common/Makefile (tests): Add tst-sprintf3.
45226         * stdio-common/tst-sprintf3.c: New file.
45228         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45229         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45231 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45233         * conform/conformtest.pl: Remove duplicate typed-constant
45234         handling.
45236 2012-04-28  David S. Miller  <davem@davemloft.net>
45238         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45239         (check-abi-%): Remove AWK script prerequisite and explicit
45240         abilist directory.
45241         (check-abi): Rewrite to just diff the symlist with the abilist.
45242         (config-tls, config-abi-config): Delete, no longer used.
45243         (update-abi-%): Remove AWK script and explicit abilist directory.
45244         (update-abi): Rewrite to simply compare and conditionally copy the
45245         symlist and the sysdep abilist file.  Remove update-abi-config
45246         checks.
45247         * abilist/ld.abilist: Remove.
45248         * abilist/libBrokenLocale.abilist: Remove.
45249         * abilist/libanl.abilist: Remove.
45250         * abilist/libcrypt.abilist: Remove.
45251         * abilist/libdl.abilist: Remove.
45252         * abilist/librt.abilist: Remove.
45253         * abilist/libthread_db.abilist: Remove.
45254         * abilist/libutil.abilist: Remove.
45255         * scripts/extract-abilist.awk: Remove.
45256         * scripts/merge-abilist.awk: Remove.
45257         * sysdeps/generic/libcidn.abilist: New file.
45258         * sysdeps/generic/libnss_compat.abilist: New file.
45259         * sysdeps/generic/libnss_db.abilist: New file.
45260         * sysdeps/generic/libnss_dns.abilist: New file.
45261         * sysdeps/generic/libnss_files.abilist: New file.
45262         * sysdeps/generic/libnss_hesiod.abilist: New file.
45263         * sysdeps/generic/libnss_nis.abilist: New file.
45264         * sysdeps/generic/libnss_nisplus.abilist: New file.
45265         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45266         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45267         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45268         file.
45269         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45270         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45271         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45272         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45273         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45274         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45275         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45276         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45277         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45278         file.
45279         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45280         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45281         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45282         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45283         file.
45284         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45285         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45286         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45287         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45288         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45289         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45290         file.
45291         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45292         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45293         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45294         file.
45295         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45296         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45297         New file.
45298         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45299         New file.
45300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45301         New file.
45302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45303         New file.
45304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45305         New file.
45306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45307         New file.
45308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45309         New file.
45310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45311         New file.
45312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45313         New file.
45314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45315         New file.
45316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45317         New file.
45318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45319         New file.
45320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45321         New file.
45322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45323         file.
45324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45325         New file.
45326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45327         New file.
45328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45329         file.
45330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45331         New file.
45332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45333         New file.
45334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45335         file.
45336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45337         New file.
45338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45339         New file.
45340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45341         New file.
45342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45343         New file.
45344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45345         New file.
45346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45347         New file.
45348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45350         file.
45351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45352         New file.
45353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45354         file.
45355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45356         file.
45357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45358         file.
45359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45360         file.
45361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45362         file.
45363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45364         New file.
45365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45366         file.
45367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45368         file.
45369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45370         New file.
45371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45372         file.
45373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45375         file.
45376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45377         New file.
45378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45379         file.
45380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45381         file.
45382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45383         file.
45384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45385         file.
45386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45387         file.
45388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45389         New file.
45390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45391         file.
45392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45393         file.
45394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45395         New file.
45396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45397         file.
45398         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45399         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45400         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45401         file.
45402         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45403         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45404         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45405         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45406         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45407         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45408         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45409         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45410         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45411         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45414         file.
45415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45416         New file.
45417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45418         file.
45419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45420         file.
45421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45422         file.
45423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45424         file.
45425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45426         file.
45427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45428         New file.
45429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45430         New file.
45431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45432         file.
45433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45434         New file.
45435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45436         file.
45437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45439         file.
45440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45441         New file.
45442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45443         file.
45444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45445         file.
45446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45447         file.
45448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45449         file.
45450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45451         file.
45452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45453         New file.
45454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45455         New file.
45456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45457         file.
45458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45459         New file.
45460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45461         file.
45463 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45465         * conform/conformtest.pl: Fix typo in handling typed-constant from
45466         allow-header.
45468 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45470         * README: Cut down references to pre-2.6 Linux kernels and
45471         Linuxthreads.  Update lists of configurations in libc and ports
45472         and sort alphabetically.  Say "or newer" with Linux kernel version
45473         requirements.
45475         * config.h.in [IS_IN_build]: Allow compiling without optimization.
45477 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45479         [BZ #887]
45480         * math/libm-test.inc (logb_test_downward): New test to expose
45481         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45482         rounding mode.
45484 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45486         [BZ #14027]
45487         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45488         to be done.
45489         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45490         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45492 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
45494         * sysdeps/unix/i386/brk.S: Remove file.
45495         * sysdeps/unix/i386/dl-brk.S: Likewise.
45496         * sysdeps/unix/i386/pipe.S: Likewise.
45497         * sysdeps/unix/i386/sigreturn.S: Likewise.
45498         * sysdeps/unix/i386/syscall.S: Likewise.
45499         * sysdeps/unix/i386/vfork.S: Likewise.
45500         * sysdeps/unix/i386/wait.S: Likewise.
45502         * sysdeps/unix/common/tcsendbrk.c: Move to ...
45503         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45505         * configure.in (arm*-none*): Do not allow without
45506         --enable-hacker-mode.
45507         (netbsd*): Remove case setting base_os.
45508         (386bsd*): Likewise.
45509         (freebsd*): Likewise.
45510         (bsdi*): Likewise.
45511         (osf*): Likewise.
45512         (sunos*): Likewise.
45513         (ultrix*): Likewise.
45514         (newsos*): Likewise.
45515         (dynix*): Likewise.
45516         (*bsd*): Likewise.
45517         (sysv*): Likewise.
45518         (isc*): Likewise.
45519         (esix*): Likewise.
45520         (sco*): Likewise.
45521         (minix*): Likewise.
45522         (irix4*): Likewise.
45523         (irix6*): Likewise.
45524         (solaris[2-9]*): Likewise.
45525         (none): Likewise.
45526         * configure: Regenerated.
45528 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45530         [BZ #11521]
45531         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45532         overflow or cancellation in calculating denominator.
45533         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45535         down expression to avoid unexpected rounding in newer GCCs.
45536         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45538 2012-04-26  David S. Miller  <davem@davemloft.net>
45540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45541         long-double compat symbols.
45542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45556 2012-04-25  David S. Miller  <davem@davemloft.net>
45558         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45559         HWCAP_* values only after the memory barriers have been defined.
45560         (atomic_full_barrier): Define.
45561         (atomic_read_barrier): Define.
45562         (atomic_write_barrier): Define.
45564 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45566         * shlib-versions: Add libgcc_s version information.
45567         * sysdeps/generic/libgcc_s.h: Remove.
45568         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45569         libgcc_s.h.
45570         * sysdeps/gnu/unwind-resume.c: Likewise.
45571         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45573 2012-04-25  David S. Miller  <davem@davemloft.net>
45575         * sysdeps/unix/sparc/brk.S: Delete.
45576         * sysdeps/unix/sparc/dl-brk.S: Delete.
45577         * sysdeps/unix/sparc/pipe.S: Delete.
45578         * sysdeps/unix/sparc/sysdep.S: Delete.
45579         * sysdeps/unix/sparc/sysdep.h: Delete.
45580         * sysdeps/unix/sparc/vfork.S: Delete.
45581         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45582         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45583         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45584         (ret_ERRVAL, r0, r1, MOVE): Define.
45585         (JUMPTARGET): Remove.
45586         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45587         sysdeps/unix/sparc/sysdep.h
45588         (ENTRY, END): Remove.
45589         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45591 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
45593         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45594         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45595         -DIS_IN_build.
45597         * timezone/README: Update upstream location and email address for
45598         tzcode and tzdata.
45599         * timezone/zdump.c: Update from tzcode 2012b.
45600         * timezone/zic.c: Likewise.
45602         * configure.in (libc_cv_as_needed): Remove test.
45603         * configure: Regenerated.
45604         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45605         conditional definition.
45606         [$(have-as-needed) != yes] (no-as-needed): Likewise.
45607         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45608         * config.make.in (have-as-needed): Remove variable.
45610 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45611             Paul Pluzhnikov  <ppluzhnikov@google.com>
45613         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45614         strings correctly.
45616 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
45618         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45619         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45620         * sysdeps/sh/strlen.S: Likewise.
45622 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45624         * sysdeps/unix/fork.S: Remove file.
45625         * sysdeps/unix/i386/fork.S: Likewise.
45626         * sysdeps/unix/sparc/fork.S: Likewise.
45628         * sysdeps/unix/system.c: Remove file.
45629         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45631         * sysdeps/unix/getegid.S: Remove file.
45632         * sysdeps/unix/geteuid.S: Likewise.
45634 2012-04-24  Roland McGrath  <roland@hack.frob.com>
45636         * scripts/check-localplt.awk: New file.
45637         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45638         of diff.
45639         * scripts/data/localplt-generic.data: Add a comment.
45641         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45642         NODE when __dir_mkfile failed.
45643         * sysdeps/mach/hurd/symlinkat.c: Likewise.
45644         Reported by Ludovic Courtès <ludo@gnu.org>.
45646 2012-04-24  Andreas Jaeger  <aj@suse.de>
45648         * Makerules (common-clean): Also remove gen-as-const-headers
45649         files.
45651 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45653         * Makerules (native-compile): Do not change working directory for
45654         build.  Use $(OUTPUT_OPTION) in command.
45655         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45657 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45659         [BZ #13886]
45660         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45661         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45662         * math/libm-test.inc (floor_test): Add more tests.
45663         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45665 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45667         * sysdeps/unix/getdents.c: Remove file.
45668         * sysdeps/unix/sysv/getdents.c: Likewise.
45669         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45671         * sysdeps/unix/syscalls.list (madvise): Add syscall from
45672         sysdeps/unix/mman/syscalls.list.
45673         (mmap): Likewise.
45674         (mprotect): Likewise.
45675         (msync): Likewise.
45676         (munmap): Likewise.
45677         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45678         * sysdeps/unix/mman/syscalls.list: Remove.
45679         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45681         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45682         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45683         * configure: Regenerated.
45684         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45685         $(libgcc_s_suffix).
45686         * config.make.in (libgcc_s_suffix): Remove variable.
45688 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
45690         * sysdeps/unix/sysv/gethostname.c: Move to ...
45691         * sysdeps/posix/gethostname.c: ... here.
45693         * sysdeps/unix/execve.S: Remove file.
45695         * sysdeps/unix/_exit.S: Remove file.
45697 2012-04-23  Andreas Jaeger  <aj@suse.de>
45699         [BZ #13739]
45700         * manual/Makefile: Remove make dist support, there's no
45701         need for a stand-alone documentation tar ball.
45702         (TEXI2DVI): Define always, it's not in Makeconfig.
45703         (dist): Removed.
45704         (tar-it): Removed.
45705         (edition): Removed.
45706         (glibc-doc-$(edition).tar): Removed
45707         (%.Z): Removed.
45708         (%.gz): Removed.
45709         (%.uu): Removed.
45710         (ETAGS): Remove, it's in Makeconfig.
45711         (move-if-change): Remove, it's in Makeconfig.
45713 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
45715         [BZ #13970]
45716         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45717         (strtod, strtof, strtold, strtol, strtoul, strtoq)
45718         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45719         (strtod_l, strtof_l, strtold_l): Remove __wur.
45720         It is not necessarily an error to ignore strtol's return value.
45721         One can reliably look at the stored endptr to decide whether
45722         the number had valid syntax.
45724 2012-04-21  Andreas Jaeger  <aj@suse.de>
45726         [BZ #13739]
45727         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45729 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
45731         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45732         * sysdeps/unix/sysv/Versions: Remove file.
45734 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
45736         [BZ #13927]
45737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45739 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
45741         [BZ #7064]
45742         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45743         version from __vm86.
45745 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
45747         * sysdeps/unix/common/lxstat.c: Remove file.
45748         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45750         * sysdeps/unix/sysv/Makefile: Remove file.
45752         * sysdeps/unix/sysv/direct.h: Remove file.
45754         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45755         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45756         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45757         * sysdeps/unix/sysv/bits/signum.h: Likewise.
45758         * sysdeps/unix/sysv/bits/stat.h: Likewise.
45759         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45760         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45762         * sysdeps/unix/sysv/setrlimit.c: Remove file.
45764         * sysdeps/unix/xmknod.c: Remove file.
45765         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45767         * sysdeps/unix/sysv/settimeofday.c: Remove file.
45769         * sysdeps/unix/sysv/i386/time.S: Remove file.
45771         * sysdeps/unix/fxstat.c: Remove file.
45772         * sysdeps/unix/xstat.c: Likewise.
45773         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45775         * sysdeps/unix/sysv/sigaction.c: Remove file.
45777         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45778         (sysdep_headers): Remove variable.
45779         [termio.h not in sysdep_headers] (generated): Likewise.
45780         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45781         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45782         * sysdeps/unix/sysv/tcdrain.c: Likewise.
45783         * sysdeps/unix/sysv/tcflow.c: Likewise.
45784         * sysdeps/unix/sysv/tcflush.c: Likewise.
45785         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45786         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45787         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45788         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45789         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45791         * sysdeps/unix/siglist.c: Remove file.
45793         * sysdeps/unix/getppid.S: Remove file.
45795         * sysdeps/unix/mkdir.c: Remove file.
45796         * sysdeps/unix/rmdir.c: Likewise.
45798 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
45800         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45801         ERR_MAX value.
45802         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45803         errlist-compat value.
45805 2012-04-18  David S. Miller  <davem@davemloft.net>
45807         * sysdeps/generic/memcopy.h (reg_char): Delete.
45808         * debug/strcat_chk.c: Use char, not reg_char.
45809         * debug/strcpy_chk.c: Likewise.
45810         * debug/strncat_chk.c: Likewise.
45811         * debug/strncpy_chk.c: Likewise.
45812         * string/memchr.c: Likewise.
45813         * string/memrchr.c: Likewise.
45814         * string/rawmemchr.c: Likewise.
45815         * string/strcat.c: Likewise.
45816         * string/strchr.c: Likewise.
45817         * string/strchrnul.c: Likewise.
45818         * string/strcmp.c: Likewise.
45819         * string/strcpy.c: Likewise.
45820         * string/strncat.c: Likewise.
45821         * string/strncmp.c: Likewise.
45822         * string/strncpy.c: Likewise.
45824 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45826         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45827         __builtin_memcopy is called when src and dest ranges are known to not
45828         overlap.
45830 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45832         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45833         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45834         fwd_align_merge macro call.
45835         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45836         bwd_align_merge macro call.
45837         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45839 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45841         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45842         bwd_align_merge macros.
45843         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45844         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45845         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45847 2012-04-18  David S. Miller  <davem@davemloft.net>
45849         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45851 2012-04-18  Andreas Jaeger  <aj@suse.de>
45853         [BZ# 6794]
45854         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45855         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45856         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45858         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45859         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45860         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45862         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45863         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45864         Adjust for changed ldbl-128 files.
45866         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45867         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45868         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45870 2012-04-17  David S. Miller  <davem@davemloft.net>
45872         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45874 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45876         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45877         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45878         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45879         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45880         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45881         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45883 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45885         [BZ #6794]
45886         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45887         * math/libm-test.inc: Add ilogb errno and exception tests.
45888         * math/w_ilogb.c: New file: ilogb wrapper.
45889         * math/w_ilogbf.c: New file: ilogbf wrapper.
45890         * math/w_ilogbl.c: New file: ilogbl wrapper.
45891         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45892         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45893         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45894         exception being thrown with 0.0 as argument.
45895         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45896         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45897         exception being thrown with 0.0 as argument.
45898         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45899         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45900         exception being thrown with 0.0 as argument.
45901         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45902         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45903         exception being thrown with 0.0 as argument.
45904         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45905         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45906         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45907         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45908         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45909         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45910         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45911         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45912         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45914 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45916         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45917         with altivec.
45919 2012-04-16  Marek Polacek  <polacek@redhat.com>
45921         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45923 2012-04-16  Marek Polacek  <polacek@redhat.com>
45925         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45926         operands of fdivp instruction.
45928 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45930         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45931         * elf/tst-auditmod3b.c: Likewise.
45932         * elf/tst-auditmod4b.c: Likewise.
45933         * elf/tst-auditmod5b.c: Likewise.
45934         * elf/tst-auditmod6b.c: Likewise.
45935         * elf/tst-auditmod6c.c: Likewise.
45936         * elf/tst-auditmod7b.c: Likewise.
45937         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45938         * sysdeps/x86_64/preconfigure.in: Likewise.
45939         * sysdeps/x86_64/preconfigure: Regenerated.
45941 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45943         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45944         __ILP32__.
45946 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45948         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45949         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45951 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45953         [BZ #13973]
45954         * locale/iso-639.def: Fix gl language name. Spotted by
45955         Yaron Shahrabani.
45957 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45959         [BZ #2074]
45960         * libio/libio.h (__io_write_fn): Update comment.
45962 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45964         [BZ #2074]
45965         * stdio.texi (Hook Functions): The user provided writer function
45966         is not allowed to return -1.
45968 2012-04-11  David S. Miller  <davem@davemloft.net>
45970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45972 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45974         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45975         Add a leading slash to rtkaio.
45977 2012-04-11  Jim Meyering  <meyering@redhat.com>
45979         [BZ #11959]
45980         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45981         It is not necessarily an error to ignore fwrite's return
45982         value.  One can reliably use ferror to test for errors after
45983         the fact.
45985 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45987         * bits/types.h (__snseconds_t): New type.
45988         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45990         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45991         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45992         (__SNSECONDS_T_TYPE): Likewise.
45993         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45994         (__SNSECONDS_T_TYPE): Likewise.
45995         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45996         (__SNSECONDS_T_TYPE): Likewise.
45998 2012-04-10  Andreas Jaeger  <aj@suse.de>
46000         [BZ #2636]
46001         * manual/time.texi (Processor Time): Return type of times is
46002         elapsed real time since an arbitrary point in the past.
46003         (CPU Time): Move CLK_TCK from here...
46004         (Processor Time): ...to here.  Correct description.
46005         * manual/conf.texi (Constants for Sysconf): Correct description of
46006         _SC_CLK_TCK.
46008 2012-04-10  David S. Miller  <davem@davemloft.net>
46010         [BZ #13967]
46011         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46012         where the is a gap between DT_REL(A) and DT_JMPREL.
46014 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46016         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46017         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46018         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46020 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46022         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46023         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46024         (dl_main): Handle --inhibit-cache.
46025         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46026         _dl_inhibit_cache.
46027         * elf/dl-load.c (_dl_map_object): Use it.
46028         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46030 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46032         [BZ #13872]
46033         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46034         (__ieee754_powl): Saturate large exponents rather than testing for
46035         overflow of y*log2(x).
46036         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46037         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46038         exceptions.
46040         [BZ #11521]
46041         * math/s_ctan.c: Include <float.h>.
46042         (__ctan): Avoid internal overflow or cancellation in calculating
46043         denominator.
46044         * math/s_ctanf.c: Likewise.
46045         * math/s_ctanl.c: Likewise.
46046         * math/s_ctanh.c: Likewise.
46047         * math/s_ctanhf.c: Likewise.
46048         * math/s_ctanhl.c: Likewise.
46049         * math/libm-test.inc (ctan_test): Add more tests.
46050         (ctanh_test): Likewise.
46051         * sysdeps/i386/fpu/libm-test-ulps: Update.
46052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46054 2012-04-09  Andreas Jaeger  <aj@suse.de>
46056         [BZ #6894]
46057         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46058         is an optional BSD extension.
46060         [BZ #10254]
46061         * manual/stdio.texi (Opening Streams): Document additional fopen
46062         parameters.
46064 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46066         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46067         %eax without telling the compiler.
46069 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46071         [BZ # 13963]
46072         * manual/install.texi: Use sourceware.org.
46074 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46076         [BZ #13873]
46077         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46078         (__ieee754_pow): Generate overflow and underflow using huge*huge
46079         and tiny*tiny rather than just returning constant infinity or zero
46080         for large exponents.
46081         * math/libm-test.inc (pow_test): Require overflow exceptions for
46082         applicable cases of large exponents.
46084         [BZ #706]
46085         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46086         (__ieee754_pow): Use iterative multiplication algorithm only for
46087         integer exponents with absolute value below 1024.  Check for odd
46088         integer exponents when using algorithm for real exponents.
46089         * math/libm-test.inc (pow_test): Add more tests.
46090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46092 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46094         [BZ #13705]
46095         * math/libm-test.inc (exp_test): Do not allow overflow exception
46096         on underflow test.
46098 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46100         [BZ #13705]
46101         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46102         instead of __kernel_standard_f.
46104 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46106         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46107         * sysdeps/x86_64/memset_chk.S: Likewise.
46109 2012-04-08  Andreas Jaeger  <aj@suse.de>
46111         [BZ #10153]
46112         * manual/startup.texi (Environment Access): Describe return value
46113         for putenv and setenv.
46115         [BZ #6895]
46116         * manual/filesys.texi (Directory Entries): Add description for
46117         DT_LNK.
46119         [BZ #6890]
46120         * manual/filesys.texi (Directory Entries): Clarify that it's file
46121         system not operating system in the description of DT_UNKNOWN.
46123         [BZ #6578]
46124         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46126 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46128         [BZ #6649]
46129         * manual/llio.texi (Opening and Closing Files): Add cross
46130         reference to explain mode argument.
46132 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46134         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46135         * sysdeps/x86_64/memset_chk.S: Likewise.
46137 2012-04-07  David S. Miller  <davem@davemloft.net>
46139         * elf/elf.h (R_SPARC_WDISP10): Define.
46140         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46141         R_SPARC_SIZE32.
46142         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46143         R_SPARC_SIZE64 and R_SPARC_H34.
46145 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46147         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46148         conditions and remove no longer applicable assertion.
46150 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46152         * bits/byteswap.h: Include <features.h>.
46153         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46154         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46156 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46158         * bits/byteswap.h (__bswap_16): Removed.
46159         Include <bits/byteswap-16.h> to get __bswap_16.
46160         * sysdeps/i386/bits/byteswap.h: Likewise.
46161         * sysdeps/s390/bits/byteswap.h: Likewise.
46162         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46163         * bits/byteswap-16.h: New file.
46164         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46165         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46166         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46167         * string/Makefile (headers): Add bits/byteswap-16.h.
46169 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46171         [BZ #13895]
46172         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46173         extra indirection.
46174         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46175         * nss/tst-nss-static.c: New.
46177 2012-04-06  Robert Millan  <rmh@gnu.org>
46179         [BZ #6486]
46180         * manual/llio.texi (File Position Primitive): lseek
46181         refers to WHENCE when it really means OFFSET.
46183 2012-04-06  Andreas Jaeger  <aj@suse.de>
46185         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46186         strncmp declarations.
46188         * abilist/libc.abilist: Add __poll and __ppoll.
46190 2012-04-05  David S. Miller  <davem@davemloft.net>
46192         * scripts/check-local-headers.sh: Accept a host triplet in the
46193         path matched by the exclude regexp.
46195         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46196         definition.
46197         * sysdeps/powerpc/powerpc32/dl-machine.h
46198         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46199         * sysdeps/s390/s390-32/dl-machine.h
46200         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46201         * sysdeps/sparc/sparc32/dl-machine.h
46202         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46203         * sysdeps/sparc/sparc64/dl-machine.h
46204         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46206         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46207         lazy binding.
46208         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46209         undefined symbol errors.
46211         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46212         DT_NEEDED entries.
46214 2012-04-05  Michael Matz  <matz@suse.de>
46216         [BZ #13592]
46217         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46219 2012-04-05  Andreas Jaeger  <aj@suse.de>
46221         [BZ #13908]
46222         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46223         comment.
46225 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46227         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46228         which ROUND is no valid rounding mode.
46230 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46232         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46233         read again.
46234         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46236 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46238         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46239         an exception using FPU order intentionally.
46241 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46243         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46244         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46245         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46246         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46248 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46250         [BZ #12340]
46251         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46252         EINVAL when BUFLEN is too smal.
46254 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46256         [BZ #13553]
46257         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46258         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46260 2012-04-03  Andreas Jaeger  <aj@suse.de>
46262         [BZ #13938]
46263         * manual/setjmp.texi (System V contexts): Fix sentence.
46265         [BZ #13926]
46266         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46267         New macro for this case.
46268         [!__GNUC__] (__bswap_64): New inline function for this case.
46269         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46270         * bits/byteswap.h: Likewise.
46271         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46272         ull, guard with __GLIBC_HAVE_LONG_LONG.
46274         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46275         __GLIBC_HAVE_LONG_LONG.
46277         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46278         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46280 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46282         [BZ #13691]
46283         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46284         inptr and inend, rather than using last_ch.
46286 2012-04-02  David S. Miller  <davem@davemloft.net>
46288         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46289         * stdio-common/printf-parse.h (read_int): Change return type to
46290         'int', return -1 on INT_MAX overflow.
46291         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46292         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46293         overflows INT_MAX.  Check for overflow of in-format-string precision
46294         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46295         SIZE_MAX not INT_MAX for integer overflow test.
46296         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46297         skip the construct in the format string but do not record anything.
46298         * stdio-common/bug22.c: Adjust to test both width/prevision
46299         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46300         explicitly for proper errno values.
46302 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46304         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46305         CHAR_MAX.
46306         * string/test-strcmp.c [! WIDE]: Likewise.
46307         * time/tst-mktime2.c: Likewise for INT_MAX.
46308         * string/test-string.h: #include <sys/param.h> for MIN.
46310         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46311         * sysdeps/i386/init-first.c (init): Likewise.
46312         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46313         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46314         * sysdeps/sh/init-first.c (init): Likewise.
46316 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46318         * po/ru.po: Update from translation team.
46319         * po/vi.po: Likewise.
46321 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46323         * resolv/nss_dns/dns-host.c: Merge copyright years.
46325 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46327         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46328         Optimize memcpy with prefetch if
46329         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46330         src, dst pointers have unequal 16 byte alignments.
46332 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46334         [BZ #13928]
46335         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46336         from a CNAME entry and return the minimum ttl for the query.
46337         (gaih_getanswer_slice): Likewise.
46339 2012-03-30  Jeff Law  <law@redhat.com>
46341         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46342         due to long keys.
46343         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46344         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46346         * resolv/nss_dns/dns-host.c: Update copyright year.
46348 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46350         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46351         requests to save a system call.  Fix check that all bytes are sent.
46353         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46354         comments for sendmmsg.
46356 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46358         [BZ #13691]
46359         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46360         with only 1 character between 0x0041 and 0x01b0.
46361         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46362         * wcsmbs/tst-mbsnrtowcs.c: New file.
46364 2012-03-29  David S. Miller  <davem@davemloft.net>
46366         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46367         small copies by hand.
46369 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46371         [BZ #13761]
46372         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46373         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46374         group memberships.
46376 2012-03-28  David S. Miller  <davem@davemloft.net>
46378         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46379         that branches into memcpy.
46380         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46382         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46383         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46385         bits.
46386         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46387         implementation too.
46388         * sysdeps/sparc/mempcpy.S: New file.
46390         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46391         the IFUNC routine in the libc case.
46392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46394         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46395         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46396         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46397         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46398         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46399         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46400         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46401         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46403         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46404         loop to 256 bytes instead of 64 bytes and fix test signedness.
46406         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46407         * sysdeps/sparc/sparc32/Makefile: rather than here...
46408         * sysdeps/sparc/sparc64/Makefile: and here.
46410 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46412         * malloc/mallocbug.c: Avoid warnings about unused variables.
46414 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46416         [BZ #13760]
46417         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46418         in the right place. Discard and retry query if response is
46419         larger than input buffer size.
46421 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46423         [BZ #369]
46424         [BZ #2678]
46425         [BZ #3866]
46426         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46427         x for large integer exponent.
46428         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46429         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46430         sign of result as needed afterwards.
46431         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46432         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46433         result for underflowing pow the same as for overflow.
46434         (__kernel_standard_l): Handle powl overflow and underflow here
46435         rather than calling __kernel_standard.
46436         * math/libm-test.inc (pow_test): Add more tests.
46438         [BZ #3868]
46439         [BZ #13879]
46440         [BZ #13910]
46441         [BZ #13911]
46442         [BZ #13912]
46443         [BZ #13913]
46444         [BZ #13915]
46445         [BZ #13916]
46446         [BZ #13917]
46447         [BZ #13918]
46448         [BZ #13919]
46449         [BZ #13920]
46450         [BZ #13921]
46451         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46452         * sysdeps/ieee754/k_standard.c: Include <float.h>.
46453         (__kernel_standard_l): New function.
46454         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46455         __kernel_standard.
46456         * math/w_acosl.c (__acosl): Likewise.
46457         * math/w_asinl.c (__asinl): Likewise.
46458         * math/w_atan2l.c (__atan2l): Likewise.
46459         * math/w_atanhl.c (__atanhl): Likewise.
46460         * math/w_coshl.c (__coshl): Likewise.
46461         * math/w_exp10l.c (__exp10l): Likewise.
46462         * math/w_exp2l.c (__exp2l): Likewise.
46463         * math/w_fmodl.c (__fmodl): Likewise.
46464         * math/w_hypotl.c (__hypotl): Likewise.
46465         * math/w_j0l.c (__j0l, __y0l): Likewise.
46466         * math/w_j1l.c (__j1l, __y1l): Likewise.
46467         * math/w_jnl.c (__jnl, __ynl): Likewise.
46468         * math/w_lgammal.c (__lgammal): Likewise.
46469         * math/w_log10l.c (__log10l): Likewise.
46470         * math/w_log2l.c (__log2l): Likewise.
46471         * math/w_logl.c (__logl): Likewise.
46472         * math/w_powl.c (__powl): Likewise.
46473         * math/w_remainderl.c (__remainderl): Likewise.
46474         * math/w_scalbl.c (sysv_scalbl): Likewise.
46475         * math/w_sinhl.c (__sinhl): Likewise.
46476         * math/w_sqrtl.c (__sqrtl): Likewise.
46477         * math/w_tgammal.c (__tgammal): Likewise.
46478         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46479         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46480         * math/libm-test.inc (acos_test): Add more tests.
46481         (acosh_test): Likewise.
46482         (asin_test): Likewise.
46483         (atanh_test): Likewise.
46484         (exp_test): Likewise.
46485         (exp10_test): Likewise.
46486         (exp2_test): Likewise.
46487         (expm1_test): Likewise.
46488         (lgamma_test): Likewise.
46489         (log_test): Likewise.
46490         (log10_test): Likewise.
46491         (log1p_test): Likewise.
46492         (log2_test): Likewise.
46493         (pow_test): Do not allow some spurious overflow exceptions.
46494         (sqrt_test): Add more tests.
46495         (tgamma_test): Likewise.
46496         (y0_test): Likewise.
46497         (y1_test): Likewise.
46498         (yn_test): Likewise.
46500 2012-03-27  Anton Blanchard  <anton@samba.org>
46502         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46503         MAP_HUGETLB.
46504         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46505         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46506         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46508 2012-03-27  David S. Miller  <davem@davemloft.net>
46510         * conform/Makefile: Run run-conformtest.sh using $(BASH).
46512         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46513         have-as-vis3 check.
46515 2012-03-27  Andreas Jaeger  <aj@suse.de>
46517         * sysdeps/x86_64/elf/configure.in: Moved to ...
46518         * sysdeps/x86_64/configure.in: ... here.
46519         * sysdeps/x86_64/elf/start.S: Moved to ...
46520         * sysdeps/x86_64/start.S: ... here.
46521         * sysdeps/x86_64/elf/configure: Delete.
46523         * sysdeps/x86_64/configure.in: Merge contents from
46524         sysdeps/i386/configure.in (without i686 check).
46526         * sysdeps/i386/elf/Versions: Merge into ...
46527         * sysdeps/i386/Versions: ... this.
46528         * sysdeps/i386/elf/Versions: Delete file.
46529         * sysdeps/i386/elf/start.S: Moved to ...
46530         * sysdeps/i386/start.S: ...here.
46531         * sysdeps/i386/elf/configure.in: Merge into...
46532         * sysdeps/i386/configure.in: ...here.
46533         * sysdeps/i386/elf/configure.in: Delete file.
46534         * sysdeps/i386/elf/configure: Delete file.
46536         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46537         * debug/backtracesyms.c: ... here.
46538         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46539         * debug/backtracesymsfd.c: ... here.
46540         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46541         * sysdeps/generic/ifunc-sel.h: ... here.
46543         * sysdeps/unix/i386/start.c: Delete file.
46544         * sysdeps/unix/sparc/start.c: Delete file.
46545         * sysdeps/unix/start.c: Delete file.
46547         * sysdeps/sh/elf/configure.in: Moved to ...
46548         * sysdeps/sh/configure.in: ... here.
46549         * sysdeps/sh/elf/start.S: Moved to ...
46550         * sysdeps/sh/start.S: ... here.
46551         * sysdeps/sh/elf/configure: Delete file.
46553         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46554         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46555         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46556         * sysdeps/powerpc/powerpc64/entry.h: ... here.
46557         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46558         * sysdeps/powerpc/powerpc64/start.S: here.
46559         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46560         * sysdeps/powerpc/powerpc64/Makefile: ... this.
46561         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46562         * sysdeps/powerpc/powerpc64/configure.in: ... this.
46563         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46565         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46566         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46567         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46568         * sysdeps/powerpc/powerpc32/start.S: ... here.
46569         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46570         * sysdeps/powerpc/powerpc32/configure.in: ... this.
46571         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46573         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46574         * sysdeps/powerpc/ifunc-sel.h: ... here.
46575         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46576         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46578         * sysdeps/sparc/elf/configure.in: Moved to ...
46579         * sysdeps/sparc/configure.in: ... here.
46580         * sysdeps/sparc/elf/configure: Delete file.
46581         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46582         * sysdeps/sparc/sparc32/start.S: ... here.
46583         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46584         * sysdeps/sparc/sparc64/start.S: ... here.
46585         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46586         * sysdeps/sparc/sparc32/Makefile: ... this.
46587         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46588         * sysdeps/sparc/sparc64/Makefile: ... this.
46590         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46591         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46592         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46593         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46594         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46595         * sysdeps/s390/s390-32/setjmp.S: ... here.
46596         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46597         * sysdeps/s390/s390-32/configure.in: ... here.
46598         * sysdeps/s390/s390-32/elf/configure: Delete file.
46599         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46600         * sysdeps/s390/s390-32/start.S: ... here.
46602         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46603         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46604         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46605         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46606         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46607         * sysdeps/s390/s390-64/setjmp.S: ... here.
46608         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46609         * sysdeps/s390/s390-64/configure.in: ... here
46610         * sysdeps/s390/s390-64/elf/configure: Delete file.
46611         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46612         * sysdeps/s390/s390-64/start.S: ... here.
46613         * sysdeps/s390/s390-64/elf/configure: Delete.
46615         * configure.in: Remove support for elf directories in sysdeps.
46617         * configure: Regenerated.
46618         * sysdeps/i386/configure: Regenerated.
46619         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46620         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46621         * sysdeps/s390/s390-32/configure: Regenerated.
46622         * sysdeps/s390/s390-64/configure: Regenerated.
46623         * sysdeps/sh/configure: Regenerated.
46624         * sysdeps/sparc/configure: Regenerated.
46625         * sysdeps/x86_64/configure: Regenerated.
46627 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
46629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46631         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46632         denormal result into account.
46634 2012-03-25  Roland McGrath  <roland@hack.frob.com>
46636         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46637         Reported by Allan McRae <allan@archlinux.org>.
46639 2012-03-23  Jeff Law  <law@redhat.com>
46641         * nss/getnssent.c (__nss_getent): Fix typo.
46643 2012-03-23  David S. Miller  <davem@davemloft.net>
46645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46647 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
46649         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46650         to pad to uint64_t for each field.
46651         (dl_tls_index): Replace unsigned long with uint64_t.
46653 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
46654         Paul Pluzhnikov  <ppluzhnikov@google.com>
46656         [BZ #6528]
46657         * grp/Makefile (otherlibs): Don't set it.
46658         * inet/Makefile (otherlibs): Likewise.
46659         * login/Makefile (otherlibs): Likewise.
46660         * nscd/Makefile (otherlibs): Likewise.
46661         * posix/Makefile (otherlibs): Likewise.
46662         * pwd/Makefile (otherlibs): Likewise.
46663         * rt/Makefile (otherlibs): Likewise.
46664         * sunrpc/Makefile (otherlibs): Likewise.
46665         * nss/Makefile (otherlibs): Likewise.
46666         Add libnss_files to routines and static-only-routines.
46667         ($(objpfx)getent): Remove rule.
46668         * resolv/Makefile: Add libnss_dns and libresolv to routines and
46669         static-only-routines.
46671 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46673         [BZ #13892]
46674         * math/s_cexp.c: Include <float.h>.
46675         (__cexp): Handle exp result overflowing not necessarily
46676         overflowing both real and imaginary parts of result.
46677         * math/s_cexpf.c: Likewise.
46678         * math/s_cexpl.c: Likewise.
46679         * math/libm-test.inc (cexp_test): Add more tests.
46680         * sysdeps/i386/fpu/libm-test-ulps: Update.
46681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46683 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46685         * include/link.h (ELFW): New macro.
46686         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46687         Replace ELF64_R_TYPE with ELFW(R_TYPE).
46689 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46691         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46692         with uint64_t.
46694 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46696         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46697         declaration.
46698         (struct La_x32_retval): Likewise.
46700 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46702         * sysdeps/x86_64/preconfigure.in: New file.
46703         * sysdeps/x86_64/preconfigure: New generated file.
46705 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46707         [BZ #13824]
46708         * math/e_exp2l.c: Include <float.h>.
46709         (__ieee754_exp2l): Handle overflow and underflow cases
46710         separately.  Only pass fractional part of argument to
46711         __ieee754_expl.
46712         * math/libm-test.inc (exp2_test): Add more tests.
46714         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46715         negating x to take absolute value.
46716         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46717         Likewise.
46718         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46719         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46720         Likewise.
46721         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46722         computing low part if x was negated.
46723         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46725 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46727         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46728         la_x32_gnu_pltexit.
46729         (pltexit): Cast int_retval to ptrdiff_t.
46730         * elf/tst-auditmod3b.c: Likewise.
46731         * elf/tst-auditmod4b.c: Likewise.
46732         * elf/tst-auditmod5b.c: Likewise.
46733         * elf/tst-auditmod6b.c: Likewise.
46734         * elf/tst-auditmod6c.c: Likewise.
46735         * elf/tst-auditmod7b.c: Likewise.
46737         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46738         and x32_gnu_pltexit.
46740         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46741         __ELF_NATIVE_CLASS.
46742         (La_x32_regs): New macro.
46743         (La_x32_retval): Likewise.
46744         (la_x32_gnu_pltenter): New function prototype.
46745         (la_x32_gnu_pltexit): Likewise.
46747 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
46749         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46750         exponent.
46752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46754         * configure.in (libc_cv_cc_nofma): Check for option to disable
46755         generation of FMA instructions.
46756         * configure: Regenerate.
46757         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46758         * sysdeps/ieee754/dbl-64/Makefile: New file.
46759         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46760         Remove brandred-fma4.
46761         (CFLAGS-brandred-fma4.c): Remove.
46762         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46763         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46764         define.
46765         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46766         define.
46768 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46770         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46771         LLONG_MAX != LONG_MAX.
46772         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46773         (_fitoa_word): Likewise.
46774         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46775         LLONG_MAX != LONG_MAX.
46776         * stdio-common/_itowa.h: Include <_itoa.h>.
46777         (_itowa_word): Use _ITOA_WORD_TYPE on value.
46778         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
46779         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
46780         only if not defined.
46781         (_ITOA_WORD_TYPE): Likewise.
46782         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46783         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46785 2012-03-21  David S. Miller  <davem@davemloft.net>
46787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46789 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46791         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46792         of x86_64 when setting libc_cv_slibdir, libdir and
46793         libc_cv_localedir.
46794         * sysdeps/unix/sysv/linux/configure: Regenerated.
46796 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46798         * manual/lang.texi (Old Varargs): Remove section.
46799         (How Variadic): Update menu.
46800         (va_start): Do not mention varargs.h.
46802 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46803             Joseph Myers  <joseph@codesourcery.com>
46805         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46806         link test.
46807         * configure: Regenerated.
46809 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46811         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46812         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46813         conformtest.pl
46815 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46817         * NOTES: Remove.
46818         * Makefile (files-for-dist): Remove NOTES.
46819         (NOTES): Remove rule.
46820         * README: Don't refer to NOTES.
46821         * manual/creature.texi: Don't include macros.texi.
46822         * manual/intro.texi (creature.texi): Remove comment referring to
46823         NOTES.
46825         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46826         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46827         * configure: Regenerated.
46828         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46829         LIBC_TRY_CC_OPTION.
46830         (libc_cv_as_i686): Likewise.
46831         (libc_cv_cc_avx): Likewise.
46832         (libc_cv_cc_sse2avx): Likewise.
46833         (libc_cv_cc_fma4): Likewise.
46834         (libc_cv_cc_novzeroupper): Likewise.
46835         * sysdeps/i386/configure: Regenerated.
46837         [BZ #13883]
46838         * sysdeps/i386/fpu/s_cexp.S: Remove.
46839         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46840         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46841         * math/libm-test.inc (cexp_test): Add more tests.
46842         * sysdeps/i386/fpu/libm-test-ulps: Update.
46843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46845 2012-03-21  Allan McRae  <allan@archlinux.org>
46847         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46849 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46851         [BZ #13871]
46852         * math/w_exp2.c: Do not include <float.h>.
46853         (o_threshold, u_threshold): Remove.
46854         (__exp2): Calculate result before checking finiteness and calling
46855         __kernel_standard.
46856         * math/w_exp2f.c: Likewise.
46857         * math/w_exp2l.c: Likewise.
46858         * math/libm-test.inc (exp2_test): Require overflow exception for
46859         1e6 input.
46861         [BZ #3866]
46862         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46863         range of signed 64-bit integers before using fistpll.  Remove
46864         checks for whether integers fit in mantissa bits.
46865         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46866         the range of signed 32-bit integers before using fistpl.  Remove
46867         checks for whether integers fit in mantissa bits.
46868         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46869         (__ieee754_powl): Test for y outside the range of signed 64-bit
46870         integers before using fistpll.  Reduce 64-bit values to 63-bit
46871         ones as needed.
46872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46873         divide-by-zero is raised for zero to large negative powers.
46874         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46875         (__ieee754_powl): Test for y outside the range of signed 64-bit
46876         integers before using fistpll.  Reduce 64-bit values to 63-bit
46877         ones as needed.
46878         * math/libm-test.inc (pow_test): Add more tests.
46880 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46882         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46883         <stdio-common/_itoa.h>.
46884         * debug/segfault.c: Likewise.
46885         * elf/dl-cache.c: Likewise.
46886         * elf/dl-minimal.c: Likewise.
46887         * elf/dl-misc.c: Likewise.
46888         * elf/dl-sysdep.c: Likewise.
46889         * elf/dl-version.c: Likewise.
46890         * elf/rtld.c: Likewise.
46891         * hurd/hurdsock.c: Likewise.
46892         * hurd/lookup-retry.c: Likewise.
46893         * malloc/malloc.c: Likewise.
46894         * malloc/mtrace.c: Likewise.
46895         * nscd/nscd_getgr_r.c: Likewise.
46896         * nscd/nscd_getpw_r.c: Likewise.
46897         * nscd/nscd_getserv_r.c: Likewise.
46898         * posix/getopt_init.c: Likewise.
46899         * posix/wordexp.c: Likewise.
46900         * stdio-common/_itoa.c: Likewise.
46901         * stdio-common/printf_fphex.c: Likewise.
46902         * stdio-common/vfprintf.c: Likewise.
46903         * string/_strerror.c: Likewise.
46904         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46905         * sysdeps/i386/i686/hp-timing.h: Likewise.
46906         * sysdeps/mach/_strerror.c: Likewise.
46907         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46908         * sysdeps/mach/hurd/sethostid.c: Likewise.
46909         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46910         * sysdeps/mach/xpg-strerror.c: Likewise.
46911         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46912         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46913         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46914         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46915         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46916         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46917         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46918         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46919         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46920         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46921         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46922         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46923         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46924         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46925         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46926         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46927         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46928         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46929         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46930         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46931         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46933         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46935         * stdio-common/_itoa.h: Moved to ...
46936         * sysdeps/generic/_itoa.h: Here.
46938         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46940         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46941         instead of "_itoa.h" and "_itowa.h".
46942         * stdio-common/vfprintf.: Likewise.
46944 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46946         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46947         <bits/wordsize.h>.
46948         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46949         (__signbit): Likwise.
46950         (llrintf): Likwise.
46951         (llrint): Likwise.
46953 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46955         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46956         __WORDSIZE != 64.
46958 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46960         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46961         OVERFLOW_EXCEPTION_OK.
46962         * math/libm-test.inc ("Philosophy"): Update comment about
46963         exception testing.
46964         (OVERFLOW_EXCEPTION): Define.
46965         (OVERFLOW_EXCEPTION_OK): Likewise.
46966         (INVALID_EXCEPTION_OK): Renumber.
46967         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46968         (IGNORE_ZERO_INF_SIGN): Likewise.
46969         (test_exceptions): Handle FE_OVERFLOW.
46970         (exp10_test): Expect overflow exceptions.
46971         (exp2_test): Likewise.
46972         (expm1_test): Likewise.
46973         (nextafter_test): Likewise.
46974         (pow_test): Likewise.
46975         (scalbn_test): Likewise.
46976         (scalbln_test): Likewise.
46978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46980         * sysdeps/x86_64/bits/atomic.h
46981         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46982         64bit integer.
46983         (atomic_exchange_acq): Likewise.
46984         (__arch_exchange_and_add_body): Likewise.
46985         (__arch_add_body): Likewise.
46986         (atomic_add_negative): Likewise.
46987         (atomic_add_zero): Likewise.
46989 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46991         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46992         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46994 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46996         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46997         Check __x86_64__ instead of __WORDSIZE.
46999 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47001         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47003 2012-03-19  David S. Miller  <davem@davemloft.net>
47005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47007         * sysdeps/sparc/fpu/fenv_private.h: New file.
47008         * sysdeps/sparc/fpu/math_private.h: Use it.
47009         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47010         Remove.
47011         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47012         (libc_feholdexcept_setroundl): Remove.
47013         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47014         Remove.
47015         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47016         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47018 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47020         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47021         int64_t instead of long int.
47022         (INSERT_WORDS64): Likwise.
47024 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47026         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47027         _Unwind_GetCFA return to _Unwind_Ptr first.
47029 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47031         [BZ #13629]
47032         * math/s_clog.c: Include <float.h>.
47033         (__clog): Scale large or subnormal inputs.
47034         * math/s_clogf.c: Likewise.
47035         * math/s_clogl.c: Likewise.
47036         * math/s_clog10.c: Include <float.h>.
47037         (M_LOG10_2): Define.
47038         (__clog10): Scale large or subnormal inputs.
47039         * math/s_clog10f.c: Likewise.
47040         * math/s_clog10l.c: Likewise.
47041         * math/libm-test.inc (clog_test): Add more tests.
47042         (clog10_test): Likewise.
47043         * sysdeps/i386/fpu/libm-test-ulps: Update.
47044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47046         [BZ #11451]
47047         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47048         x and y.
47049         * math/libm-test.inc (atan2_test): Add another test.
47051         * Makerules (common-objdir-compile): Remove.
47052         * sysdeps/unix/Makefile (config-generated): Do not add
47053         $(unix-generated) to variable.
47054         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47055         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47056         Remove rule.
47057         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47058         Likewise.
47059         [generic bits/local_lim.h] (before-compile): Do not append to
47060         variable.
47061         [generic bits/local_lim.h] (common-generated): Likewise.
47062         [generic sys/param.h] (before-compile): Do not append to variable.
47063         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47064         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47065         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47066         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47067         include.
47068         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47069         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47070         [generic sys/param.h] ($(addprefix
47071         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47072         [generic sys/param.h] (common-generated): Do not append to
47073         variable.
47074         [generic sys/param.h] (sysdep_headers): Likewise.
47075         [generic bits/errno.h] (before-compile): Do not append to
47076         variable.
47077         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47078         rule.
47079         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47080         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47081         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47082         [generic bits/errno.h] (common-generated): Do not append to
47083         variable.
47084         [generic bits/ioctls.h] (before-compile): Do not append to
47085         variable.
47086         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47087         rule.
47088         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47089         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47090         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47091         rule.
47092         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47093         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47094         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47095         [generic bits/ioctls.h] (common-generated): Do not append to
47096         variable.
47097         [generic sys/syscall.h] (syscall.h): Remove variable.
47098         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47099         rule.
47100         [generic sys/syscall.h] (before-compile): Do not append to
47101         variable.
47102         [generic sys/syscall.h] (common-generated): Likewise.
47103         * sysdeps/unix/errnos-tmpl.c: Remove file.
47104         * sysdeps/unix/errnos.awk: Likewise.
47105         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47106         * sysdeps/unix/ioctls.awk: Likewise.
47107         * sysdeps/unix/mk-local_lim.c: Likewise.
47108         * sysdeps/unix/snarf-ioctls: Likewise.
47110 2012-03-19  Richard Henderson  <rth@twiddle.net>
47112         * sysdeps/i386/fpu/fenv_private.h: New file.
47113         * sysdeps/i386/fpu/math_private.h: Use it.
47114         (math_opt_barrier, math_force_eval): Remove.
47115         (libc_feholdexcept_setround_53bit): Remove.
47116         (libc_feupdateenv_53bit): Remove.
47117         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47118         (math_opt_barrier, math_force_eval): Remove.
47119         (libc_feholdexcept): Remove.
47120         (libc_feholdexcept_setround): Remove.
47121         (libc_fetestexcept, libc_fesetenv): Remove.
47122         (libc_feupdateenv_test): Remove.
47123         (libc_feupdateenv, libc_feholdsetround): Remove.
47124         (libc_feresetround): Remove.
47126         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47127         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47129         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47130         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47131         (libc_feupdateenv_testl): New.
47132         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47133         (libc_feupdateenv_testf): New.
47134         (libc_feupdateenv): Use libc_feupdateenv_test.
47135         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47136         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47138         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47139         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47140         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47141         (libc_feresetround_noex): New.
47142         (libc_feresetround_noexf): New.
47143         (libc_feresetround_noexl): New.
47144         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47145         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47146         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47147         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47148         SET_RESTORE_ROUND.
47149         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47150         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47151         (__cos): Likewise.
47152         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47153         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47154         SET_RESTORE_ROUND_NOEX.
47155         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47156         SET_RESTORE_ROUND_NOEXF.
47157         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47158         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47159         (libc_feholdsetroundf): New.
47160         (libc_feresetround, libc_feresetroundf): New.
47162         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47163         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47164         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47166         * sysdeps/generic/math_private.h: Include <fenv.h>.
47167         (default_libc_feholdexcept): New.
47168         (default_libc_feholdexcept_setround): New.
47169         (default_libc_fesetenv, default_libc_feupdateenv): New.
47170         (libc_feholdexcept): Only define if undefined.
47171         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47172         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47173         (libc_feholdexcept_setroundl): Likewise.
47174         (libc_feholdexcept_setround_53bit): Likewise.
47175         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47176         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47177         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47178         (libc_feupdateenv_53bit): Likewise.
47179         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47180         (libc_feholdexcept): Convert from macro to inline function.
47181         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47182         (libc_fesetenv, libc_feupdateenv): Likewise.
47184         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47185         not previously defined.
47186         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47187         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47188         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47189         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47190         * sysdeps/ieee754/flt-32/math_private.h: New file.
47191         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47192         math_private.h below SET_FLOAT_WORD.
47193         (__isnan, __isinf_ns, __finite): Remove.
47194         (__isnanf, __isinf_nsf, __finitef): Remove.
47196 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47200 2012-03-17  David S. Miller  <davem@davemloft.net>
47202         [BZ #6471]
47203         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47204         for 2.16.
47206 2012-03-16  David S. Miller  <davem@davemloft.net>
47208         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47209         warnings.
47211         [BZ #6471]
47212         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47213         properly.
47214         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47215         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47216         sysdep_routines when subdir is sysvipc.
47217         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47218         __getshmlba helper.
47220         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47222 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47224         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47225         [__LP64__].
47227 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47229         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47230         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47231         (__lround): Renamed to ...
47232         (__llround): This.  Replace long int with long long int.
47233         Define lround functions as aliases of llround functions.
47234         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47236 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47238         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47239         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47240         adresses to uintptr_t.  Replace "long int" and "unsigned long
47241         int" with "greg_t" on va_arg.
47243 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47245         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47246         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47248         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47249         Move e_machine check before EI_CLASS check.  Handle x32
47250         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47251         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47252         SKIP_EM_IA_64 and include
47253         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47255         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47256         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47257         (add_system_dir): New macro.
47259         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47260         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47262 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47264         [BZ #2551]
47265         [BZ #2552]
47266         [BZ #2553]
47267         [BZ #2554]
47268         [BZ #2562]
47269         [BZ #2563]
47270         [BZ #2565]
47271         [BZ #2566]
47272         [BZ #2576]
47273         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47274         (y0): Likewise.
47275         * math/w_j0f.c (j0f): Likewise.
47276         (y0f): Likewise.
47277         * math/w_j0l.c (__j0l): Likewise.
47278         (__y0l): Likewise.
47279         * math/w_j1.c (j1): Likewise.
47280         (y1): Likewise.
47281         * math/w_j1f.c (j1f): Likewise.
47282         (y1f): Likewise.
47283         * math/w_j1l.c (__j1l): Likewise.
47284         (__y1l): Likewise.
47285         * math/w_jn.c (jn): Likewise.
47286         (yn): Likewise.
47287         * math/w_jnf.c (jnf): Likewise.
47288         (ynf): Likewise.
47289         * math/w_jnl.c (__jnl): Likewise.
47290         (__ynl): Likewise.
47291         * math/libm-test.inc (j0_test): Add more tests.
47292         (j1_test): Likewise.
47293         (jn_test): Likewise.  Add trailing semicolon to existing test.
47294         (y0_test): Likewise.
47295         (y1_test): Likewise.
47296         * sysdeps/i386/fpu/libm-test-ulps: Update.
47297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47299         [BZ #13851]
47300         [BZ #13854]
47301         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47302         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47303         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47304         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47305         (__tanl): Set errno for infinite argument.
47306         * sysdeps/i386/fpu/mptan.c: Remove.
47307         * sysdeps/i386/fpu/s_tan.S: Likewise.
47308         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47309         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47310         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47311         * math/libm-test.inc (tan_test): Add more tests and enable more
47312         tests for double and long double.
47313         * sysdeps/i386/fpu/libm-test-ulps: Update.
47314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47316 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47318         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47319         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47321 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47323         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47324         * configure.in: Use it for both main tree and add-ons.
47325         * configure: Regenerated.
47327 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47329         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47331 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47333         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47334         in comment.
47336         [BZ #13851]
47337         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47338         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47339         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47340         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47341         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47342         infinite argument.
47343         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47344         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47345         != 0 for prec == 2.
47346         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47347         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47348         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47349         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47350         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47351         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47352         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47353         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47354         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47355         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47356         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47357         * math/libm-test.inc (cos_test): Add more tests and enable more
47358         tests for long double.
47359         (sin_test): Likewise.
47360         (sincos_test): Likewise.
47361         * sysdeps/i386/fpu/libm-test-ulps: Update.
47362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47364 2012-03-16  David S. Miller  <davem@davemloft.net>
47366         * sysdeps/sparc/fpu/math_private.h: New file.
47368 2012-03-15  David S. Miller  <davem@davemloft.net>
47370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47371         file.
47372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47374         file.
47375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47380         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47381         sysdep routines.
47382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47384         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47385         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47387         * sysdeps/sparc/sparc-ifunc.h: New file.
47388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47389         sparc-ifunc.h
47390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47392         Likewise.
47393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47394         Likewise.
47395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47399         Likewise.
47400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47405         Likewise.
47406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47407         Likewise.
47408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47414         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47415         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47426         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47427         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47428         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47429         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47430         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47431         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47433 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47435         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47436         scaling.
47437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47439 2012-03-15  Andreas Jaeger  <aj@suse.de>
47441         [BZ #13852]
47442         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47443         ieee754/flt-32 implementation for sin, cos and sincos.
47444         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47445         * sysdeps/i386/fpu/s_cosf.S: Likewise.
47446         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47447         * sysdeps/i386/fpu/s_sinf.S: Likewise.
47448         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47449         ieee754/flt-32 implementation for tan.
47451         * math/libm-test.inc (cos_test): Enable some large input tests for
47452         float as well
47453         (sin_test): Likewise.
47454         (sincos_test): Likewise.
47455         (tan_test): Add tests for large input.
47457         * sysdeps/i386/fpu/libm-test-ulps: Update.
47459 2012-03-15  Andreas Jaeger  <aj@suse.de>
47461         [BZ #13658]
47462         * math/libm-test.inc (cos_test): Add more test cases.
47463         (sin_test): Likewise.
47464         (sincos_test): Likewise.
47466 2012-03-15  Andreas Jaeger  <aj@suse.de>
47468         [BZ #13837]
47469         * math/libm-test.inc (cos_test): Add a test case for large input
47470         value.
47471         (sin_test): Likewise.
47472         (sincos_test): Likewise.
47474 2012-03-15  Andreas Jaeger  <aj@suse.de>
47475             Joseph Myers  <joseph@codesourcery.com>
47477         [BZ #13658]
47478         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47479         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47480         * sysdeps/i386/fpu/branred.c: Likewise.
47481         * sysdeps/i386/fpu/dosincos.c: Likewise.
47482         * sysdeps/i386/fpu/mpa.c: Likewise.
47483         * sysdeps/i386/fpu/s_cos.S: Likewise.
47484         * sysdeps/i386/fpu/s_sin.S: Likewise.
47485         * sysdeps/i386/fpu/s_sincos.S: Likewise.
47486         * sysdeps/i386/fpu/sincos32.c: Likewise.
47488         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47489         Define.
47490         (libc_feupdateenv_53bit): Define.
47491         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47492         Define.
47493         (libc_feupdateenv_53bit): Define.
47495         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47496         53 bit (without extend i386 double precision).
47498         * math/libm-test.inc (sincos_test): Add tests for large input.
47499         (sin): Likewise.
47500         (cos): Likewise.
47502         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47504 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47508 2012-03-15  David S. Miller  <davem@davemloft.net>
47510         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47511         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47512         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47513         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47526         file.
47527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47529         file.
47530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47532         file.
47533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47535         file.
47536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47537         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47538         fmin/fmax sysdep routines.
47539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47541 2012-03-14  David S. Miller  <davem@davemloft.net>
47543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47547         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47548         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47549         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47550         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47563         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47567         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47571         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47572         routines.
47573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47574         file.
47575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47577         file.
47578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47580         file.
47581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47583         file.
47584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47586         file.
47587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47589         file.
47590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47591         file.
47592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47593         file.
47594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47595         file.
47596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47597         New file.
47598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47599         file.
47600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47601         file.
47602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47604         file.
47605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47607         file.
47608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47610         file.
47611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47613         VIS3 routines.
47615         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47616         New file.
47618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47620         * sysdeps/sparc/configure.in: New file.
47621         * sysdeps/sparc/configure: Generate.
47622         * configure.in (libc_cv_sparc_as_vis3): Substitute.
47623         * configure: Regenerate.
47624         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47625         * config.make.in (have-as-vis3): New.
47626         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47627         available use -Av9d instead of -Av9a.
47628         * sysdeps/sparc/sparc64/Makefile: Likewise.
47629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47631         New file.
47632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47633         file.
47634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47635         New file.
47636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47637         file.
47638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47639         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47640         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47641         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47642         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47644         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47645         fzeros/fnegs to load 0x80000000 into a float register instead of
47646         using the stack.
47647         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47649 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47652         bits/syscall.h.
47653         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47654         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47655         ($(inst_includedir)/bits/syscall.h): Remove rule.
47656         ($(objpfx)bits/syscall.d): Include instead of
47657         $(objpfx)syscall-list.d.
47658         (generated): Change syscall-list.h and syscall-list.d to
47659         bits/syscall.h and bits/syscall.d.
47661 2012-03-14  Roland McGrath  <roland@hack.frob.com>
47663         [BZ #13846]
47664         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47666 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47668         [BZ #13841]
47669         * math/s_csqrt.c: Include <float.h>.
47670         (__csqrt): Scale large or subnormal inputs.
47671         * math/s_csqrtf.c: Likewise.
47672         * math/s_csqrtl.c: Likewise.
47673         * math/libm-test.inc (csqrt_test): Add more tests.
47674         * sysdeps/i386/fpu/libm-test-ulps: Update.
47675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47677         [BZ #13840]
47678         * math/libm-test.inc (hypot_test): Add more tests.
47680 2012-03-13  David S. Miller  <davem@davemloft.net>
47682         [BZ #13840]
47683         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47684         double-precision for the calculation instead of scaling.
47686 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
47688         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47689         manipulate bits before adding and subtracting TWO52[sx].
47690         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47691         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47692         Likewise.
47693         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47695 2012-03-13  David S. Miller  <davem@davemloft.net>
47697         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47698         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47700         rtld-global-offsets.h
47701         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47703         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47704         large parameters.
47706         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47708         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47709         'err' in the ifdef scope in which it is actually used.
47711         * nss/nss_db/db-init.c: Include string.h
47713 2012-03-12  David S. Miller  <davem@davemloft.net>
47715         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47716         masking out of the most significant byte of random value used.
47717         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47718         Fix coding style in previous change.
47720         * sysdeps/unix/sysv/linux/kernel-features.h
47721         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47722         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47723         expression.
47724         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47725         later.
47727 2012-03-11  David S. Miller  <davem@davemloft.net>
47729         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47730         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47731         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47732         for 'resultvar' otherwise things get truncated on 64-bit.
47734         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47735         Fix masking out of the most significant byte of random value used.
47737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47739 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
47741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47743 2012-03-09  David S. Miller  <davem@davemloft.net>
47745         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47746         variables with appropriate CPP guards.
47747         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47748         from the frame pointer, not the stack pointer.  Correct layout
47749         comments.  Fix test on resulting framesize and the management of
47750         the outregs buffer for pltexit.  Preserve floating point return
47751         values across _dl_call_pltexit call.
47752         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47753         framesize and the management of the outregs buffer for pltexit.
47754         Preserve floating point return values across _dl_call_pltexit
47755         call.
47756         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47757         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47758         (la_sparc64_gnu_pltexit): New functions.
47759         (print_exit): Fix format string for return register value.
47761 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
47763         * sunrpc/Makefile (others): Add rpcgen.
47764         ($(objpfx)rpcgen): Remove special build rule and dependency on
47765         libc.
47766         * sunrpc/rpcgen.c: New file.
47768 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
47770         [BZ #13673]
47771         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47772         * stdio-common/bug-vfprintf-nargs.c: Likewise.
47773         * sysdeps/i386/crti.S: Likewise.
47774         * sysdeps/i386/crtn.S: Likewise.
47775         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47776         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47777         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47778         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47779         * sysdeps/sh/crti.S: Likewise.
47780         * sysdeps/sh/crtn.S: Likewise.
47781         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47783         [BZ #13673]
47784         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47785         with URL.
47786         * locale/programs/locfile-kw.gperf: Likewise.
47787         * locale/programs/charmap-kw.h: Regenerated.
47788         * locale/programs/locfile-kw.h: Likewise.
47790         [BZ #13673]
47791         * intl/plural.y: Replace FSF snail mail address with URL.
47792         * intl/plural.c: Regenerated.
47794 2012-03-09  Richard Henderson  <rth@twiddle.net>
47796         * include/math_private.h: Remove file.
47797         * math/math_private.h: Move file ...
47798         * sysdeps/generic/math_private.h: ... here.
47800         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47801         * sysdeps/powerpc/fpu/math_private.h: Likewise.
47802         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47804         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47805         and <math_private.h>.
47806         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47807         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47808         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47809         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47810         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47811         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47812         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47814         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47815         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47816         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47817         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47818         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47819         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47820         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47821         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47822         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47823         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47824         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47825         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47827         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47828         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47830         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47831         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47832         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47833         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47834         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47835         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47836         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47837         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47838         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47839         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47840         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47841         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47842         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47843         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47844         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47845         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47846         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47847         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47848         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47849         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47850         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47851         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47852         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47853         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47854         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47855         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47856         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47857         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47858         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47859         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47860         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47861         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47862         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47863         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47864         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47865         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47866         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47867         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47868         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47869         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47870         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47871         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47872         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47873         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47874         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47875         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47876         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47877         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47878         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47879         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47880         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47881         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47883         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47884         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47885         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47886         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47887         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47888         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47889         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47890         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47891         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47892         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47893         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47894         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47895         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47896         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47897         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47898         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47899         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47900         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47901         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47902         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47903         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47904         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47905         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47906         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47907         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47908         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47909         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47910         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47911         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47912         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47913         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47914         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47915         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47916         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47917         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47918         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47919         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47920         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47921         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47922         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47923         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47924         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47925         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47926         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47927         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47928         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47929         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47930         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47931         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47932         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47933         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47934         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47935         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47936         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47937         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47938         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47939         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47940         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47941         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47942         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47943         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47944         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47945         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47946         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47947         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47948         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47949         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47950         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47951         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47952         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47953         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47954         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47955         * sysdeps/ieee754/k_standard.c: Likewise.
47956         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47957         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47958         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47959         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47960         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47961         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47962         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47963         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47964         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47965         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47966         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47967         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47968         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47969         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47970         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47971         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47972         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47973         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47974         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47975         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47976         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47977         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47978         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47979         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47980         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47981         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47982         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47983         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47984         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47985         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47986         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47987         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47988         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47989         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47990         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47991         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47992         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47993         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47994         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47995         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47996         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47997         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47998         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47999         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48000         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48001         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48002         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48003         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48004         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48005         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48006         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48007         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48008         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48009         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48010         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48011         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48012         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48013         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48014         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48015         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48016         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48017         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48018         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48019         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48022         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48023         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48024         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48025         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48026         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48027         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48028         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48029         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48030         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48031         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48032         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48033         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48034         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48035         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48036         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48037         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48038         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48039         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48040         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48041         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48042         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48043         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48044         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48045         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48046         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48047         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48048         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48049         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48050         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48051         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48052         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48053         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48054         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48055         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48057         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48058         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48059         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48060         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48061         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48062         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48063         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48064         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48065         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48066         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48067         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48068         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48069         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48070         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48071         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48072         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48073         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48074         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48075         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48076         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48077         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48078         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48079         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48080         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48081         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48082         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48083         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48084         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48085         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48086         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48087         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48088         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48089         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48090         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48091         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48092         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48093         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48094         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48095         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48096         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48097         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48098         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48099         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48100         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48101         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48102         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48103         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48104         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48105         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48106         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48107         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48108         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48109         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48110         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48111         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48112         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48113         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48114         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48115         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48116         * sysdeps/ieee754/s_lib_version.c: Likewise.
48117         * sysdeps/ieee754/s_matherr.c: Likewise.
48118         * sysdeps/ieee754/s_signgam.c: Likewise.
48119         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48120         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48121         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48122         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48123         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48124         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48125         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48126         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48127         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48128         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48129         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48130         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48131         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48132         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48133         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48134         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48135         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48136         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48137         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48141 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48143         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48144         * sunrpc/rpc_main.c: Likewise.
48145         * sunrpc/rpc_svcout.c: Likewise.
48147 2012-03-09  David S. Miller  <davem@davemloft.net>
48149         * include/math_private.h: New file.
48151 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48153         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48154         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48155         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48156         from <bits/socket_type.h>.
48157         (enum __socket_type): Don't define here.
48158         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48160         bits/socket_type.h.
48162         [BZ #13566]
48163         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48164         checking __USE_GNU.
48166         * Makerules ($(inst_includedir)/%.h): New rule.
48167         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48168         (install-others): Remove variable setting.
48169         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48171 2012-03-08  Richard Henderson  <rth@twiddle.net>
48173         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48174         from macro to inline function; merge with the
48175         !__LIBC_INTERNAL_MATH_INLINES version.
48176         (__ieee754_sqrtf): Likewise.
48178         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48179         to inline function.
48180         (__rintf, __floor, __floorf): Likewise.
48182         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48183         macro to inline function.
48184         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48186         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48187         not <math/math_private.h>.
48189 2012-03-08  David S. Miller  <davem@davemloft.net>
48191         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48192         copyright year.
48193         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48195 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48197         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48198         normalization.
48199         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48200         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48202 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48204         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48205         be defined individually, they must be defined as a block.  Define
48206         S for printing a string instead of hidint the different by using a
48207         macro for adding the 'l'.
48208         * stdio-common/tst-fphex-wide.c: Adjust.
48210 2012-03-07  Marek Polacek  <polacek@redhat.com>
48212         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48214 2012-03-08  Marek Polacek  <polacek@redhat.com>
48216         [BZ #13806]
48217         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48218         * stdio-common/tst-fphex.c: Define a few macros to make the
48219         test reusable.  Use them.
48220         * stdio-common/tst-fphex-wide.c: New file.
48222 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48224         [BZ #6911]
48225         * manual/macros.texi (gnusystems): New macro.
48226         (nongnusystems): Likewise.
48227         (gnulinuxhurdsystems): Likewise.
48228         (gnuhurdsystems): Likewise..
48229         (gnulinuxsystems): Likewise.
48230         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48231         variants of the GNU system, not "GNU system".
48232         * manual/conf.texi: Likewise.
48233         * manual/errno.texi: Likewise.  Update example of errno macro
48234         expansion.
48235         * manual/filesys.texi: Likewise.
48236         (getumask): Document as specific to GNU/Hurd.
48237         * manual/install.texi: Likewise.  Reword some references to
48238         GNU/Linux.
48239         * manual/intro.texi: Likewise.
48240         * manual/io.texi: Likewise.
48241         (File Name Portability): Detail which constraints are inapplicable
48242         to all GNU systems and which are only inapplicable to GNU/Hurd.
48243         * manual/job.texi: Likewise.
48244         * manual/llio.texi: Likewise.
48245         (O_NOCTTY): Document as present on GNU/Linux.
48246         * manual/maint.texi: Likewise.
48247         * manual/memory.texi: Likewise.
48248         * manual/pattern.texi: Likewise.
48249         * manual/pipe.texi: Likewise.
48250         * manual/process.texi: Likewise.
48251         * manual/resource.texi: Likewise.
48252         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48253         child on GNU/Hurd.
48254         * manual/setjmp.texi: Likewise.
48255         * manual/signal.texi: Likewise.
48256         * manual/startup.texi: Likewise.
48257         * manual/stdio.texi: Likewise.
48258         * manual/terminal.texi: Likewise.
48259         (ONLCR): Document as POSIX.
48260         (OXTABS): Document availability on GNU/Linux as XTABS.
48261         (ONOEOT): Document availability separately from other bits.
48262         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48263         * manual/time.texi: Likewise.
48264         * manual/users.texi: Likewise.
48265         * INSTALL: Regenerated.
48266         * sysdeps/gnu/errlist.c: Regenerated.
48268         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48269         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48270         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48271         puts.
48272         * configure: Regenerated.
48274 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48276         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48277         default includes instead of AC_HEADER_CHECK.
48278         * sysdeps/i386/configure: Regenerated.
48280         [BZ #10716]
48281         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48282         * math/s_cacoshf.c (__cacoshf): Likewise.
48283         * math/s_cacoshl.c (__cacoshl): Likewise.
48284         * math/s_casinh.c (__casinh): Set signs of result from argument.
48285         * math/s_casinhf.c (__casinhf): Likewise.
48286         * math/s_casinhl.c (__casinhl): Likewise.
48287         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48288         (casinh_test): Add more tests.
48289         * sysdeps/i386/fpu/libm-test-ulps: Update.
48290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48292 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48294         * po/zh_TW.po: Update from translation team.
48296         * login/Makefile (distribute): Remove variable.
48297         * catgets/Makefile: Likewise.
48298         * mach/Makefile: Likewise.
48299         * malloc/Makefile: Likewise.
48300         * misc/Makefile: Likewise.
48301         * iconv/Makefile: Likewise.
48302         * nscd/Makefile: Likewise.
48303         * hurd/Makefile: Likewise.
48304         * manual/Makefile: Likewise.
48305         * locale/Makefile: Likewise.
48306         * intl/Makefile: Likewise.
48307         * conform/Makefile: Likewise.
48308         * nss/Makefile: Likewise.
48309         * time/Makefile: Likewise.
48310         * soft-fp/Makefile: Likewise.
48311         * dirent/Makefile: Likewise.
48312         * gmon/Makefile: Likewise.
48313         * po/Makefile: Likewise.
48314         * rt/Makefile: Likewise.
48315         * socket/Makefile: Likewise.
48316         * math/Makefile: Likewise.
48317         * signal/Makefile: Likewise.
48318         * debug/Makefile: Likewise.
48319         * elf/Makefile: Likewise.
48320         * timezone/Makefile: Likewise.
48321         * stdlib/Makefile: Likewise.
48322         * iconvdata/Makefile: Likewise.
48323         * sunrpc/Makefile: Likewise.
48324         * io/Makefile: Likewise.
48325         * argp/Makefile: Likewise.
48326         * inet/Makefile: Likewise.
48327         * hesiod/Makefile: Likewise.
48328         * grp/Makefile: Likewise.
48329         * csu/Makefile: Likewise.
48330         * wctype/Makefile: Likewise.
48331         * crypt/Makefile: Likewise.
48332         * libio/Makefile: Likewise.
48333         * string/Makefile: Likewise.
48334         * nis/Makefile: Likewise.
48335         * resolv/Makefile: Likewise.
48336         * stdio-common/Makefile: Likewise.
48337         * wcsmbs/Makefile: Likewise.
48338         * dlfcn/Makefile: Likewise.
48339         * posix/Makefile: Likewise.
48341         [BZ #6959]
48342         * timezone/Makefile: Don't install timezone files, just the programs
48343         and scripts.
48345 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48347         * nss/databases.def: Add missing gshadow entry.
48349         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48351 2012-03-06  Marek Polacek  <polacek@redhat.com>
48353         [BZ #13726]
48354         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48355         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48356         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48357         * stdio-common/tst-long-dbl-fphex.c: New file.
48359 2012-03-06  David S. Miller  <davem@davemloft.net>
48361         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48362         (set_obp_int): New function.
48363         (get_obp_int): New function.
48364         (__get_clockfreq_via_dev_openprom): Likewise.
48365         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48366         Avoid unused variable warnings on 'val' and use builtin_expect.
48367         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48368         __builtin_expect.
48369         (INLINE_CLONE_SYSCALL): Likewise.
48371 2012-03-05  David S. Miller  <davem@davemloft.net>
48373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48375 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48379         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48380         only for |x| >= 40.
48381         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48383 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48385         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48386         Replace gettimeofday with __vdso_gettimeofday.
48388         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48389         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48390         __vdso_clock_gettime and __vdso_getcpu.
48392         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48393         time with __vdso_time.
48395 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48397         * manual/lang.texi (size_t): Note types to which size_t may be
48398         equivalent with the GNU C Library, but do not describe when
48399         differences between them are significant.
48401 2012-03-05  Andreas Jaeger  <aj@suse.de>
48403         * sysdeps/i386/fpu/libm-test-ulps: Update.
48405 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48407         [BZ #3976]
48408         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48409         (__ieee754_pow): Save and restore rounding mode and use
48410         round-to-nearest for main computations.
48411         * math/libm-test.inc (pow_test_tonearest): New function.
48412         (pow_test_towardzero): Likewise.
48413         (pow_test_downward): Likewise.
48414         (pow_test_upward): Likewise.
48415         (main): Call the new functions.
48416         * sysdeps/i386/fpu/libm-test-ulps: Update.
48417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48419         [BZ #3976]
48420         * math/libm-test.inc (cosh_test_tonearest): New function.
48421         (cosh_test_towardzero): Likewise.
48422         (cosh_test_downward): Likewise.
48423         (cosh_test_upward): Likewise.
48424         (sinh_test_tonearest): Likewise.
48425         (sinh_test_towardzero): Likewise.
48426         (sinh_test_downward): Likewise.
48427         (sinh_test_upward): Likewise.
48428         (main): Call the new functions.
48429         * sysdeps/i386/fpu/libm-test-ulps: Update.
48430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48432 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48434         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48435         default stack guard is set in last bytes.
48436         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48438 2012-03-05  Kees Cook  <keescook@chromium.org>
48440         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48442         [BZ #13656]
48443         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48444         possibly allocate from heap instead of stack.
48445         * stdio-common/bug-vfprintf-nargs.c: New file.
48446         * stdio-common/Makefile (tests): Add nargs overflow test.
48448 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
48450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48452 2012-03-03  Marek Polacek  <polacek@redhat.com>
48454         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48455         * math/math_private.h: Likewise.
48456         * stdlib/tst-strtod.c: Likewise.
48457         * sysdeps/i386/i486/bits/atomic.h: Likewise.
48458         * sysdeps/x86_64/bits/atomic.h: Likewise.
48460 2012-03-02  David S. Miller  <davem@davemloft.net>
48462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48466         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48467         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48468         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48469         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48471 2012-03-02  Roland McGrath  <roland@hack.frob.com>
48473         [BZ #13792]
48474         * manual/examples/README: New file, says the example source files
48475         can be used under GPL>=2.
48476         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48477         line containing just "*/".
48478         * manual/examples/add.c: Add copyright header (GPL>=2).
48479         * manual/examples/argp-ex1.c: Likewise.
48480         * manual/examples/argp-ex2.c: Likewise.
48481         * manual/examples/argp-ex3.c: Likewise.
48482         * manual/examples/argp-ex4.c: Likewise.
48483         * manual/examples/atexit.c: Likewise.
48484         * manual/examples/db.c: Likewise.
48485         * manual/examples/dir.c: Likewise.
48486         * manual/examples/dir2.c: Likewise.
48487         * manual/examples/execinfo.c: Likewise.
48488         * manual/examples/filecli.c: Likewise.
48489         * manual/examples/filesrv.c: Likewise.
48490         * manual/examples/fmtmsgexpl.c: Likewise.
48491         * manual/examples/genpass.c: Likewise.
48492         * manual/examples/inetcli.c: Likewise.
48493         * manual/examples/inetsrv.c: Likewise.
48494         * manual/examples/isockad.c: Likewise.
48495         * manual/examples/longopt.c: Likewise.
48496         * manual/examples/memopen.c: Likewise.
48497         * manual/examples/memstrm.c: Likewise.
48498         * manual/examples/mkfsock.c: Likewise.
48499         * manual/examples/mkisock.c: Likewise.
48500         * manual/examples/mygetpass.c: Likewise.
48501         * manual/examples/pipe.c: Likewise.
48502         * manual/examples/popen.c: Likewise.
48503         * manual/examples/rprintf.c: Likewise.
48504         * manual/examples/search.c: Likewise.
48505         * manual/examples/select.c: Likewise.
48506         * manual/examples/setjmp.c: Likewise.
48507         * manual/examples/sigh1.c: Likewise.
48508         * manual/examples/sigusr.c: Likewise.
48509         * manual/examples/stpcpy.c: Likewise.
48510         * manual/examples/strdupa.c: Likewise.
48511         * manual/examples/strftim.c: Likewise.
48512         * manual/examples/strncat.c: Likewise.
48513         * manual/examples/subopt.c: Likewise.
48514         * manual/examples/swapcontext.c: Likewise.
48515         * manual/examples/termios.c: Likewise.
48516         * manual/examples/testopt.c: Likewise.
48517         * manual/examples/testpass.c: Likewise.
48518         * manual/examples/timeval_subtract.c: Likewise.
48520         [BZ #13792]
48521         * manual/time.texi (Elapsed Time): Move timeval_subtract example
48522         function to ...
48523         * manual/timeval_subtract.c.texi: ... here, new file.
48525 2012-03-02  David S. Miller  <davem@davemloft.net>
48527         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48529 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
48531         [BZ #3976]
48532         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48533         (__sin): Save and restore rounding mode and use round-to-nearest
48534         for all computations.
48535         (__cos): Save and restore rounding mode and use round-to-nearest
48536         for all computations.
48537         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48538         <fenv.h>.
48539         (tan): Save and restore rounding mode and use round-to-nearest for
48540         all computations.
48541         * math/libm-test.inc (cos_test_tonearest): New function.
48542         (cos_test_towardzero): Likewise.
48543         (cos_test_downward): Likewise.
48544         (cos_test_upward): Likewise.
48545         (sin_test_tonearest): Likewise.
48546         (sin_test_towardzero): Likewise.
48547         (sin_test_downward): Likewise.
48548         (sin_test_upward): Likewise.
48549         (tan_test_tonearest): Likewise.
48550         (tan_test_towardzero): Likewise.
48551         (tan_test_downward): Likewise.
48552         (tan_test_upward): Likewise.
48553         (main): Call the new functions.
48554         * sysdeps/i386/fpu/libm-test-ulps: Update.
48555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48557         [BZ #10135]
48558         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48559         small n, then large n, before computing and testing k+n.
48560         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48561         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48562         Likewise.
48563         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48564         Likewise.
48565         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48566         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48567         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48568         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48569         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48570         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48571         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48572         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48573         * math/libm-test.inc (scalbn_test): Add more tests.
48574         (scalbln_test): Likewise.
48576         * manual/filesys.texi (mode_t): Describe constraints on size and
48577         signedness, not exact equivalence to a particular type.
48578         (ino_t): Likewise.
48579         (ino64_t): Likewise.
48580         (dev_t): Likewise.
48581         (nlink_t): Likewise.
48582         (blkcnt_t): Likewise.
48583         (blkcnt64_t): Likewise.
48584         * manual/llio.texi (off_t): Likewise.
48586         [BZ #3976]
48587         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48588         (__ieee754_exp): Save and restore rounding mode and use
48589         round-to-nearest for all computations.
48590         * math/libm-test.inc (exp_test_tonearest): New function.
48591         (exp_test_towardzero): Likewise.
48592         (exp_test_downward): Likewise.
48593         (exp_test_upward): Likewise.
48594         (main): Call the new functions.
48595         * sysdeps/i386/fpu/libm-test-ulps: Update.
48596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48598 2012-03-01  Chris Demetriou  <cgd@google.com>
48600         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48601         have predictable order.
48603 2012-03-01  David S. Miller  <davem@davemloft.net>
48605         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48607         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48608         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48609         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48610         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48612         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48613         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48614         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48616         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48617         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48618         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48619         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48620         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48624         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48625         * sysdeps/sparc/fpu/libm-test-ulps: to here.
48626         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48628         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48629         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48630         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48631         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48632         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48633         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48634         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48635         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48636         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48637         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48638         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48639         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48640         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48641         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48642         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48643         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48644         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48645         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48646         * sysdeps/sparc/elf/configure: Regenerated.
48648 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
48650         * configure.in (AS, LD): Require binutils 2.20 or later.
48651         * configure: Regenerated.
48652         * manual/install.texi (Tools for Compilation): Give binutils 2.20
48653         as required minimum version.
48654         * INSTALL: Regenerated.
48656         [BZ #2541]
48657         [BZ #4108]
48658         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48659         before squaring exponent.
48660         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48661         bottom long double and 27 bits of top long double before squaring
48662         exponent.
48663         * math/libm-test.inc (erfc_test): Add more tests.
48664         * sysdeps/i386/fpu/libm-test-ulps: Update.
48665         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48668 2012-03-01  Kai Tietz  <ktietz@redhat.com>
48670         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48671         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48672         containing bit-fields.
48673         * soft-fp/extended.h (_FP_UNION_E): Likewise.
48674         * soft-fp/single.h (_FP_UNION_S): Likewise.
48675         * soft-fp/double.h (_FP_UNION_D): Likewise.
48677 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48679         [BZ #13786]
48680         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48681         not include ../strcmp.S.
48682         [USE_AS_STRNCASECMP_L]: Likewise.
48683         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48684         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48685         * sysdeps/i386/i686/multiarch/strncase_l-c.c
48686         (__strncasecmp_l_ia32): Define as alias to
48687         __strncasecmp_l_nonascii.
48689         [BZ #5794]
48690         * math/libm-test.inc (expm1_test): Add test for bug 5794.
48691         * sysdeps/i386/fpu/libm-test-ulps: Update.
48692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48694         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48697 2012-02-29  Jeff Law  <law@redhat.com>
48699         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48700         out of bounds read.
48702 2012-02-29  Marek Polacek  <polacek@redhat.com>
48704         [BZ #13706]
48705         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48706         * elf/Makefile: Add rules to run tst-unused-dep.out.
48708 2012-02-28  David S. Miller  <davem@davemloft.net>
48710         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48711         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48712         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48713         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48714         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48715         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48717 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48719         * math/libm-test.inc (llround_test): Move one test from
48720         lround_test.  Use TEST_f_L in moved test.
48721         (lround_test): Move misplaced test to llround_test.  Add testcase
48722         from bug 2561.
48724 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
48726         * sysdeps/x86_64/fpu/e_expf.S: New file.
48727         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48729 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
48731         [BZ #13637]
48732         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48733         of remain_len that may cause incomplete multi-byte character and
48734         false match.
48735         * posix/bug-regex33.c: New file.
48736         * posix/Makefile (tests): Add bug-regex33.
48738 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
48740         * manual/macros.texi: New file.
48741         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48742         * manual/libc.texinfo: Include macros.texi.
48743         * manual/creatute.texi: Likewise.
48744         * manual/install.texi: Likewise.
48745         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48746         @glibcadj{} in references to the GNU C Library.
48747         * manual/charset.texi: Likewise.
48748         * manual/conf.texi: Likewise.
48749         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
48750         when not using those macros.
48751         * manual/creature.texi: Likewise.
48752         * manual/crypt.texi: Likewise.
48753         * manual/errno.texi: Likewise.
48754         * manual/filesys.texi: Likewise.
48755         * manual/header.texi: Likewise.
48756         * manual/install.texi: Likewise.
48757         * manual/intro.texi: Likewise.
48758         * manual/io.texi: Likewise.
48759         * manual/job.texi: Likewise.
48760         * manual/lang.texi: Likewise.
48761         * manual/libc.texiinfo: Likewise.
48762         * manual/llio.texi: Likewise.
48763         * manual/locale.texi: Likewise.
48764         * manual/maint.texi: Likewise.
48765         * manual/math.texi: Likewise.
48766         * manual/memory.texi: Likewise.
48767         * manual/message.texi: Likewise.
48768         * manual/nss.texi: Likewise.
48769         * manual/pattern.texi: Likewise.
48770         * manual/process.texi: Likewise.
48771         * manual/resource.texi: Likewise.
48772         * manual/search.texi: Likewise.
48773         * manual/setjmp.texi: Likewise.
48774         * manual/signal.texi: Likewise.
48775         * manual/socket.texi: Likewise.
48776         * manual/startup.texi: Likewise.
48777         * manual/stdio.texi: Likewise.
48778         * manual/string.texi: Likewise.
48779         * manual/sysinfo.texi: Likewise.
48780         * manual/syslog.texi: Likewise.
48781         * manual/terminal.texi: Likewise.
48782         * manual/time.texi: Likewise.
48783         * manual/users.texi: Likewise.
48784         * INSTALL: Regenerated.
48785         * NOTES: Regenerated.
48786         * sysdeps/gnu/errlist.c: Regenerated.
48788 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
48790         * include/dirent.h: Include <dirstream.h> before
48791         <dirent/dirent.h>.
48793 2012-02-28  David S. Miller  <davem@davemloft.net>
48795         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48796         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48797         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48798         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48800 2012-02-27  David S. Miller  <davem@davemloft.net>
48802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48804         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48805         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48808         frame pointer instead of stack pointer relative arg slot.
48809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48810         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48811         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48813 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
48815         [BZ #3992]
48816         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48818 2012-02-27  David S. Miller  <davem@davemloft.net>
48820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48824         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48825         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48826         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48827         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48829 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48831         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48832         later.  Allow versions 5-9.
48833         * configure: Regenerated.
48834         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48835         required minimum version and 4.6 as recommended version.  Do not
48836         mention bugs in GCC 2.7 and 2.8.
48837         * INSTALL: Regenerated.
48839 2012-02-27  David S. Miller  <davem@davemloft.net>
48841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48845         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48846         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48847         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48848         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48850         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48851         manipulate bits before adding and subtracting TWO112[sx].
48852         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48854 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48856         [BZ #13775]
48857         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48858         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48859         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48860         being in POSIX, because they are in 1003.1-2008.
48862         * rt/tst-aio.c: Include <fcntl.h>.
48863         * rt/tst-aio7.c: Likewise.
48864         * rt/tst-aio64.c: Likewise.
48866         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48868 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48870         * manual/install.texi (--with-headers): Describe headers as
48871         interface headers, not private headers.
48872         (Specific advice for GNU/Linux systems): Describe use of headers
48873         from "make headers_install", not private headers from older
48874         kernels.
48875         * INSTALL: Regenerated.
48876         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48877         Change to 2.6.19.
48878         * sysdeps/unix/sysv/linux/configure: Regenerated.
48880         * manual/llio.texi (fclean): Remove documentation.
48882         * manual/Makefile (libc-texi-generated): New variable.  Include
48883         version.texi.
48884         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48885         $(libc-texi-generated), not duplicated list of files.
48886         (version.texi, stamp-version): New rules.
48887         (realclean): Remove $(libc-texi-generated), not individual files
48888         from that list.  Do not remove dir-add.texinfo.
48889         * manual/libc.texinfo: Comment out uses of edition numbers and
48890         references to printed manual.  Remove last-updated dates.
48891         (EDITION): Comment out.
48892         (ISBN): Likewise.
48893         (VERSION, UPDATED): Remove.
48894         (version.texi): Include.
48896 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48898         * sysdeps/posix/spawni.c: Include <signal.h>.
48899         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48900         * sysdeps/pthread/aio_fsync.c: Likewise.
48902 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48904         * conform/Makefile (tests): Run only when not cross-compiling and
48905         when fast-check is not defined.
48907         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48908         * conform/data/limits.h-data: Fixes for POSIX2008.
48909         * conform/run-conformtest.sh: Run all tests.
48910         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48911         headers.
48912         * include/bits/dlfcn.h: Likewise.
48913         * include/langinfo.h: Likewise.
48914         * include/monetary.h: Likewise.
48915         * include/sys/poll.h: Likewise.
48917         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48918         for __USE_GNU.
48919         * posix/spawn.h: Define __need_sigset_t.
48920         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48921         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48922         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48923         to get sigevent_t only.
48924         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48925         only for __USE_GNU.
48926         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48927         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48928         process_vm_writev only for __USE_GNU.
48929         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48931         * conform/Makefile: For now ignore errors from run-conformtest.
48932         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48933         POSIX to avoid namespace pollution.  Don't prepend headers.
48934         * conform/data/aio.h-data: Fixes for POSIX testing.
48935         * conform/data/fcntl.h-data: Likewise.
48936         * conform/data/glob.h-data: Likewise.
48937         * conform/data/grp.h-data: Likewise.
48938         * conform/data/pthread.h-data: Likewise.
48939         * conform/data/pwd.h-data: Likewise.
48940         * conform/data/signal.h-data: Likewise.
48941         * conform/data/spawn.h-data: Likewise.
48942         * conform/data/stdio.h-data: Likewise.
48943         * conform/data/stdlib.h-data: Likewise.
48944         * conform/data/stropts.h-data: Likewise.
48945         * conform/data/sys/mman.h-data: Likewise.
48946         * conform/data/sys/stat.h-data: Likewise.
48947         * conform/data/sys/types.h-data: Likewise.
48948         * conform/data/sys/wait.h-data: Likewise.
48949         * conform/data/time.h-data: Likewise.
48950         * conform/data/unistd.h-data: Likewise.
48951         * conform/data/utime.h-data: Likewise.
48953         * io/sys/stat.h: fchmod was always in POSIX.
48954         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48955         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48956         * rt/aio.h: Define __need_timespec before including <time.h>.
48957         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48958         struct.  Add forward declaration of pthread_attr_t and use it in
48959         sigevent.
48960         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48961         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48962         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48963         always remove CLK_TCK definition.
48965 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48967         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48969 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48971         * conform/run-conformtest.sh: New file.
48972         * conform/Makefile: Run run-conformtest for tests.
48973         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48974         support.
48976         * conform/data/uchar.h-data: New file.
48977         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48978         * conform/data/arpa/inet.h-data: Likewise.
48979         * conform/data/assert.h-data: Likewise.
48980         * conform/data/complex.h-data: Likewise.
48981         * conform/data/cpio.h-data: Likewise.
48982         * conform/data/ctype.h-data: Likewise.
48983         * conform/data/dirent.h-data: Likewise.
48984         * conform/data/dlfcn.h-data: Likewise.
48985         * conform/data/errno.h-data: Likewise.
48986         * conform/data/fcntl.h-data: Likewise.
48987         * conform/data/float.h-data: Likewise.
48988         * conform/data/fmtmsg.h-data: Likewise.
48989         * conform/data/fnmatch.h-data: Likewise.
48990         * conform/data/ftw.h-data: Likewise.
48991         * conform/data/glob.h-data: Likewise.
48992         * conform/data/grp.h-data: Likewise.
48993         * conform/data/iconv.h-data: Likewise.
48994         * conform/data/inttypes.h-data: Likewise.
48995         * conform/data/langinfo.h-data: Likewise.
48996         * conform/data/libgen.h-data: Likewise.
48997         * conform/data/limits.h-data: Likewise.
48998         * conform/data/locale.h-data: Likewise.
48999         * conform/data/math.h-data: Likewise.
49000         * conform/data/monetary.h-data: Likewise.
49001         * conform/data/mqueue.h-data: Likewise.
49002         * conform/data/ndbm.h-data: Likewise.
49003         * conform/data/net/if.h-data: Likewise.
49004         * conform/data/netdb.h-data: Likewise.
49005         * conform/data/netinet/in.h-data: Likewise.
49006         * conform/data/nl_types.h-data: Likewise.
49007         * conform/data/poll.h-data: Likewise.
49008         * conform/data/pthread.h-data: Likewise.
49009         * conform/data/pwd.h-data: Likewise.
49010         * conform/data/regex.h-data: Likewise.
49011         * conform/data/sched.h-data: Likewise.
49012         * conform/data/search.h-data: Likewise.
49013         * conform/data/semaphore.h-data: Likewise.
49014         * conform/data/setjmp.h-data: Likewise.
49015         * conform/data/signal.h-data: Likewise.
49016         * conform/data/spawn.h-data: Likewise.
49017         * conform/data/stdarg.h-data: Likewise.
49018         * conform/data/stdio.h-data: Likewise.
49019         * conform/data/stdlib.h-data: Likewise.
49020         * conform/data/string.h-data: Likewise.
49021         * conform/data/strings.h-data: Likewise.
49022         * conform/data/stropts.h-data: Likewise.
49023         * conform/data/sys/ipc.h-data: Likewise.
49024         * conform/data/sys/mman.h-data: Likewise.
49025         * conform/data/sys/msg.h-data: Likewise.
49026         * conform/data/sys/resource.h-data: Likewise.
49027         * conform/data/sys/select.h-data: Likewise.
49028         * conform/data/sys/sem.h-data: Likewise.
49029         * conform/data/sys/shm.h-data: Likewise.
49030         * conform/data/sys/socket.h-data: Likewise.
49031         * conform/data/sys/stat.h-data: Likewise.
49032         * conform/data/sys/statvfs.h-data: Likewise.
49033         * conform/data/sys/time.h-data: Likewise.
49034         * conform/data/sys/timeb.h-data: Likewise.
49035         * conform/data/sys/times.h-data: Likewise.
49036         * conform/data/sys/types.h-data: Likewise.
49037         * conform/data/sys/uio.h-data: Likewise.
49038         * conform/data/sys/un.h-data: Likewise.
49039         * conform/data/sys/utsname.h-data: Likewise.
49040         * conform/data/sys/wait.h-data: Likewise.
49041         * conform/data/syslog.h-data: Likewise.
49042         * conform/data/tar.h-data: Likewise.
49043         * conform/data/termios.h-data: Likewise.
49044         * conform/data/utime.h-data: Likewise.
49045         * conform/data/utmpx.h-data: Likewise.
49046         * conform/data/varargs.h-data: Likewise.
49047         * conform/data/wchar.h-data: Likewise.
49048         * conform/data/wctype.h-data: Likewise.
49049         * conform/data/wordexp.h-data: Likewise.
49051         * include/stropts.h: New file.
49052         * include/uchar.h: New file.
49053         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49054         * include/assert.h: Likewise.
49055         * include/ctype.h: Likewise.
49056         * include/dirent.h: Likewise.
49057         * include/dlfcn.h: Likewise.
49058         * include/fcntl.h: Likewise.
49059         * include/fnmatch.h: Likewise.
49060         * include/glob.h: Likewise.
49061         * include/grp.h: Likewise.
49062         * include/libio.h: Likewise.
49063         * include/locale.h: Likewise.
49064         * include/math.h: Likewise.
49065         * include/net/if.h: Likewise.
49066         * include/netdb.h: Likewise.
49067         * include/netinet/in.h: Likewise.
49068         * include/pthread.h: Likewise.
49069         * include/pwd.h: Likewise.
49070         * include/regex.h: Likewise.
49071         * include/sched.h: Likewise.
49072         * include/search.h: Likewise.
49073         * include/setjmp.h: Likewise.
49074         * include/signal.h: Likewise.
49075         * include/stdio.h: Likewise.
49076         * include/stdlib.h: Likewise.
49077         * include/string.h: Likewise.
49078         * include/sys/cdefs.h: Likewise.
49079         * include/sys/mman.h: Likewise.
49080         * include/sys/msg.h: Likewise.
49081         * include/sys/resource.h: Likewise.
49082         * include/sys/select.h: Likewise.
49083         * include/sys/socket.h: Likewise.
49084         * include/sys/stat.h: Likewise.
49085         * include/sys/statvfs.h: Likewise.
49086         * include/sys/time.h: Likewise.
49087         * include/sys/times.h: Likewise.
49088         * include/sys/uio.h: Likewise.
49089         * include/sys/utsname.h: Likewise.
49090         * include/sys/wait.h: Likewise.
49091         * include/termios.h: Likewise.
49092         * include/time.h: Likewise.
49093         * include/ulimit.h: Likewise.
49094         * include/unistd.h: Likewise.
49095         * include/utime.h: Likewise.
49096         * include/wchar.h: Likewise.
49097         * include/wctype.h: Likewise.
49098         * include/wordexp.h: Likewise.
49100         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49102         * time/time.h: TIME_UTC must be a macro.
49103         Make timespec_get available for ISO C11 only as well.
49105 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49107         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49108         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49110 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49112         * configure.in: Use -o not -a in test for unsupported multi-arch.
49114 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49116         * manual/texinfo.tex: Update to version 2012-01-19.16.
49118 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49120         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49122 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49124         [BZ #13738]
49125         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49126         * manual/fdl-1.3.texi: New file.
49127         * manual/fdl-1.1.texi: File removed.
49129         [BZ #13738]
49130         * manual/libc.texinfo (FDL_VERSION): New @set.
49131         Use it for mention of FDL in cover text.
49132         (Documentation License): Use it in @include file name.
49134 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49135             Roland McGrath  <roland@hack.frob.com>
49137         [BZ #5461]
49138         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49139         (not LONG_LONG_MAX and LONG_LONG_MIN.
49140         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49141         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49142         name.
49143         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49145 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49147         [BZ #2547]
49148         [BZ #11365]
49149         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49150         manipulate bits before adding and subtracting TWO23[sx].
49151         * math/libm-test.inc (nearbyint_test): Add more tests.
49153 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49155         [BZ #2548]
49156         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49157         bits before adding and subtracting TWO23[sx].
49158         * math/libm-test.inc (rint_test): Add more tests.
49159         (rint_test_tonearest): Likewise.
49160         (rint_test_towardzero): Likewise.
49161         (rint_test_downward): Likewise.
49162         (rint_test_upward: Likewise.
49164 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49166         [BZ #10110]
49167         * include/stdc-predef.h: New file.  Extracted from features.h.
49168         * include/features.h: Include stdc-predef.h.
49169         * Makefile (headers): Add stdc-predef.h.
49170         * CONFORMANCE (Compiler limitations): Update.
49172 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49174         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49176 2012-02-21  David S. Miller  <davem@davemloft.net>
49178         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49179         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49181 2012-02-20  David S. Miller  <davem@davemloft.net>
49183         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49184         using a normal save/restore sequence, rather than allocating a
49185         dummy stack frame just to store a frame pointer and restore.
49186         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49188 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49190         * manual/install.texi: Fix stray word in line-wrapped comment.
49192 2012-02-20  David S. Miller  <davem@davemloft.net>
49194         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49195         both binutils and gcc support GOTDATA.
49197         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49198         "rd %pc" in the PIC register setup sequences.
49200         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49201         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49202         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49203         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49204         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49205         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49206         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49207         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49208         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49209         (SYSCALL_ERROR_HANDLER): Likewise.
49210         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49211         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49213         (SYSCALL_ERROR_HANDLER): Likewise.
49215         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49216         (HAVE_GCC_GOTDATA): New.
49217         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49218         relocation support in both binutils and gcc.
49219         * sysdeps/sparc/elf/configure: Regenerate.
49221         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49222         * sysdeps/sparc/sparc32/elf/configure: Delete.
49223         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49224         * sysdeps/sparc/sparc64/elf/configure: Delete.
49225         * sysdeps/sparc/elf/configure.in: New file.
49226         * sysdeps/sparc/elf/configure: Generate.
49228         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49229         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49230         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49231         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49232         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49234 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49236         * manual/install.texi: Do not mention specific glibc version
49237         numbers.
49238         * manual/libc.texinfo (VERSION, UPDATED): Update.
49239         (@copying): Use @copyright{} and range of years.
49241 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49243         [BZ #13695]
49244         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49245         [crti.S not in sysdirs] (generated): Do not append.
49246         [crti.S not in sysdirs] (omit-deps): Likewise.
49247         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49248         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49249         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49250         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49251         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49252         Likewise.
49253         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49254         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49255         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49256         * csu/defs.awk: Remove file.
49257         * sysdeps/generic/initfini.c: Likewise.
49258         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49259         variable.
49260         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49261         Likewise.
49263 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49265         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49266         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49267         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49268         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49269         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49270         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49271         <bits/epoll.h>.
49272         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49273         (__EPOLL_PACKED): Define to empty if not defined by
49274         <bits/epoll.h>.
49275         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49277         bits/epoll.h.
49279 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49281         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49282         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49283         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49284         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49285         <bits/timerfd.h>.
49286         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49288         bits/timerfd.h.
49290 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49292         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49293         in C locale.
49294         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49295         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49296         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49299 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49301         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49302         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49304 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49306         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49307         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49308         defined.
49309         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49310         Likewise.
49311         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49312         entry for 2.16.
49314 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49316         * math/w_acos.c: Use non-signaling floating-point comparisons.
49317         * math/w_acosf.c: Likewise.
49318         * math/w_acosh.c: Likewise.
49319         * math/w_acoshf.c: Likewise.
49320         * math/w_acoshl.c: Likewise.
49321         * math/w_acosl.c: Likewise.
49322         * math/w_asin.c: Likewise.
49323         * math/w_asinf.c: Likewise.
49324         * math/w_asinl.c: Likewise.
49325         * math/w_atanh.c: Likewise.
49326         * math/w_atanhf.c: Likewise.
49327         * math/w_atanhl.c: Likewise.
49328         * math/w_exp2.c: Likewise.
49329         * math/w_exp2f.c: Likewise.
49330         * math/w_exp2l.c: Likewise.
49331         * math/w_j0.c: Likewise.
49332         * math/w_j0f.c: Likewise.
49333         * math/w_j0l.c: Likewise.
49334         * math/w_j1.c: Likewise.
49335         * math/w_j1f.c: Likewise.
49336         * math/w_j1l.c: Likewise.
49337         * math/w_jn.c: Likewise.
49338         * math/w_jnf.c: Likewise.
49339         * math/w_log.c: Likewise.
49340         * math/w_log10.c: Likewise.
49341         * math/w_log10f.c: Likewise.
49342         * math/w_log10l.c: Likewise.
49343         * math/w_log2.c: Likewise.
49344         * math/w_log2f.c: Likewise.
49345         * math/w_log2l.c: Likewise.
49346         * math/w_logf.c: Likewise.
49347         * math/w_logl.c: Likewise.
49348         * math/w_sqrt.c: Likewise.
49349         * math/w_sqrtf.c: Likewise.
49350         * math/w_sqrtl.c: Likewise.
49351         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49352         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49353         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49354         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49355         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49357 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49359         [BZ #9739]
49360         * manual/string.texi (strnlen): Use correct parameter name in
49361         equivalent expression.
49363 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49365         [BZ #11174]
49366         * manual/users.texi (seteuid): Consistently use neweuid for
49367         argument name.
49369 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49371         [BZ #13704]
49372         * manual/nss.texi (Services in the NSS configuration): Correct
49373         list of services in example configuration file.
49375 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49377         [BZ #11322]
49378         * manual/arith.texi: Remove statements about negative zero
49379         behaving identically to zero.
49381 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49383         [BZ #5993]
49384         * manual/install.texi: Do not document upgrading from libc5.
49386 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49388         [BZ #4596]
49389         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49391 2012-02-18  David S. Miller  <davem@davemloft.net>
49393         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49394         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49395         %o7 across the call.
49396         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49397         instead.
49398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49399         SETUP_PIC_REG_LEAF.
49400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49401         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49402         * sysdeps/sparc/crtn.S: Likewise.
49404 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49406         * aout/Makefile: Remove.
49408 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49410         [BZ #13058]
49411         * manual/examples/argp-ex1.c (main): Format definition in GNU
49412         style.
49413         * manual/examples/argp-ex2.c (main): Likewise.
49414         * manual/examples/argp-ex3.c (main): Likewise.
49415         * manual/examples/argp-ex4.c (main): Likewise.
49416         * manual/examples/longopt.c (main): Use new-style prototype
49417         definition.
49418         * manual/examples/strncat.c (main): Specify return type and use
49419         (void) for arguments.
49420         * manual/examples/subopt.c (main): Use char **argv argument.
49422 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49424         [BZ #5077]
49425         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49426         rounding modes.
49428 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49430         [BZ #6907]
49431         * manual/string.texi (strchr): Change when strchrnul is
49432         recommended.
49434 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49436         [BZ #174]
49437         * manual/locale.texi (setlocale): Document LOCPATH.
49439 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49441         [BZ #10210]
49442         * manual/process.texi (execle): Move @dots{} before last argument.
49444 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
49446         [BZ #12047]
49447         * manual/charset.texi (Generic Charset Conversion): Fix typo
49448         (LC_TYPE -> LC_CTYPE).
49450 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
49452         [BZ #5805]
49453         * manual/arith.texi (scalbn): Use @var{} on parameter names.
49454         (scalbnf): Likewise.
49455         (scalbnl): Likewise.
49456         (scalbln): Likewise.
49457         (scalblnf): Likewise.
49458         (scalblnl): Likewise.
49459         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49460         (vwarnx): Likewise.
49461         (verr): Likewise.
49462         (verrx): Likewise.
49463         * manual/filesys.texi (telldir): Use braces around return type.
49464         * manual/llio.texi (mmap): Add space after comma.
49465         (mmap64): Likewise.
49466         * manual/math.texi (jn): Use @var{} on parameter names.
49467         (jnf): Likewise.
49468         (jnl): Likewise.
49469         (yn): Likewise.
49470         (ynf): Likewise.
49471         (ynl): Likewise.
49472         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49473         line.
49474         * manual/resource.texi (ulimit): Use @dots{} instead of literal
49475         "...".
49476         (sched_get_priority_min): Remove semicolon on @deftypefun line.
49477         (sched_get_priority_max): Likewise.
49478         * manual/signal.texi (sigvec): Add space after comma.
49479         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49480         names.
49481         (if_indextoname): Likewise.
49482         (if_freenameindex): Likewise.
49483         (sendto): Use ',' instead of '.' in prototype.
49484         * manual/startup.texi (syscall): Use @dots{} instead of literal
49485         "...".
49486         * manual/stdio.texi (__fpending): Separate initial words of
49487         paragraph from @deftypefun line.
49488         * manual/syslog.texi (syslog): Use @dots{} instead of literal
49489         "...".
49490         (vsyslog): Use @var{} on parameter names.
49491         * manual/terminal.texi (stty): Use @var{} on parameter names.
49492         * manual/users.texi (getutmp): Use @var{} on parameter names.
49493         (getutmpx): Likewise.
49495 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49497         [BZ #6884]
49498         * manual/stdio.texi (fopen): Fix typos in description of
49499         ",ccs=STRING".
49501 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
49503         [BZ #4026]
49504         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49505         get clock_id definition.
49507 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
49509         [BZ #4822]
49510         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49511         (madvise): Cast every argument to void on its own.
49513 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49515         [BZ #9902]
49516         * manual/startup.texi (Exit Status): Fix typo.
49518 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49520         [BZ #10140]
49521         * manual/examples/argp-ex1.c: Include <stdlib.h>.
49522         * manual/examples/argp-ex2.c: Likewise.
49523         * manual/examples/argp-ex3.c: Likewise.
49525 2012-02-16  Richard Henderson  <rth@redhat.com>
49527         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49528         * sysdeps/s390/s390-32/initfini.c: Remove.
49529         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49530         * sysdeps/s390/s390-64/initfini.c: Remove.
49532 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49534         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49535         compiler output for sysdeps/generic/initfini.c.
49536         * sysdeps/sh/elf/initfini.c: Remove file.
49538 2012-02-16  David S. Miller  <davem@davemloft.net>
49540         [BZ #11494]
49541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49543         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49544         * sysdeps/sparc/crti.S: New file.
49545         * sysdeps/sparc/crtn.S: New file.
49546         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49547         * sysdeps/sparc/sparc64/Makefile: Likewise.
49549 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
49551         [BZ #3335]
49552         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49554 2012-02-15  Roland McGrath  <roland@hack.frob.com>
49556         [BZ #4822]
49557         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49559         * mach/devstream.c (cookie_io_functions_t): Macro removed.
49560         (write, read, close): Likewise.
49561         Patch by Aurelien Jarno <aurelien@aurel32.net>.
49563 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
49565         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49566         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49567         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49568         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49569         <bits/signalfd.h>.
49570         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49572         bits/signalfd.h.
49574 2012-02-14  Marek Polacek  <polacek@redhat.com>
49576         * sysdeps/x86_64/crti.S: New file.
49577         * sysdeps/x86_64/crtn.S: New file.
49578         * sysdeps/x86_64/elf/initfini.c: Remove file.
49580 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49582         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49583         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49584         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49585         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49586         <bits/inotify.h>.
49587         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49589         bits/inotify.h.
49591 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49593         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49594         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49595         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49596         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49597         <bits/eventfd.h>.
49598         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49599         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49600         bits/eventfd.h.
49602 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
49604         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49605         __feraiseexcept instead of feraiseexcept.
49607         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49608         nanosleep invocations.
49609         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49610         strings, and add error checking for a nanosleep invocations.
49612 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
49614         Replace FSF snail mail address with URLs, as per GNU coding standards.
49615         Most of the snail mail addresses were wrong anyway, and omitting
49616         them makes the source code easier to maintain.  Almost all of the
49617         changes are to license notices and to locale LC_IDENTIFICATION
49618         addresses, except for this one:
49619         * manual/libc.texinfo: In "Published by", give the FSF's URL,
49620         not its snail mail address.
49622 2012-02-09  Richard Henderson  <rth@twiddle.net>
49624         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49625         of kernel-features.h.
49627         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49629 2012-02-08  Marek Polacek  <polacek@redhat.com>
49631         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49632         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49633         * sysdeps/gnu/_G_config.h: Likewise.
49634         * sysdeps/generic/_G_config.h: Likewise.
49636 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
49638         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49639         tests.
49640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49642         * sysdeps/powerpc/powerpc32/crti.S: New file.
49643         * sysdeps/powerpc/powerpc32/crtn.S: New file.
49644         * sysdeps/powerpc/powerpc64/crti.S: New file.
49645         * sysdeps/powerpc/powerpc64/crtn.S: New file.
49647         * Makeconfig (have-initfini): Don't set.
49648         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49649         * configure.in (nopic_initfini): Don't substitute.
49650         * config.h.in (HAVE_INITFINI): Don't #undef.
49651         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49652         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49654 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
49656         Support crti.S and crtn.S provided directly by architectures.
49657         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49658         [crti.S in sysdirs] (omit-deps): Likewise.
49659         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49660         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49661         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49662         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49663         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49664         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49665         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49666         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49667         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49668         compiler output for sysdeps/generic/initfini.c.
49669         * sysdeps/i386/elf/Makefile: Remove file.
49670         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49672 2012-02-07  Marek Polacek  <polacek@redhat.com>
49674         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49675         * sysdeps/gnu/_G_config.h: Likewise.
49676         * sysdeps/mach/hurd/_G_config.h: Likewise.
49678 2012-02-07  Marek Polacek  <polacek@redhat.com>
49680         * math/Makefile (tests): Add tst-CMPLX2.
49681         * math/tst-CMPLX2.c: New file.
49683 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
49685         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49687         * math/libm-test.inc (jn_test): Add missing L suffix.
49689 2012-02-06  Marek Polacek  <polacek@redhat.com>
49691         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49692         * sysdeps/i386/fpu/e_powf.S: Likewise.
49693         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49694         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49695         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49696         * sysdeps/i386/fpu/e_pow.S: Likewise.
49697         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49698         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49699         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49700         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49701         * sysdeps/i386/fpu/e_log2.S: Likewise.
49702         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49703         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49704         * sysdeps/i386/fpu/e_powl.S: Likewise.
49705         * sysdeps/i386/fpu/s_log1p.S: Likewise.
49706         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49707         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49708         * sysdeps/i386/fpu/e_logl.S: Likewise.
49709         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49710         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49711         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49712         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49713         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49714         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49715         * sysdeps/i386/fpu/e_log.S: Likewise.
49716         * sysdeps/i386/fpu/s_cexp.S: Likewise.
49717         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49718         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49719         * sysdeps/i386/fpu/e_logf.S: Likewise.
49720         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49721         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49722         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49723         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49724         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49725         * sysdeps/i386/fpu/e_log10.S: Likewise.
49726         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49727         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49728         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49729         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49730         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49731         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49732         * sysdeps/i386/asm-syntax.h: Likewise.
49733         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49734         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49735         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49736         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49737         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49738         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49739         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49740         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49741         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49742         * sysdeps/powerpc/sysdep.h: Likewise.
49743         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49744         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49746 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49748         [BZ #411]
49749         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49751 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49753         * sysdeps/i386/sysdep.h: Include <features.h>.
49754         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49755         version.
49757 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
49759         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49760         Define.
49761         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49762         LOAD_PIC_REG_STR.
49764 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49766         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49767         (SETUP_PIC_REG): Use GET_PC_THUNK.
49768         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49769         macro.
49771 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49773         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49774         for non-PIC compilation.
49775         (SETUP_PIC_REG): Add .p2align directive.
49776         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49777         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49778         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49779         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49780         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49781         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49782         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49783         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49784         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49785         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49786         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49787         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49788         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49789         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49790         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49791         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49792         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49793         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49794         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49795         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49796         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49797         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49798         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49799         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49800         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49801         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49802         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49803         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49804         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49805         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49806         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49807         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49808         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49809         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49810         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49811         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49812         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49813         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49814         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49815         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49816         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49818 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49820         * math/tst-CMPLX.c: Include <stdio.h>.
49822 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49824         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49825         float.
49826         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49827         * sysdeps/sparc/bits/mathdef.h: Likewise.
49829 2012-01-31  Marek Polacek  <polacek@redhat.com>
49831         * libio/libio.h: Don't define _PARAMS.
49832         * locale/programs/config.h: Don't define PARAMS.
49833         * stdlib/strtol_l.c: Likewise.
49834         (__strtol_l): Remove PARAMS from the prototype.
49836 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49838         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49839         names.  Just use the correct names.  Remove unnecessary wrapper
49840         functions.
49841         * malloc/arena.c: Likewise.
49842         * malloc/hooks.c: Likewise.
49844         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49845         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49846         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49848 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49850         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49851         into tail calls.
49852         (update_get_addr): New function.
49853         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49854         GET_ADDR_MODULE parameter.
49856 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49858         * crypt/cert.c: Remove __STDC__ conditionals.
49859         * crypt/crypt-entry.c: Likewise.
49860         * crypt/crypt_util.c: Likewise.
49861         * libio/filedoalloc.c: Likewise.
49862         * libio/fileops.c: Likewise.
49863         * libio/genops.c: Likewise.
49864         * libio/iofclose.c: Likewise.
49865         * libio/iofdopen.c: Likewise.
49866         * libio/iofopen.c: Likewise.
49867         * libio/iofopen64.c: Likewise.
49868         * libio/iogetdelim.c: Likewise.
49869         * libio/iopopen.c: Likewise.
49870         * libio/obprintf.c: Likewise.
49871         * libio/oldfileops.c: Likewise.
49872         * libio/oldiofclose.c: Likewise.
49873         * libio/oldiofdopen.c: Likewise.
49874         * libio/oldiofopen.c: Likewise.
49875         * libio/oldiopopen.c: Likewise.
49876         * libio/wfiledoalloc.c: Likewise.
49877         * libio/wgenops.c: Likewise.
49878         * locale/programs/xmalloc.c: Likewise.
49879         * misc/syslog.c: Likewise.
49880         * stdio-common/xbug.c: Likewise.
49881         * string/memchr.c: Likewise.
49882         * string/memcmp.c: Likewise.
49883         * string/memrchr.c: Likewise.
49884         * string/rawmemchr.c: Likewise.
49885         * sysdeps/posix/getcwd.c: Likewise.
49886         * time/strftime_l.c: Likewise.
49888 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49890         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49891         * config.make.in (config-cflags-sse2avx): Define.
49892         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49893         Fix typo.
49895 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49897         * scripts/config.guess: Update from upstream config git repository.
49898         * scripts/config.sub: Likewise.
49900 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49902         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49903         (EM_NUM): Update.
49904         (R_TILEPRO_*, R_TILEGX_*): New macros.
49906         * scripts/firstversions.awk: Fix bug in version range handling.
49908         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49910         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49912         * include/sys/epoll.h: New file.
49913         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49914         libc_hidden_def.
49916 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49918         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49919         Avoid unnecessary __WORDSIZE == 64 test.
49920         (fmaxf): Use VEX format if possible.
49921         (fmax): Likewise.
49922         (fminf): Likewise.
49923         (fmin): Likewise.
49925         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49926         * math/math_private.h: Remove libc_fegetround* and
49927         libc_fesetround*.
49928         * sysdeps/i386/configure.in: Check for -msse2avx.
49929         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49930         also if SSE2AVX is defined.
49931         Remove libc_fegetround* and libc_fesetround*.
49932         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49933         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49934         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49935         of HAS_YMM_USABLE.
49936         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49937         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49938         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49939         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49940         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49942         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49944 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49946         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49947         size is not set.
49948         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49950 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49952         [BZ #13618]
49953         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49954         relocation.
49955         * Makeconfig (libm): Define.
49956         * elf/Makefile: Add rules to build and run tst-relsort1.
49957         * elf/tst-relsort1.c: New file.
49958         * elf/tst-relsort1mod1.c: New file.
49959         * elf/tst-relsort1mod2.c: New file.
49961 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49963         * math/s_ldexp.c: Remove __STDC__ conditionals.
49964         * math/s_ldexpf.c: Likewise.
49965         * math/s_ldexpl.c: Likewise.
49966         * math/s_nextafter.c: Likewise.
49967         * math/s_nexttowardf.c: Likewise.
49968         * math/s_significand.c: Likewise.
49969         * math/s_significandf.c: Likewise.
49970         * math/s_significandl.c: Likewise.
49971         * math/w_jnl.c: Likewise.
49972         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49973         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49974         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49975         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49976         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49977         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49978         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49979         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49980         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49981         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49982         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49983         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49984         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49985         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49986         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49987         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49988         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49989         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49990         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49991         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49992         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49993         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49994         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49995         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49996         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49997         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49998         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49999         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50000         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50001         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50002         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50003         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50004         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50005         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50006         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50007         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50008         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50009         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50010         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50011         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50012         * sysdeps/ieee754/k_standard.c: Likewise.
50013         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50014         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50015         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50016         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50017         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50018         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50019         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50020         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50021         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50022         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50023         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50024         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50025         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50026         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50027         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50028         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50029         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50030         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50031         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50032         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50033         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50034         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50035         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50036         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50037         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50038         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50039         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50040         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50041         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50042         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50043         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50044         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50045         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50046         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50047         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50048         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50049         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50050         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50051         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50052         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50053         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50055         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50056         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50057         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50058         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50059         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50060         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50061         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50062         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50063         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50064         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50065         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50066         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50067         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50068         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50069         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50070         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50071         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50072         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50073         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50074         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50075         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50076         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50077         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50078         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50079         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50080         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50081         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50082         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50083         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50084         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50085         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50086         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50087         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50088         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50089         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50090         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50091         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50092         * sysdeps/ieee754/s_matherr.c: Likewise.
50093         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50094         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50098 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50100         * crypt/md5.h: Remove __STDC__ conditionals.
50101         * libio/libioP.h: Likewise.
50102         * locale/programs/config.h: Likewise.
50103         * sysdeps/generic/sysdep.h: Likewise.
50104         * sysdeps/i386/asm-syntax.h: Likewise.
50105         * sysdeps/s390/asm-syntax.h: Likewise.
50106         * sysdeps/unix/sysdep.h: Likewise.
50107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50110 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50112         * libio/libio.h: Remove __STDC__ conditionals.
50113         * malloc/obstack.h: Likewise.
50114         * math/complex.h: Likewise.
50115         * math/math.h: Likewise.
50116         * sysdeps/generic/_G_config.h: Likewise.
50117         * sysdeps/gnu/_G_config.h: Likewise.
50118         * sysdeps/mach/hurd/_G_config.h: Likewise.
50119         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50120         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50121         * sysdeps/sparc/bits/mathdef.h: Likewise.
50123 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50125         [BZ #13583]
50126         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50127         Clean up HAS_* macros.
50128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50129         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50130         possible.
50131         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50132         HAS_AVX.
50133         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50134         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50135         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50136         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50137         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50139 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50141         * elf/tst-unique3.cc (gets): Remove declaration.
50142         * elf/tst-unique3lib.cc (gets): Likewise.
50143         * elf/tst-unique3lib2.cc (gets): Likewise.
50144         * elf/tst-unique4.cc (gets): Likewise.
50146 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50148         * include/stdio.h: Add C++ protection.  Add gets declarations and
50149         definitions.
50150         * debug/tst-chk1.c: Don't declare gets here.
50151         * stdio-common/tst-gets.c: Likewise.
50153 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50155         * posix/glob: Remove directory.
50157 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50159         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50161 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50163         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50164         of the non-standard EPFNOSUPPORT.
50166 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50168         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50169         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50170         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50172 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50174         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50176 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50178         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50179         transient errors.
50180         * nscd/grpcache.c (cache_addgr): Likewise.
50181         * nscd/hstcache.c (cache_addhst): Likewise.
50182         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50183         * nscd/pwdcache.c (cache_addpw): Likewise.
50184         * nscd/servicescache.c (cache_addserv): Likewise.
50186 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50188         * malloc/malloc.c: Various cleanups.
50189         * malloc/hooks.c: Likewise.
50191         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50192         * stdlib/bug-fmtmsg1.c: New file.
50194         * stdlib/fmtmsg.c (init): Add missing unlock.
50195         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50197 2012-01-12  Marek Polacek  <polacek@redhat.com>
50199         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50200         and _GNU_SOURCE.
50202 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50204         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50205         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50206         macro to ensure uniqueness of label name.
50207         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50208         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50210 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50212         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50214         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50215         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50216         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50217         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50219 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50221         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50223         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50224         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50225         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50227         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50229         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50230         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50231         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50234         * math/bits/math-finite.h: Add ldexp support.
50236 2012-01-10  Marek Polacek  <polacek@redhat.com>
50238         * locale/programs/localedef.h (show_archive_content): Add noreturn
50239         attribute.
50241 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50243         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50245 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50247         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50249         * io/Makefile (headers): Add bits/poll2.h.
50251 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50254         typo #include statement.
50256 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50258         * include/sys/cdefs.h: Define __attribute_alloc_size.
50259         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50260         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50261         * elf/pldd.c: Likewise.
50262         * iconv/iconv_charmap.c: Likewise.
50263         * iconv/iconvconfig.c: Likewise.
50264         * iconv/strtab.c: Likewise.
50265         * locale/programs/locale.c: Likewise.
50266         * locale/programs/localedef.h: Likewise.
50267         * locale/programs/simple-hash.c: Likewise.
50268         * nscd/nscd.h: Likewise.
50269         * nss/makedb.c: Likewise.
50270         * sysdeps/generic/ldconfig.h: Likewise.
50271         * locale/programs/localedef.c: Remove xmalloc prototype.
50272         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50274 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50276         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50277         appropriate.
50279 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50281         * math/Makefile (tests): Add tst-CMPLX.
50282         * math/tst-CMPLX.c: New file.
50284         * math/complex.h (CMPLXL): Fix typo.
50286         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50287         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50288         GLIBC_2.16.
50289         * debug/tst-chk1.c: Add poll and ppoll tests.
50290         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50291         * include/sys/poll.h: Add hidden proto for ppoll.
50292         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50293         * sysdeps/mach/hurd/ppoll.c: Likewise.
50294         * io/ppoll.c: Likewise.
50295         * debug/poll_chk.c: New file.
50296         * debug/ppoll_chk.c: New file.
50297         * include/bits/poll2.h: New file.
50298         * io/bits/poll2.h: New file.
50300         [BZ #1350]
50301         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50303         * configure.in: static is always set to yes.  Remove.
50304         * config.make.in: Don't set build-static.
50305         * Makeconfig: Remove use of build-static.
50306         * dlfcn/Makefile: Likewise.
50307         * elf/Makefile: Likewise.
50308         * math/Makefile: Likewise.
50309         * misc/Makefile: Likewise.
50310         * nptl/Makefile: Likewise.
50311         * sysdeps/mach/hurd/Makefile: Likewise.
50313         * configure.in: PWD_P is not used anymore.
50314         * config.make.in: Remove PWD_P entry.
50316         * configure.in: Remove last remnants of RANLIB.
50317         No need to check for signed size_t anymore.
50318         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50319         and IA-64.
50320         Remove __builtin_expect test because we require at least gcc 3.4.
50321         * aclocal.m4: Likewise.
50323         * wcsmbs/mbrtoc16.c: Implement using towc function.
50324         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50325         * wcsmbs/wcsmbsload.c: Likewise.
50326         * iconv/gconv_simple.c: Likewise.
50327         * iconv/gconv_int.h: Likewise.
50328         * iconv/gconv_builtin.h: Likewise.
50329         * iconv/iconv_prog.c: Remove CHAR16 handling.
50331         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50333         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50335         * configure.in: Remove --with-elf and --enable-bounded options.
50336         Dont set base_machine for ia64.  More non-ELF conditions removed.
50337         Remove testing and setting of leading underscore information.
50338         * config.make.in (build-bounded): Set to no.
50339         * config.h.in: Remove NO_UNDERSCORES entry.
50340         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50341         them.
50342         * csu/start.c: Remove !NO_UNDERSCORE code.
50343         * locale/localeinfo.h: Likewise.
50344         * sysdeps/generic/machine-gmon.h: Likewise.
50345         * sysdeps/generic/sysdep.h: Likewise.
50346         * sysdeps/i386/sysdep.h: Likewise.
50347         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50348         * sysdeps/mach/sysdep.h: Likewise.
50349         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50350         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50351         * sysdeps/sh/sysdep.h: Likewise.
50352         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50353         * sysdeps/unix/i386/sysdep.S: Likewise.
50354         * sysdeps/unix/sparc/start.c: Likewise.
50355         * sysdeps/unix/sparc/sysdep.S: Likewise.
50356         * sysdeps/unix/sparc/sysdep.h: Likewise.
50357         * sysdeps/unix/start.c: Likewise.
50358         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50359         * sysdeps/x86_64/sysdep.h: Likewise.
50361 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50363         [BZ #13553]
50364         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50365         for non-gcc.
50366         * argp/argp-fmtstream.h: Use const instead __const.
50367         * argp/argp.h: Likewise.
50368         * assert/assert.h: Likewise.
50369         * bits/fenv.h: Likewise.
50370         * bits/sched.h: Likewise.
50371         * bits/sigset.h: Likewise.
50372         * bits/sigthread.h: Likewise.
50373         * catgets/nl_types.h: Likewise.
50374         * conform/data/pthread.h-data: Likewise.
50375         * crypt/crypt-private.h: Likewise.
50376         * crypt/crypt.h: Likewise.
50377         * crypt/crypt_util.c: Likewise.
50378         * ctype/ctype.h: Likewise.
50379         * debug/execinfo.h: Likewise.
50380         * debug/mbsnrtowcs_chk.c: Likewise.
50381         * debug/mbsrtowcs_chk.c: Likewise.
50382         * debug/wcsnrtombs_chk.c: Likewise.
50383         * debug/wcsrtombs_chk.c: Likewise.
50384         * debug/wcstombs_chk.c: Likewise.
50385         * dirent/dirent.h: Likewise.
50386         * dlfcn/dlfcn.h: Likewise.
50387         * elf/neededtest4.c: Likewise.
50388         * grp/grp.h: Likewise.
50389         * gshadow/gshadow.h: Likewise.
50390         * iconv/gconv.h: Likewise.
50391         * iconv/gconv_int.h: Likewise.
50392         * iconv/gconv_simple.c: Likewise.
50393         * iconv/iconv.h: Likewise.
50394         * iconv/loop.c: Likewise.
50395         * iconv/skeleton.c: Likewise.
50396         * include/aio.h: Likewise.
50397         * include/aliases.h: Likewise.
50398         * include/argz.h: Likewise.
50399         * include/arpa/inet.h: Likewise.
50400         * include/assert.h: Likewise.
50401         * include/dirent.h: Likewise.
50402         * include/dlfcn.h: Likewise.
50403         * include/execinfo.h: Likewise.
50404         * include/fcntl.h: Likewise.
50405         * include/fenv.h: Likewise.
50406         * include/glob.h: Likewise.
50407         * include/grp.h: Likewise.
50408         * include/libintl.h: Likewise.
50409         * include/mntent.h: Likewise.
50410         * include/netdb.h: Likewise.
50411         * include/pwd.h: Likewise.
50412         * include/rpc/netdb.h: Likewise.
50413         * include/sched.h: Likewise.
50414         * include/search.h: Likewise.
50415         * include/shadow.h: Likewise.
50416         * include/signal.h: Likewise.
50417         * include/stdio.h: Likewise.
50418         * include/stdlib.h: Likewise.
50419         * include/string.h: Likewise.
50420         * include/sys/socket.h: Likewise.
50421         * include/sys/stat.h: Likewise.
50422         * include/sys/statfs.h: Likewise.
50423         * include/sys/statvfs.h: Likewise.
50424         * include/sys/syslog.h: Likewise.
50425         * include/sys/time.h: Likewise.
50426         * include/sys/uio.h: Likewise.
50427         * include/time.h: Likewise.
50428         * include/unistd.h: Likewise.
50429         * include/utmp.h: Likewise.
50430         * include/wchar.h: Likewise.
50431         * include/wctype.h: Likewise.
50432         * inet/aliases.h: Likewise.
50433         * inet/arpa/inet.h: Likewise.
50434         * inet/netinet/ether.h: Likewise.
50435         * inet/netinet/in.h: Likewise.
50436         * intl/libintl.h: Likewise.
50437         * io/bits/fcntl2.h: Likewise.
50438         * io/fcntl.h: Likewise.
50439         * io/ftw.h: Likewise.
50440         * io/sys/poll.h: Likewise.
50441         * io/sys/stat.h: Likewise.
50442         * io/sys/statfs.h: Likewise.
50443         * io/sys/statvfs.h: Likewise.
50444         * io/utime.h: Likewise.
50445         * libio/bits/stdio.h: Likewise.
50446         * libio/bits/stdio2.h: Likewise.
50447         * libio/libio.h: Likewise.
50448         * libio/libioP.h: Likewise.
50449         * libio/stdio.h: Likewise.
50450         * locale/lc-ctype.c: Likewise.
50451         * locale/locale.h: Likewise.
50452         * login/utmp.h: Likewise.
50453         * malloc/arena.c: Likewise.
50454         * malloc/malloc.c: Likewise.
50455         * malloc/malloc.h: Likewise.
50456         * malloc/mcheck.c: Likewise.
50457         * malloc/mtrace.c: Likewise.
50458         * math/bits/mathcalls.h: Likewise.
50459         * math/fenv.h: Likewise.
50460         * math/math_private.h: Likewise.
50461         * misc/bits/error.h: Likewise.
50462         * misc/bits/syslog.h: Likewise.
50463         * misc/err.h: Likewise.
50464         * misc/error.h: Likewise.
50465         * misc/fstab.h: Likewise.
50466         * misc/mntent.h: Likewise.
50467         * misc/regexp.h: Likewise.
50468         * misc/search.h: Likewise.
50469         * misc/sgtty.h: Likewise.
50470         * misc/sys/mman.h: Likewise.
50471         * misc/sys/syslog.h: Likewise.
50472         * misc/sys/uio.h: Likewise.
50473         * misc/sys/xattr.h: Likewise.
50474         * misc/ttyent.h: Likewise.
50475         * nis/rpcsvc/ypclnt.h: Likewise.
50476         * nss/nss.h: Likewise.
50477         * posix/bits/unistd.h: Likewise.
50478         * posix/fnmatch.h: Likewise.
50479         * posix/glob.h: Likewise.
50480         * posix/sched.h: Likewise.
50481         * posix/spawn.h: Likewise.
50482         * posix/sys/wait.h: Likewise.
50483         * posix/unistd.h: Likewise.
50484         * posix/wordexp.h: Likewise.
50485         * pwd/pwd.h: Likewise.
50486         * resolv/netdb.h: Likewise.
50487         * resource/sys/resource.h: Likewise.
50488         * rt/aio.h: Likewise.
50489         * rt/bits/mqueue2.h: Likewise.
50490         * rt/mqueue.h: Likewise.
50491         * shadow/shadow.h: Likewise.
50492         * signal/signal.h: Likewise.
50493         * socket/send.c: Likewise.
50494         * socket/sendto.c: Likewise.
50495         * socket/sys/socket.h: Likewise.
50496         * stdio-common/printf.h: Likewise.
50497         * stdlib/bits/stdlib.h: Likewise.
50498         * stdlib/fmtmsg.h: Likewise.
50499         * stdlib/monetary.h: Likewise.
50500         * stdlib/stdlib.h: Likewise.
50501         * stdlib/ucontext.h: Likewise.
50502         * streams/stropts.h: Likewise.
50503         * string/argz.h: Likewise.
50504         * string/bits/string2.h: Likewise.
50505         * string/string.h: Likewise.
50506         * string/strings.h: Likewise.
50507         * sunrpc/rpc/auth.h: Likewise.
50508         * sunrpc/rpc/auth_des.h: Likewise.
50509         * sunrpc/rpc/clnt.h: Likewise.
50510         * sunrpc/rpc/netdb.h: Likewise.
50511         * sunrpc/rpc/pmap_clnt.h: Likewise.
50512         * sunrpc/rpc/xdr.h: Likewise.
50513         * sysdeps/generic/inttypes.h: Likewise.
50514         * sysdeps/generic/net/if.h: Likewise.
50515         * sysdeps/generic/sys/swap.h: Likewise.
50516         * sysdeps/gnu/net/if.h: Likewise.
50517         * sysdeps/gnu/utmpx.h: Likewise.
50518         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50519         * sysdeps/i386/i486/bits/string.h: Likewise.
50520         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50521         * sysdeps/s390/bits/string.h: Likewise.
50522         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50523         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50524         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50525         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50526         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50527         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50528         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50529         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50530         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50531         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50532         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50533         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50534         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50535         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50536         * sysdeps/unix/sysv/linux/readv.c: Likewise.
50537         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50538         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50539         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50540         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50541         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50542         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50543         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50544         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50545         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50546         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50547         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50548         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50549         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50550         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50551         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50552         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50553         * sysvipc/sys/ipc.h: Likewise.
50554         * sysvipc/sys/msg.h: Likewise.
50555         * sysvipc/sys/sem.h: Likewise.
50556         * sysvipc/sys/shm.h: Likewise.
50557         * termios/termios.h: Likewise.
50558         * time/sys/time.h: Likewise.
50559         * time/time.h: Likewise.
50560         * wcsmbs/bits/wchar2.h: Likewise.
50561         * wcsmbs/uchar.h: Likewise.
50562         * wcsmbs/wchar.h: Likewise.
50563         * wctype/wctype.h: Likewise.
50565         [BZ #13551]
50566         * Makeconfig: Remove all but ELF support including AIX support.
50567         * Makerules: Likewise.
50568         * config.h.in: Likewise.
50569         * config.make.in: Likewise.
50570         * configure: Likewise.
50571         * configure.in: Likewise.
50572         * csu/Makefile: Likewise.
50573         * csu/version.c: Likewise.
50574         * debug/Makefile: Likewise.
50575         * dlfcn/Makefile: Likewise.
50576         * elf/Makefile: Likewise.
50577         * extra-lib.mk: Likewise.
50578         * iconv/Makefile: Likewise.
50579         * include/libc-symbols.h: Likewise.
50580         * include/shlib-compat.h: Likewise.
50581         * resolv/Makefile: Likewise.
50582         * resolv/res_libc.c: Likewise.
50583         * rt/Makefile: Likewise.
50584         * sysdeps/i386/asm-syntax.h: Likewise.
50585         * sysdeps/i386/sysdep.h: Likewise.
50586         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50587         * sysdeps/mach/sysdep.h: Likewise.
50588         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50589         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50590         * sysdeps/s390/asm-syntax.h: Likewise.
50591         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50592         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50593         * sysdeps/sh/sysdep.h: Likewise.
50594         * sysdeps/unix/sparc/sysdep.h: Likewise.
50595         * sysdeps/wordsize-32/divdi3.c: Likewise.
50596         * sysdeps/x86_64/sysdep.h: Likewise.
50598         * argp/Versions: Remove _argp_unlock_xxx.
50600         [BZ #13559]
50601         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
50602         * abilist/libBrokenLocale.abilist: Likewise.
50603         * abilist/libanl.abilist: Likewise.
50604         * abilist/libc.abilist: Likewise.
50605         * abilist/libcrypt.abilist: Likewise.
50606         * abilist/libdl.abilist: Likewise.
50607         * abilist/libm.abilist: Likewise.
50608         * abilist/libnsl.abilist: Likewise.
50609         * abilist/libpthread.abilist: Likewise.
50610         * abilist/libresolv.abilist: Likewise.
50611         * abilist/librt.abilist: Likewise.
50612         * abilist/libthread_db.abilist: Likewise.
50613         * abilist/libutil.abilist: Likewise.
50614         * abilist/libnss_db.abilist: New file.
50616         * scripts/abilist.awk: Add support for indirect functions.
50618         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50620         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50622         * shlib-versions: Remove entries for ports architectures.
50624         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
50625         files in ports.
50626         * elf/stackguard-macros.h: Remove support for IA-64.
50627         * elf/tst-auditmod1.c: Likewise.
50628         * sysdeps/generic/ldsodefs.h: Likewise.
50630         * sysdeps/unix/sysv/linux/configure.in: Ports should define
50631         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50632         configure files.
50634         [BZ #13552]
50635         * configure.in: Remove --enable-omitfp support.
50636         * FAQ.in: Adjust.
50637         * config.make.in: Likewise.
50638         * Makeconfig: Likewise.
50639         * manual/install.texi: Likewise.
50641         In case anyone cares, the IA-64 architecture could move to ports.
50642         * sysdeps/ia64/*: Removed.
50643         * sysdeps/unix/sysv/linux/ia64/*: Removed.
50644         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50646         [BZ #13555]
50647         * configure.in: Remove entries for unsupported architectures.
50649         [BZ #13533]
50650         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50651         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
50652         routines.
50653         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50654         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50655         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
50656         fall back to using wcrtomb.
50657         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50658         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
50659         renaming.
50660         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50661         * wcsmbs/tst-c16c32-1.c: New file.
50663         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50664         local variable.
50666         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50668         * elf/tst-unique3.cc: Add explicit declaration of gets.
50669         * elf/tst-unique3lib.cc: Likewise.
50670         * elf/tst-unique3lib2.cc: Likewise.
50671         * elf/tst-unique4.cc: Likewise.
50673         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50675 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
50677         [BZ #13566]
50678         * assert/assert.h (static_assert): Don't define for C++.
50679         * libio/stdio.h (gets): Do declare for C++ <= C++11.
50680         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50682 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
50684         * iconv/loop.c (single loop): Fix assertion in storing of
50685         remaining bytes.
50687         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50689 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
50691         * posix/getconf.c: Update copyright year.
50692         * nss/getent.c: Likewise.
50693         * nss/makedb.c: Likewise.
50694         * iconv/iconvconfig.c: Likewise.
50695         * iconv/iconv_prog.c: Likewise.
50696         * elf/ldconfig.c: Likewise.
50697         * elf/pldd.c: Likewise.
50698         * elf/sotruss.ksh: Likewise.
50699         * catgets/gencat.c: Likewise.
50700         * csu/version.c: Likewise.
50701         * elf/ldd.bash.in: Likewise.
50702         * elf/sprof.c (print_version): Likewise.
50703         * locale/programs/locale.c: Likewise.
50704         * locale/programs/localedef.c: Likewise.
50705         * login/programs/pt_chown.c: Likewise.
50706         * nscd/nscd.c (print_version): Likewise.
50707         * debug/xtrace.sh: Likewise.
50708         * malloc/memusage.sh: Likewise.
50709         * malloc/mtrace.pl: Likewise.
50710         * debug/catchsegv.sh: Likewise.
50712 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
50714         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50715         pure attribute.
50717 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
50719         [BZ #13533]
50720         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50721         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50722         transformations.
50723         * iconv/gconv_int.h: Likewise.
50724         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50725         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50726         from libc for GLIBC_2.16.
50727         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50728         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50729         * wcsmbs/uchar.h: Really define mbstate_t.
50730         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50731         * wcsmbs/c16rtomb.c: New file.
50732         * wcsmbs/mbrtoc16.c: New file.
50733         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50734         for C/POSIX locale.
50735         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50736         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50738         * wcsmbs/wchar.h: Add missing __restrict.
50740 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50742         [BZ #13532]
50743         * time/Makefile (routines): Add timespec_get.
50744         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50745         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
50746         timespec for ISO C11.
50747         * time/timespec_get.c: New file.
50748         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50749         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50751         [BZ #13531]
50752         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50753         * stdlib/stdlib.h: Declare aligned_alloc.
50754         * Versions.def: Add GLIBC_2.16 for libc.
50755         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50757         [BZ 13527]
50758         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50759         ISO C11.
50761         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50762         code.
50764         [BZ #13528]
50765         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50767         [BZ #13529]
50768         * assert/assert.h (static_assert): Define.
50770         * version.h: Update for 2.16 development version.
50772         [BZ #13526]
50773         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50774         _ISOC11_SOURCE.
50776         * version.h (RELEASE): Bump for 2.15 release.
50777         * include/features.h (__GLIBC_MINOR__): Bump to 15.
50779         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50780         Patch by Marek Polacek <mpolacek@redhat.com>.
50782         * bits/byteswap.h: Protect long long constants with __extension__.
50783         * sysdeps/i386/bits/byteswap.h: Likewise.
50784         * sysdeps/ia64/bits/byteswap.h: Likewise.
50785         * sysdeps/s390/bits/byteswap.h: Likewise.
50786         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50788 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50790         [BZ #13540]
50791         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50792         destination buffer.
50793         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50795 2011-12-23  Marek Polacek  <polacek@redhat.com>
50797         * elf/dl-addr.c (determine_info): Add inline keyword.
50798         * elf/tst-auditmod4b.c (check_avx): Likewise.
50799         * elf/tst-auditmod6b.c (check_avx): Likewise.
50800         * elf/tst-auditmod6c.c (check_avx): Likewise.
50801         * elf/tst-auditmod7b.c (check_avx): Likewise.
50803 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50805         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50806         !__SSE_MATH__.
50808 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50810         [BZ #13540]
50811         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50812         processing for last bytes.
50814 2011-08-06  Bruno Haible  <bruno@clisp.org>
50816         [BZ #13061]
50817         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50818         U+0385, not to U+1FEE.
50820         [BZ #13062]
50821         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50822         entry for U+00A5 U+0301.
50824 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50826         [BZ #13166]
50827         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50828         buffer for the output is too small.
50830         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50831         optimization.
50833         [BZ #13185]
50834         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50835         SSE flags if possible.
50837 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50839         [BZ #13540]
50840         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50841         processing for last bytes.
50843 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50845         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50846         (syscall-list-default-options, syscall-list-default-condition)
50847         (syscall-list-includes): Define.
50848         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50849         list of ABIs and options and #if conditions for each ABI.  Do not
50850         handle common syscalls between ABIs specially.
50851         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50852         Remove.
50853         (syscall-list-variants, syscall-list-32bit-options)
50854         (syscall-list-32bit-condition, syscall-list-64bit-options)
50855         (syscall-list-64bit-condition): Define.
50856         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50857         (syscall-list-variants, syscall-list-32bit-options)
50858         (syscall-list-32bit-condition, syscall-list-64bit-options)
50859         (syscall-list-64bit-condition): Define.
50860         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50861         Remove.
50862         (syscall-list-variants, syscall-list-32bit-options)
50863         (syscall-list-32bit-condition, syscall-list-64bit-options)
50864         (syscall-list-64bit-condition): Define.
50865         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50866         Remove.
50867         (syscall-list-variants, syscall-list-32bit-options)
50868         (syscall-list-32bit-condition, syscall-list-64bit-options)
50869         (syscall-list-64bit-condition): Define.
50871 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50873         * locale/iso-639.def: Add brx entry.
50875         [BZ #13328]
50876         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50877         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50879         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50880         __feraiseexcept_renamed.
50882 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50884         [BZ #13538]
50885         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50886         EPOLLET with unsigned values.
50887         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50888         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50890         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50891         to large cancellation.
50892         * math/s_cacoshf.c: Likewise.
50893         * math/s_cacoshl.c: Likewise.
50895 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50897         [BZ #13305]
50898         [BZ #12786]
50899         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50900         * math/s_cacoshf.c: Likewise.
50901         * math/s_cacoshl.c: Likewise.
50903 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50905         [BZ #13439]
50906         * iconv/gconv.h: Define __GCONV_SWAP.
50907         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50908         * iconvdata/utf-16.c: Likewise.
50909         * iconvdata/utf-32.c: Likewise.
50911 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50913         [BZ #13524]
50914         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50915         numerator after shifting it by one limb.
50917 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50919         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50920         under [__USE_EXTERN_INLINES].
50922 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50924         [BZ #13446]
50925         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50927 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50929         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50930         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50931         optimized code.
50932         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50933         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50934         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50935         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50936         for strncasecmp/strncasecmp_l compilation.
50937         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50938         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50940 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50942         [BZ #13484]
50943         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50944         of __asm__.
50946 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50948         [BZ #13506]
50949         * time/tzfile.c (__tzfile_read): Check values from file header.
50951 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50953         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50954         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50955         * powerpc/powerpc32/dl-start.S: Likewise.
50956         * powerpc/powerpc32/elf/start.S: Likewise.
50957         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50958         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50959         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50960         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50961         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50962         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50963         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50964         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50965         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50966         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50967         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50968         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50969         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50970         * powerpc/powerpc32/memset.S: Likewise.
50971         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50972         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50973         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50974         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50975         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50976         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50977         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50978         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50979         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50980         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50981         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50982         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50983         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50985 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50987         * math/libm-test.inc: Added more nearbyint tests.
50988         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50989         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50990         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50991         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50993 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50995         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50996         FD_CLOEXEC.
50998 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51000         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51001         Add wcscpy-ssse3 wcscpy-c.
51002         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51003         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51004         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51005         * sysdeps/x86_64/wcschr.S: New file.
51006         * sysdeps/x86_64/wcsrchr.S: New file.
51007         * string/test-strcmp.c: Remove checking of wcscmp function for
51008         wrong alignments.
51009         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51010         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51011         wcsrchr-sse2 wcsrchr-c.
51012         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51013         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51014         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51015         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51016         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51017         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51018         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51019         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51020         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51021         * wcsmbc/wcschr.c (WCSCHR): New macro.
51023 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51025         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51026         * wcsmbs/test-wcsrchr.c: New file.
51027         * string/test-strrchr.c: Add wcsrchr support.
51028         (WIDE): New macro.
51029         * wcsmbs/test-wcscpy.c: New file.
51030         * string/test-strcpy.c: Add wcscpy support.
51031         (WIDE): New macro.
51033 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51035         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51036         the inner loop.
51038 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51040         [BZ #13472]
51041         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51043 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51045         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51046         Minor optimizations.
51048         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51049         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51050         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51052 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51054         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51055         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51056         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51057         for gcc to avoid warnings.
51058         * inet/Makefile (tests): Add tst-checks.
51059         * inet/tst-checks.c: New file.
51061         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51062         warning.
51064         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51065         __wmemcmp_sse2.
51067         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51068         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51070         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51072 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51074         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51075         problem.
51077         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51079 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51081         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51082         conditional on GCC version.
51083         (__arch_compare_and_exchange_val_8_acq)
51084         (__arch_compare_and_exchange_val_16_acq)
51085         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51086         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51087         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51089 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51091         * sysdeps/sh/backtrace.c: New file.
51093 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51095         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51096         parenthesis.
51098 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51100         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51101         falling back to utime.
51103 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51105         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51106         expectations for float.
51108 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51110         * locale/weight.h (findidx): Add parameter len.
51111         * locale/weightwc.h (findidx): Likewise.
51112         * posix/fnmatch_loop.c (FCT): Adjust caller.
51113         * posix/regcomp.c (build_equiv_class): Likewise.
51114         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51115         * posix/regexec.c (check_node_accept_bytes): Likewise.
51116         * string/strcoll_l.c (STRCOLL): Likewise.
51117         * string/strxfrm_l.c (STRXFRM): Likewise.
51119 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51121         * Makefile.in: Remove CVSOPT handling.
51122         * configure.in: Remove use of AC_REVISION.
51123         * iconvdata/Makefile (distribute): No need to filter out CVS.
51124         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51125         handling.
51127 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51130         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51131         [USE_AS_STRNCASECMP_L]: Likewise.
51132         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51133         NO_TLS_DIRECT_SEG_REFS.
51134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51135         Fix argument offsets for non-PIC.
51136         [USE_AS_STRNCASECMP_L]: Likewise.
51137         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51138         NO_TLS_DIRECT_SEG_REFS.
51140 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51142         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51143         O_CLOEXEC.
51144         * locale/loadlocale.c (_nl_load_locale): Likewise.
51146 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51148         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51149         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51150         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51151         (SYSCALL_GETTIME): Set errno on error.
51153         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51154         count references to noai6ai_cached.
51156 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51158         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51160         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51161         FD_CLOEXEC for /proc/self/maps.
51163         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51164         FD_CLOEXEC for /proc/meminfo.
51166         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51167         gai.conf.
51169         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51170         FD_CLOEXEC for given file.
51172         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51174         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51175         FD_CLOEXEC for /etc/hosts.
51176         (_gethtent): Likewise.
51178         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51180         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51181         cancellation and set FD_CLOEXEC for /etc/netgroup.
51183         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51184         reading /etc/publickey.
51186         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51187         allow cancellation when reading /etc/group.
51189         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51190         cancellation.
51191         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51193         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51194         when using data file.
51196         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51198         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51199         (write_nis_obj): Use "c" and "e" in fopen.
51201         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51203         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51205         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51207         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51209         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51210         locale.alias.
51212         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51214         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51216         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51218         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51219         file parsing and set FD_CLOEXEC.
51221 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51223         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51225 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51227         * malloc/arena.c (arena_get2): Don't call reused_arena when
51228         _int_new_arena failed.
51230 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51232         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51233         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51234         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51235         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51236         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51237         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51238         to compile strcasecmp and strncasecmp.
51239         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51240         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51242         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51244 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51246         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51247         locale-defines.sym to gen-as-const-headers.
51248         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51249         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51251         to compile strcasecmp and strncasecmp.
51252         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51253         strcasecmp_l and strncasecmp_l.
51254         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51255         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51256         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51257         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51258         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51259         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51260         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51261         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51262         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51263         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51264         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51266 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51268         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51269         result of SYSDEP_GETTIME_CPU to retval.
51270         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51271         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51273         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51274         variable.
51276         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51277         mantissa words.
51278         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51280         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51281         from unused variable.
51283         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51284         DWARF definitions.
51285         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51286         for assembling.
51288         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51289         over namespaces.
51291         * sunrpc/rpc_prot.c (rejected): Fix case value.
51293         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51294         unsigned long long int to avoid warnings in shift.
51296         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51297         of use of trans.
51298         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51299         variable tmp.
51301         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51302         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51303         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51305         * nis/nis_table.c (nis_list): Use variable of correct type for
51306         result of __follow_path call.
51308 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51310         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51311         of math functions ceil, trunc, floor, round, and sqrt, when
51312         avaliable on the platform.
51313         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51314         name clash.
51315         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51316         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51317         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51319 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51321         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51322         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51324 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51326         * include/unistd.h: Fix __readlink return type.
51327         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51329 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51331         * stdlib/ucontext.h: Undo last change for makecontext.
51333 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51335         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51337         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51338         * setjmp/setjmp.h: Mark functions as non-leaf.
51339         * setjmp/bits/setjmp2.h: Likewise.
51340         * stdlib/ucontext.h: Likewise.
51342 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51344         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51345         (reused_arena): Don't check arena limit.
51346         (arena_get2): Atomically check arena limit.
51348 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51350         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51351         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51353         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51354         instructions.
51356 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51358         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51359         handler when locking.
51361         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51362         Fix size of allocated buffer.
51364 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51366         [BZ #10103]
51367         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51368         declarations for long double functions.
51369         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51371         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51373 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51375         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51376         installed.
51378         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51379         is disabled.
51381 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51383         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51385 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51387         * include/alloca.h (stackinfo_alloca_round): Define.
51388         (extend_alloca): Use it.
51389         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51390         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51391         here.
51393         * scripts/check-local-headers.sh: Ignore libaudit.h.
51395         * nscd/Makefile (extra-objs): Make recursively expanded.
51397 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51399         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51400         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51402         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51403         * posix/tst-rfc3484-2.c: Likewise.
51404         * posix/tst-rfc3484-3.c: Likewise.
51406         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51407         process_vm_writev.
51408         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51409         process_vm_writev.
51410         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51411         process_vm_writev from libc using GLIBC_2.15 version.
51413         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51415 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51417         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51418         stack usage.
51420 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51422         [BZ #13367]
51423         * nss/getent.c (initgroups_keys): Show error message in case no group
51424         names are given.
51426         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51427         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51428         __bump_nl_timestamp.
51429         * nscd/connections (nscd_init): When host database is served open
51430         netlink socket and request notification about configuration changes.
51431         (main_loop_poll): Track netlink file descriptor and bump timestamp
51432         in case data becomes available.
51433         (main_loop_epoll): Likewise.
51434         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51435         (database_pers_head): Add extra_data fileds.
51436         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51437         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51438         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51439         Adjust caller.
51440         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51441         in6ai data, call __free_in6ai.
51442         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51443         Add -DHAVE_NETLINK.
51444         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
51445         interface information.  Reuse previous data if netlink timestamp
51446         is not changed.
51447         (__bump_nl_timestamp): New function.
51448         (__free_in6ai): New function.
51450 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
51452         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51453         close_not_cancel_no_status here.
51454         (__check_pf): Reorganize code a bit to not call close twice if OOM.
51456 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51458         [BZ #13276]
51459         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51460         return value.
51462         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51463         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51464         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51466 2011-07-03  Andreas Jaeger  <aj@suse.de>
51468         [BZ #10709]
51469         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51470         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51471         * math/libm-test.inc (sin_test): Add test case.
51473 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51475         [BZ #13337]
51476         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51477         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51479         * elf/chroot_canon.c (chroot_canon): Cleanups.
51481         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51483         [BZ #13335]
51484         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51485         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51487         * string/test-strchr.c: Make usable for strchrnul testing.
51488         * string/test-strchrnul.c: New file.
51489         * string/Makefile (strop-tests): Add strchrnul.
51491         * po/it.po: Update from translation team.
51492         * po/es.po: Likewise.
51494 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
51496         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51497         the three constants needed as parameters.  Drop the others.
51498         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51499         __m128i_strloadu_tolower.
51500         Create and initialize variable zero and use it in all the places
51501         where _mm_setzero_si128 was used.
51503         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51504         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51505         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51506         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51507         anymore.
51508         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51509         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51510         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51511         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51512         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51513         __mpranred, __mptan.
51514         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51515         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51516         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51517         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51518         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51519         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51520         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51521         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51522         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51524 2011-10-28  Andreas Schwab  <schwab@redhat.com>
51526         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51527         redefine if SHARED.
51528         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51530         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51531         wide char related routines to wcsmbs subdir.
51533 2011-10-27  Andreas Schwab  <schwab@redhat.com>
51535         [BZ #13344]
51536         * misc/sys/cdefs.h (__THROWNL): Define.
51537         * posix/unistd.h: Use __THREADNL instead of __THREAD
51538         for memory synchronization functions.
51540 2011-10-26  Roland McGrath  <roland@hack.frob.com>
51542         [BZ #13349]
51543         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51544         doesn't exist.
51545         * manual/stdio.texi (Obstack Streams): Node removed.
51547 2011-10-26  Andreas Schwab  <schwab@redhat.com>
51549         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51550         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51551         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51553         * math/math_private.h (math_force_eval): Allow non-addressable
51554         arguments.
51555         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51557 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51559         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51560         file is not needed.
51562         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51563         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51564         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51565         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51566         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51567         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51568         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51569         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51570         Add AVX variants.
51571         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51572         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51573         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51574         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51575         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51576         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51577         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51578         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51579         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51580         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51581         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51582         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51583         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51584         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51585         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51586         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51587         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51588         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51589         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51591         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51592         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
51594         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51595         place.  Use VEX encoding when compiling for AVX.
51597 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51599         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51600         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51602         * string/test-strchr.c (do_test): Don't generate NUL bytes.
51604 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51606         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51607         useless if() expression.
51608         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51609         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51610         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51611         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51612         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51613         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51614         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51615         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51616         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51617         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51618         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51619         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51620         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51621         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51622         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51623         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51624         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51625         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51626         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51628         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51630 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51632         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51633         condition.
51634         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51636 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51638         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51639         .text section.  Avoid duplicate constants.
51640         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51641         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51642         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51643         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51644         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51645         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51646         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51647         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51648         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51649         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51650         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51651         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51652         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51653         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51654         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51655         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51656         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51657         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51658         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51659         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51660         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51661         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51662         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51663         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51664         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51665         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51666         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51667         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51668         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51669         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51670         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51671         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51672         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51673         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51674         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51675         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51676         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51677         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51678         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51679         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51680         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51681         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51682         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51683         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51684         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51686 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
51688         * sysdeps/x86_64/dla.h: Move to ...
51689         * sysdeps/x86_64/fpu/dla.h: ...here.
51690         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51691         situations.  Use __builtin_fma only for gcc 4.6 and up.
51693         * config.make.in: Add have-mfma4 entry.
51694         * configure.in: Substitute libc_cv_cc_fma4.
51695         * math/Makefile (dbl-only-routines): Add sincostab.
51696         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51697         Use __sincostab not sincos.
51698         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51699         name is a macro.
51700         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51701         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51702         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51703         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
51704         using __copysign.
51705         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
51706         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
51707         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51708         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51709         and __inv.
51710         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51711         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51712         __copysign.
51713         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
51714         define aliases when function name is a macro.
51715         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51716         sysdeps/ieee754/dbl-64/sincos.tbl.
51717         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51718         fma4-enabled routines.
51719         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51720         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51721         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51722         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51723         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51724         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51725         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51726         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51727         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51728         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51729         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51730         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51731         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51732         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51733         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51734         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51735         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51736         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51737         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51738         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51739         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51740         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51741         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51742         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51743         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51744         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51745         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51746         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51747         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51748         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51750         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51751         rename.
51752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51755         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51756         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51757         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51758         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51759         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51761 2011-10-24  Andreas Schwab  <schwab@redhat.com>
51763         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51765 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51767         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51769         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51770         prediction.
51771         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51773         * string/strnlen.c: Don't define STRNLEN, reverse logic.
51774         Remove unused variable magic_bits.
51775         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51777         * string/strnlen.c: Define and use STRNLEN macro.
51778         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51779         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51780         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51781         * wcsmbs/wcslen.c: Define and use WCSLEN.
51782         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51783         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51784         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51785         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51786         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51787         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51788         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51790 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51793         strnlen-sse2-no-bsf.
51794         Rename strlen-no-bsf to strlen-sse2-no-bsf.
51795         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51796         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51797         Add strnlen support.
51798         (USE_AS_STRNLEN): New macro.
51799         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51800         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51801         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51802         * sysdeps/x86_64/wcslen.S: New file.
51804 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
51806         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51807         XMM-moves are used for copying on small sizes.
51809 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51811         * wcsmbs/Makefile (strop-tests): Add wcschr.
51812         * wcsmbs/test-wcschr.c: New file.
51813         * string/test-strchr.c: Update.
51814         Add wcschr support.
51815         (WIDE): New macro.
51817 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51819         * wcsmbs/Makefile (strop-tests): Add wcslen.
51820         * wcsmbs/test-wcslen.c: New file.
51821         * string/test-strlen.c: Update.
51822         Add wcslen support.
51823         (WIDE): New macro.
51825 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51827         * po/it.po: Update from translation team.
51829 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51831         * sysdeps/x86_64/wcscmp.S: Update.
51832         Fix wrong comparison semantics.
51833         wcscmp shall use signed comparison not unsigned.
51834         Don't use substraction to avoid overflow bug.
51835         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51836         * wcsmbc/wcscmp.c: Likewise.
51837         * string/test-strcmp.c: Likewise.
51838         Add new tests to check cases with negative values.
51840 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51842         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51843         * sysdeps/x86_64/dla.h: ...here.  New file.
51844         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51845         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51846         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51847         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51848         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51849         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51850         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51851         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51852         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51854 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51856         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51857         __ynl_finite aliases.
51859 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51863         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51864         define DLA_FMA.
51865         [DLA_FMA] (EMULV): Use DLA_FMA.
51866         [DLA_FMA] (MUL12): Use EMULV.
51867         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51868         that are not needed.
51869         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51870         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51873         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51874         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51875         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51877 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51879         * math/s_nan.c: Undef __nan.
51880         * math/s_nanf.c: Undef __nanf.
51881         * math/s_nanl.c: Undef __nanl.
51882         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51883         "math_private.h".
51885 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51887         * math/s_catan.c: Add branch predictions.
51888         * math/s_catanf.c: Likewise.
51889         * math/s_catanh.c: Likewise.
51890         * math/s_catanhf.c: Likewise.
51891         * math/s_catanhl.c: Likewise.
51892         * math/s_catanl.c: Likewise.
51893         * math/s_cexp.c: Likewise.
51894         * math/s_cexpf.c: Likewise.
51895         * math/s_cexpl.c: Likewise.
51896         * math/s_clog.c: Likewise.
51897         * math/s_clog10.c: Likewise.
51898         * math/s_clog10f.c: Likewise.
51899         * math/s_clog10l.c: Likewise.
51900         * math/s_clogf.c: Likewise.
51901         * math/s_clogl.c: Likewise.
51902         * math/s_csqrt.c: Likewise.
51903         * math/s_csqrtf.c: Likewise.
51904         * math/s_csqrtl.c: Likewise.
51905         * math/s_ctanf.c: Likewise.
51906         * math/s_ctanh.c: Likewise.
51907         * math/s_ctanhf.c: Likewise.
51908         * math/s_ctanhl.c: Likewise.
51909         * math/s_ctanl.c: Likewise.
51911         * math/math_private.h: Define __nan, __nanf, __nanl.
51912         * math/s_cacosh.c: Include <math_private.h>.
51913         * math/s_cacoshl.c: Likewise.
51914         * math/s_casinh.c: Likewise.
51915         * math/s_casinhf.c: Likewise.
51916         * math/s_casinhl.c: Likewise.
51917         * math/s_ccos.c: Rely entire on ccosh.
51918         * math/s_ccosf.c: Rely entire on ccoshf.
51919         * math/s_ccosl.c: Rely entirely on ccoshl.
51920         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51921         Remove tests for FE_INVALID.
51922         * math/s_ccoshf.c: Likewise.
51923         * math/s_ccoshl.c: Likewise.
51924         * math/s_csin.c: Likewise.
51925         * math/s_csinf.c: Likewise.
51926         * math/s_csinh.c Likewise.
51927         * math/s_csinhf.c: Likewise.
51928         * math/s_csinhl.c: Likewise.
51929         * math/s_csinl.c: Likewise.
51930         * math/s_ctan.c: Likewise.
51931         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51932         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51933         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51935 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51938         compilation problems.
51940         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51941         __builtin_expect.
51943 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51945         * sysdeps/i386/configure.in: Test for -mfma4 option.
51946         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51947         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51948         COMMON_CPUID_INDEX_80000001.
51949         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51950         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51951         use it if FMA3 is not supported.
51952         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51954         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51955         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51957 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51959         [BZ #12892]
51960         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51961         it would create a cycle with a link time dependency.
51963 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51965         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51966         instruction.
51967         * string/Makefile (strop-tests): Add rawmemchr.
51968         * string/test-rawmemchr.c: New file.
51970         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51971         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51972         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51973         when compiling str{,n}casecmp and when AVX is available.  Hook up
51974         new optimized code in initializers.
51976 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51978         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51979         __feraiseexcept instead of feraiseexcept.
51981 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51983         * math/math_private.h: Define defaults for libc_fetestexcept and
51984         libc_feupdateenv.
51985         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51986         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51987         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51988         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51989         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51990         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51991         libc_fetestexcept and libc_feupdateenv.
51993         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51994         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51995         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51996         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51997         libc_feholdexcept_setround.
51999         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52000         Add s_nearbyint-c and s_nearbyintf-c.
52001         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52002         nearbyintf inlines.
52003         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52004         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52005         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52006         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52008         * math/math_private.h: Define defaults for libc_fegetround,
52009         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52010         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52011         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52012         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52013         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52014         standard functions.
52015         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52016         Remove comments and hacks for old compiler versions.
52017         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52018         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52019         libc_feholdexceptl.
52021 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52023         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52024         (__feraiseexcept_renamed): Add __NTH.
52025         (feraiseexcept): Add __NTH.  Rename local variables to fix
52026         namespace violations.
52028 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52030         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52032         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52034         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52035         recently added interfaces.
52036         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52038         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52039         about macro parameter expansion.
52041         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52042         __NO_MATH_INLINES is defined.  Cleanups.
52044         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52045         and __floorf is target has SSE4.1.
52046         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52047         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52048         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52049         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52051         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52052         name.
52053         (floorf): Likewise.
52055         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52057 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52059         * misc/sys/cdefs.h: Fix last change.
52061         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52062         database lookup.
52064 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52066         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52068         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52069         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52070         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52071         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52072         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52073         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52074         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52075         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52076         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52077         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52078         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52079         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52080         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52081         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52082         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52083         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52084         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52085         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52086         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52087         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52088         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52089         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52091         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52092         ceil, ceilf, floor, floorf.
52094         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52095         Perform IRELATIVE relocations last.
52097         * elf/do-rel.h: Add another parameter nrelative, replacing the
52098         local variable with the same name.  Change name of the function
52099         to end in Rel or Rela (uppercase).
52100         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52101         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52102         elf_dynamic_do_##reloc function.
52104 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52106         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52107         is sufficient, at least on modern CPUs.
52109         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52111         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52112         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52114         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52115         __expl_finite.
52116         * math/bits/math-finite.h: Add entries for exp.
52117         * math/e_expl.c: Add __*_finite alias.
52118         * sysdeps/i386/fpu/e_exp.S: Likewise.
52119         * sysdeps/i386/fpu/e_expf.S: Likewise.
52120         * sysdeps/i386/fpu/e_expl.c: Likewise.
52121         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52122         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52123         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52124         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52125         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52126         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52127         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52129         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52130         is sufficient, at least on modern CPUs.
52132         * ctype/ctype-info.c (__ctype_init): Define.
52133         * include/ctype.h (__ctype_init): Declare.
52134         (__ctype_b_loc): The variable is always initialized.
52135         (__ctype_toupper_loc): Likewise.
52136         (__ctype_tolower_loc): Likewise.
52137         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52138         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52140 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52142         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52144         * configure.in: Also look in $cxxmachine/include for C++ system
52145         headers.
52147 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52149         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52150         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52151         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52152         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52153         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52154         (USE_AS_WMEMCMP): New macro.
52155         Fixing indents.
52156         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52157         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52158         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52159         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52161         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52162         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52163         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52164         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52165         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52166         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52167         (USE_AS_WMEMCMP): New macro.
52168         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52169         * sysdeps/string/test-memcmp.c: Update.
52170         Fix simple_wmemcmp.
52171         Add new tests.
52172         * wcsmbs/wmemcmp.c: Update.
52173         (WMEMCMP): New macro.
52174         Fix overflow bug.
52176 2011-10-12  Andreas Jaeger  <aj@suse.de>
52178         [BZ #13268]
52179         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52181 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52183         * libio/iofwide.c (do_length): Avoid warning.
52185         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52187 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52189         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52191         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52192         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52193         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52194         * sysdeps/i386/i686/fpu/e_log.S: New file.
52195         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52196         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52198         * ctype/ctype.h: Add support for inlined isXXX functions when
52199         compiling C++ code.
52201 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52203         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52205         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52207 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52209         [BZ #13291]
52210         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52212 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52214         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52215         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52216         feraiseexcept.
52218         * sysdeps/x86_64/memrchr.S: Check for zero size.
52220         * string/stratcliff.c: Add memrchr tests.
52222 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52224         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52225         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52226         rawmemchr-sse2 rawmemchr-sse2-bsf.
52227         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52228         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52229         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52230         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52231         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52232         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52233         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52234         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52235         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52236         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52237         * string/memrchr.c (MEMRCHR): New macro.
52239 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52241         Add integration with gcc's -ffinite-math-only and optimize wrapper
52242         functions in libm.
52243         * Versions.def: Define GLIBC_2.15 version for libm.
52244         * math/Makefile (headers): Add bits/math-finite.h.
52245         * math/bits/math-finite.h: New file.
52246         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52247         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52248         * math/e_acoshl.c: Add __*_finite alias.
52249         * math/e_acosl.c: Likewise.
52250         * math/e_asinl.c: Likewise.
52251         * math/e_atan2l.c: Likewise.
52252         * math/e_atanhl.c: Likewise.
52253         * math/e_coshl.c: Likewise.
52254         * math/e_exp10.c: Likewise.
52255         * math/e_exp10f.c: Likewise.
52256         * math/e_exp10l.c: Likewise.
52257         * math/e_exp2l.c: Likewise.
52258         * math/e_fmodl.c: Likewise.
52259         * math/e_gammal_r.c: Likewise.
52260         * math/e_hypotl.c: Likewise.
52261         * math/e_j0l.c: Likewise.
52262         * math/e_j1l.c: Likewise.
52263         * math/e_jnl.c: Likewise.
52264         * math/e_lgammal_r.c: Likewise.
52265         * math/e_log10l.c: Likewise.
52266         * math/e_log2l.c: Likewise.
52267         * math/e_logl.c: Likewise.
52268         * math/e_powl.c: Likewise.
52269         * math/e_sinhl.c: Likewise.
52270         * math/e_sqrtl.c: Likewise.
52271         * math/e_scalb.c: Completely rewritten and optimized.
52272         * math/e_scalbf.c: Likewise.
52273         * math/e_scalbl.c: Likewise.
52274         * math/w_acos.c: Likewise.
52275         * math/w_acosf.c: Likewise.
52276         * math/w_acosl.c: Likewise.
52277         * math/w_acosh.c: Likewise.
52278         * math/w_acoshf.c: Likewise.
52279         * math/w_acoshl.c: Likewise.
52280         * math/w_asin.c: Likewise.
52281         * math/w_asinf.c: Likewise.
52282         * math/w_asinl.c: Likewise.
52283         * math/w_atan2.c: Likewise.
52284         * math/w_atan2f.c: Likewise.
52285         * math/w_atan2l.c: Likewise.
52286         * math/w_atanh.c: Likewise.
52287         * math/w_atanhf.c: Likewise.
52288         * math/w_atanhl.c: Likewise.
52289         * math/w_exp10.c: Likewise.
52290         * math/w_exp10f.c: Likewise.
52291         * math/w_exp10l.c: Likewise.
52292         * math/w_fmod.c: Likewise.
52293         * math/w_fmodf.c: Likewise.
52294         * math/w_fmodl.c: Likewise.
52295         * math/w_j0.c: Likewise.
52296         * math/w_j0f.c: Likewise.
52297         * math/w_j0l.c: Likewise.
52298         * math/w_j1.c: Likewise.
52299         * math/w_j1f.c: Likewise.
52300         * math/w_j1l.c: Likewise.
52301         * math/w_jn.c: Likewise.
52302         * math/w_jnf.c: Likewise.
52303         * math/w_log.c: Likewise.
52304         * math/w_logf.c: Likewise.
52305         * math/w_logl.c: Likewise.
52306         * math/w_log10.c: Likewise.
52307         * math/w_log10f.c: Likewise.
52308         * math/w_log10l.c: Likewise.
52309         * math/w_log2.c: Likewise.
52310         * math/w_log2f.c: Likewise.
52311         * math/w_log2l.c: Likewise.
52312         * math/w_pow.c: Likewise.
52313         * math/w_powf.c: Likewise.
52314         * math/w_powl.c: Likewise.
52315         * math/w_remainder.c: Likewise.
52316         * math/w_remainderf.c: Likewise.
52317         * math/w_remainderl.c: Likewise.
52318         * math/w_scalb.c: Likewise.
52319         * math/w_scalbf.c: Likewise.
52320         * math/w_scalbl.c: Likewise.
52321         * math/w_sqrt.c: Likewise.
52322         * math/w_sqrtf.c: Likewise.
52323         * math/w_sqrtl.c: Likewise.
52324         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52325         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52326         used.
52327         * math/math_private.h: Declare __kernel_standard_f.
52328         * math/w_cosh.c: Remove cruft and optimize a bit.
52329         * math/w_coshf.c: Likewise.
52330         * math/w_coshl.c: Likewise.
52331         * math/w_exp2.c: Likewise.
52332         * math/w_exp2f.c: Likewise.
52333         * math/w_exp2l.c: Likewise.
52334         * math/w_hypot.c: Likewise.
52335         * math/w_hypotf.c: Likewise.
52336         * math/w_hypotl.c: Likewise.
52337         * math/w_lgamma.c: Likewise.
52338         * math/w_lgamma_r.c: Likewise.
52339         * math/w_lgammaf.c: Likewise.
52340         * math/w_lgammaf_r.c: Likewise.
52341         * math/w_lgammal.c: Likewise.
52342         * math/w_lgammal_r.c: Likewise.
52343         * math/w_sinh.c: Likewise.
52344         * math/w_sinhf.c: Likewise.
52345         * math/w_sinhl.c: Likewise.
52346         * math/w_tgamma.c: Likewise.
52347         * math/w_tgammaf.c: Likewise.
52348         * math/w_tgammal.c: Likewise.
52349         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52350         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52351         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52352         Minor optimizations.  Pretty printing.  Remove cruft.
52353         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52354         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52355         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52356         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52357         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52358         * sysdeps/i386/fpu/e_asin.S: Likewise.
52359         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52360         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52361         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52362         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52363         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52364         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52365         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52366         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52367         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52368         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52369         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52370         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52371         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52372         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52373         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52374         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52375         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52376         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52377         * sysdeps/i386/fpu/e_log.S: Likewise.
52378         * sysdeps/i386/fpu/e_log10.S: Likewise.
52379         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52380         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52381         * sysdeps/i386/fpu/e_log2.S: Likewise.
52382         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52383         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52384         * sysdeps/i386/fpu/e_logf.S: Likewise.
52385         * sysdeps/i386/fpu/e_logl.S: Likewise.
52386         * sysdeps/i386/fpu/e_pow.S: Likewise.
52387         * sysdeps/i386/fpu/e_powf.S: Likewise.
52388         * sysdeps/i386/fpu/e_powl.S: Likewise.
52389         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52390         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52391         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52392         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52393         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52394         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52395         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52396         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52397         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52398         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52399         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52400         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52401         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52402         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52403         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52404         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52405         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52406         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52407         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52408         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52409         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52410         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52411         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52412         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52414         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52415         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52416         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52417         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52418         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52419         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52420         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52421         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52422         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52423         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52424         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52425         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52426         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52427         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52428         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52429         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52430         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52431         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52432         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52433         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52434         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52435         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52436         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52437         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52438         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52439         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52440         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52441         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52442         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52443         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52444         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52445         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52446         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52447         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52448         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52449         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52450         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52451         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52452         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52453         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52454         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52455         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52456         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52457         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52458         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52459         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52460         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52461         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52462         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52463         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52464         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52465         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52466         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52467         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52468         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52469         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52470         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52471         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52472         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52473         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52474         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52475         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52476         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52477         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52478         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52479         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52480         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52481         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52482         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52483         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52484         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52485         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52486         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52487         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52488         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52489         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52490         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52491         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52492         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52493         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52494         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52495         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52496         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52497         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52498         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52499         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52500         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52501         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52502         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52503         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52504         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52505         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52506         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52507         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52508         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
52509         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52510         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52511         (__isnanf): Likewise.
52512         (__isinf_ns): Likewise.
52513         (__isinf_nsf): Likewise.
52514         (__finite): Likewise.
52515         (__finitef): Likewise.
52516         (__ieee754_sqrt): Define as macro.
52517         (__ieee754_sqrtf): Define as macro.
52518         (__ieee754_sqrtl): Define as macro.
52519         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52520         inlined copy.
52521         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52522         __FINITE_MATH_ONLY__ consistent.
52523         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52525 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
52527         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52528         of rawmemchr.
52530         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52532 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
52534         * po/ja.po: Update from translation team.
52536 2011-10-08  Roland McGrath  <roland@hack.frob.com>
52538         * locale/programs/locarchive.c (prepare_address_space): New function.
52539         (create_archive, enlarge_archive, open_archive): Use it.
52541         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52542         inside [SHARED], where it is used.
52544         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52546         * nss/getent.c (netgroup_keys): Remove unused variable.
52547         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52549 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
52551         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52552         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52553         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52554         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52555         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52556         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52557         * math/Makefile (libm-calls): Add s_isinf_ns.
52558         * math/divtc3.c: Use __isinf_nsl instead of isinf.
52559         * math/multc3.c: Likewise.
52560         * math/s_casin.c: Likewise.
52561         * math/s_casinf.c: Likewise.
52562         * math/s_casinl.c: Likewise.
52563         * math/s_ccos.c: Likewise.
52564         * math/s_ccosf.c: Likewise.
52565         * math/s_ccosl.c: Likewise.
52566         * math/s_ctan.c: Likewise.
52567         * math/s_ctanf.c: Likewise.
52568         * math/s_ctanh.c: Likewise.
52569         * math/s_ctanhf.c: Likewise.
52570         * math/s_ctanhl.c: Likewise.
52571         * math/s_ctanl.c: Likewise.
52572         * math/w_fmod.c: Likewise.
52573         * math/w_fmodf.c: Likewise.
52574         * math/w_fmodl.c: Likewise.
52575         * math/w_remainder.c: Likewise.
52576         * math/w_remainderf.c: Likewise.
52577         * math/w_remainderl.c: Likewise.
52578         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52579         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52580         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52581         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52582         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52583         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52584         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52585         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52587         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52588         of the number.
52589         * stdio-common/printf_fphex.c: Likewise.
52590         * stdio-common/printf_size.c: Likewise.
52592         * math/e_exp10.c: Include math_private.h using <...> not "...".
52593         * math/e_exp10f.c: Likewise.
52594         * math/e_exp10l.c: Likewise.
52595         * math/e_exp2l.c: Likewise.
52596         * math/e_j0l.c: Likewise.
52597         * math/e_j1l.c: Likewise.
52598         * math/e_jnl.c: Likewise.
52599         * math/e_lgammal_r.c: Likewise.
52600         * math/e_rem_pio2l.c: Likewise.
52601         * math/e_scalb.c: Likewise.
52602         * math/e_scalbf.c: Likewise.
52603         * math/e_scalbl.c: Likewise.
52604         * math/k_cosl.c: Likewise.
52605         * math/k_sinl.c: Likewise.
52606         * math/k_tanl.c: Likewise.
52607         * math/s_cacoshf.c: Likewise.
52608         * math/s_catan.c: Likewise.
52609         * math/s_catanf.c: Likewise.
52610         * math/s_catanh.c: Likewise.
52611         * math/s_catanhf.c: Likewise.
52612         * math/s_catanhl.c: Likewise.
52613         * math/s_catanl.c: Likewise.
52614         * math/s_ccosh.c: Likewise.
52615         * math/s_ccoshf.c: Likewise.
52616         * math/s_ccoshl.c: Likewise.
52617         * math/s_cexp.c: Likewise.
52618         * math/s_cexpf.c: Likewise.
52619         * math/s_cexpl.c: Likewise.
52620         * math/s_clog.c: Likewise.
52621         * math/s_clog10.c: Likewise.
52622         * math/s_clog10f.c: Likewise.
52623         * math/s_clog10l.c: Likewise.
52624         * math/s_clogf.c: Likewise.
52625         * math/s_clogl.c: Likewise.
52626         * math/s_csin.c: Likewise.
52627         * math/s_csinf.c: Likewise.
52628         * math/s_csinh.c: Likewise.
52629         * math/s_csinhf.c: Likewise.
52630         * math/s_csinhl.c: Likewise.
52631         * math/s_csinl.c: Likewise.
52632         * math/s_csqrt.c: Likewise.
52633         * math/s_csqrtf.c: Likewise.
52634         * math/s_csqrtl.c: Likewise.
52635         * math/s_ctan.c: Likewise.
52636         * math/s_ctanf.c: Likewise.
52637         * math/s_ctanh.c: Likewise.
52638         * math/s_ctanhf.c: Likewise.
52639         * math/s_ctanhl.c: Likewise.
52640         * math/s_ctanl.c: Likewise.
52641         * math/s_ldexp.c: Likewise.
52642         * math/s_ldexpf.c: Likewise.
52643         * math/s_ldexpl.c: Likewise.
52644         * math/s_significand.c: Likewise.
52645         * math/s_significandf.c: Likewise.
52646         * math/s_significandl.c: Likewise.
52647         * math/w_acos.c: Likewise.
52648         * math/w_acosf.c: Likewise.
52649         * math/w_acosh.c: Likewise.
52650         * math/w_acoshf.c: Likewise.
52651         * math/w_acoshl.c: Likewise.
52652         * math/w_acosl.c: Likewise.
52653         * math/w_asin.c: Likewise.
52654         * math/w_asinf.c: Likewise.
52655         * math/w_asinl.c: Likewise.
52656         * math/w_atan2.c: Likewise.
52657         * math/w_atan2f.c: Likewise.
52658         * math/w_atan2l.c: Likewise.
52659         * math/w_atanh.c: Likewise.
52660         * math/w_atanhf.c: Likewise.
52661         * math/w_atanhl.c: Likewise.
52662         * math/w_cosh.c: Likewise.
52663         * math/w_coshf.c: Likewise.
52664         * math/w_coshl.c: Likewise.
52665         * math/w_dremf.c: Likewise.
52666         * math/w_exp10.c: Likewise.
52667         * math/w_exp10f.c: Likewise.
52668         * math/w_exp10l.c: Likewise.
52669         * math/w_exp2.c: Likewise.
52670         * math/w_exp2f.c: Likewise.
52671         * math/w_fmod.c: Likewise.
52672         * math/w_fmodf.c: Likewise.
52673         * math/w_fmodl.c: Likewise.
52674         * math/w_hypot.c: Likewise.
52675         * math/w_hypotf.c: Likewise.
52676         * math/w_hypotl.c: Likewise.
52677         * math/w_j0.c: Likewise.
52678         * math/w_j0f.c: Likewise.
52679         * math/w_j0l.c: Likewise.
52680         * math/w_j1.c: Likewise.
52681         * math/w_j1f.c: Likewise.
52682         * math/w_j1l.c: Likewise.
52683         * math/w_jn.c: Likewise.
52684         * math/w_jnf.c: Likewise.
52685         * math/w_jnl.c: Likewise.
52686         * math/w_lgamma.c: Likewise.
52687         * math/w_lgamma_r.c: Likewise.
52688         * math/w_lgammaf.c: Likewise.
52689         * math/w_lgammaf_r.c: Likewise.
52690         * math/w_lgammal.c: Likewise.
52691         * math/w_lgammal_r.c: Likewise.
52692         * math/w_log.c: Likewise.
52693         * math/w_log10.c: Likewise.
52694         * math/w_log10f.c: Likewise.
52695         * math/w_log10l.c: Likewise.
52696         * math/w_log2.c: Likewise.
52697         * math/w_log2f.c: Likewise.
52698         * math/w_log2l.c: Likewise.
52699         * math/w_logf.c: Likewise.
52700         * math/w_logl.c: Likewise.
52701         * math/w_pow.c: Likewise.
52702         * math/w_powf.c: Likewise.
52703         * math/w_powl.c: Likewise.
52704         * math/w_remainder.c: Likewise.
52705         * math/w_remainderf.c: Likewise.
52706         * math/w_remainderl.c: Likewise.
52707         * math/w_scalb.c: Likewise.
52708         * math/w_scalbf.c: Likewise.
52709         * math/w_scalbl.c: Likewise.
52710         * math/w_sinh.c: Likewise.
52711         * math/w_sinhf.c: Likewise.
52712         * math/w_sinhl.c: Likewise.
52713         * math/w_sqrt.c: Likewise.
52714         * math/w_sqrtf.c: Likewise.
52715         * math/w_sqrtl.c: Likewise.
52716         * math/w_tgamma.c: Likewise.
52717         * math/w_tgammaf.c: Likewise.
52718         * math/w_tgammal.c: Likewise.
52720         * po/ja.po: Update from translation team.
52722 2011-09-29  Andreas Jaeger  <aj@suse.de>
52724         [BZ #13179]
52725         * sunrpc/netname.c (netname2host): Fix logic.
52727         [BZ #6779]
52728         [BZ #6783]
52729         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52730         correctly.
52731         * math/w_remainder.c (__remainder): Likewise.
52732         * math/w_remainderf.c (__remainderf): Likewise.
52733         * math/libm-test.inc (remainder_test): Add test cases.
52735 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52737         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
52738         sdiv_qrnnd.
52740 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52742         * string/test-memcmp.c: Avoid unncessary #defines.
52743         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52745 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52747         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52748         Use new sse2 version for core i3 - i7 as it's faster
52749         than sse42 version.
52750         (bit_Prefer_PMINUB_for_stringop): New.
52751         * sysdeps/x86_64/rawmemchr.S: Update.
52752         Replace with faster SSE2 version.
52753         * sysdeps/x86_64/memrchr.S: New file.
52754         * sysdeps/x86_64/memchr.S: Update.
52755         Replace with faster SSE2 version.
52757 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
52759         * elf/dl-load.c (lose): Add cast to avoid warning.
52761 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52763         * po/ca.po: Update from translation team.
52765         * inet/getnetgrent_r.c: Hook up nscd.
52766         * nscd/Makefile (routines): Add nscd_netgroup.
52767         (nscd-modules): Add netgroupcache.
52768         (CFLAGS-netgroupcache.c): Define.
52769         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52770         (cache_search): Add const to second parameter.
52771         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52772         INNETGR.
52773         (dbs): Add netgrdb entry.
52774         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52775         (verify_persistent_db): Handle netgrdb.
52776         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52777         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52778         GETFDNETGR.
52779         (netgroup_response_header): Define.
52780         (innetgroup_response_header): Define.
52781         (datahead): Add netgroup_response_header and innetgroup_response_header
52782         elements.
52783         * nscd/nscd.conf: Add entries for netgroup cache.
52784         * nscd/nscd.h (dbtype): Add netgrdb.
52785         (_PATH_NSCD_NETGROUP_DB): Define.
52786         (netgroup_iov_disabled): Declare.
52787         (xmalloc, xcalloc, xrealloc): Move declarations here.
52788         (cache_search): Adjust prototype.
52789         Add netgroup-related prototypes.
52790         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52791         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52792         (__nscd_innetgr): Declare.
52793         * nscd/selinux.c (perms): Use access_vector_t as element type and
52794         add netgroup-related initializers.
52795         * nscd/netgroupcache.c: New file.
52796         * nscd/nscd_netgroup.c: New file.
52797         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52798         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52799         For four parameters use innetgr.
52800         * nss/nss_files/files-init.c: Add definition and callback for netgr.
52801         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52802         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52803         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52805         * nscd/connections.c (register_traced_file): Don't register file
52806         for disabled databases.
52808 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
52810         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52812         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52813         from tree and freeing node.
52815 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
52817         * nss/nsswitch.c (__nss_database_lookup): Handle
52818         nss_parse_service_list out of memory case.
52820 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52822         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52823         out of memory case.
52825 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52827         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52828         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52829         pass it down.
52830         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52831         elf_machine_rela, elf_machine_lazy_rel.
52832         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52833         (ELF_DYNAMIC_DO_REL): Likewise.
52834         (ELF_DYNAMIC_DO_RELA): Likewise.
52835         (ELF_DYNAMIC_RELOCATE): Likewise.
52836         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52837         to ELF_DYNAMIC_DO_REL.
52838         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52839         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52840         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52841         elf_machine_rela.
52842         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52843         skip_ifunc, don't call ifunc function if non-zero.
52844         (elf_machine_rela): Likewise.
52845         (elf_machine_lazy_rel): Likewise.
52846         (elf_machine_lazy_rela): Likewise.
52847         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52848         (elf_machine_lazy_rel): Likewise.
52849         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52850         Likewise.
52851         (elf_machine_lazy_rel): Likewise.
52852         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52853         Likewise.
52854         (elf_machine_lazy_rel): Likewise.
52855         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52856         (elf_machine_lazy_rel): Likewise.
52857         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52858         (elf_machine_lazy_rel): Likewise.
52859         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52860         (elf_machine_lazy_rel): Likewise.
52861         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52862         (elf_machine_lazy_rel): Likewise.
52863         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52864         (elf_machine_lazy_rel): Likewise.
52865         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52866         (elf_machine_lazy_rel): Likewise.
52868 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52870         * nss/nss_files/files-init.c (_nss_files_init): Use static
52871         initialization for all the *_traced_file variables.
52873 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52875         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52877 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52879         [BZ #13226]
52880         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52882 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52884         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52885         Reread the line before reparsing it.
52887 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52889         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52891 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52892             Maxim Kuvyrkov  <maxim@codesourcery.com>
52893             Joseph Myers  <joseph@codesourcery.com>
52895         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52896         if needed for __stack_chk_guard.
52898 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52900         * sysdeps/posix/spawni.c (script_execute): Always define it.
52901         It will be optimized away if unused.
52902         (maybe_script_execute): New function.
52903         (__spawni): Call it.
52905         * Makerules: Don't include tls.make.
52906         (config-tls): Always set to thread.
52907         * tls.make.c: File removed.
52909 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52911         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52912         * config.make.in (CPPFLAGS-config): New substituted variable.
52914 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52916         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52918         [BZ #13192]
52919         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52920         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52922 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52924         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52925         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52926         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52927         (CALL_FAIL): Likewise.
52928         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52929         (CALL_FAIL): Macro removed.
52930         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52932 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52934         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52935         for __FINITE_MATH_ONLY__ == 1.
52937 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52939         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52940         __ieee754_sqrt instead of sqrt.
52941         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52942         __ieee754_sqrtf instead of sqrtf.
52943         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52944         __floorf instead of floorf.
52945         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52946         __floorf, __truncf instead of floorf, truncf.
52948 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52950         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52952         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52953         __extern_always_inline.
52954         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52955         32-bit.
52957 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52959         * elf/rtld.c (dl_main): Also relocate in dependency order when
52960         doing symbol dependency testing.
52962 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52964         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52965         Always define `refsym'.
52967 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52969         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52970         (__FD_ELT): Renamed from __FDELT.
52971         * misc/bits/select2.h (__FD_ELT): Likewise.
52972         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52973         __FD_MASK instead of __FDELT, __FDMASK.
52974         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52975         Likewise.
52976         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52977         Likewise.
52979         * elf/Makefile (gen-ldd): Fix pattern.
52981         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52982         (init_tls): Likewise.
52984 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52986         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52988 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52990         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52991         `struct cmsghdr *' instead of `void *'.
52992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52993         Likewise.
52995 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52997         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52998         if non-absolute.
52999         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53000         ldd_rewrite_script.
53002 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53004         * configure.in: Remove --with-tls option.
53005         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53006         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53007         out in case it is missing.
53008         * sysdeps/ia64/elf/configure.in: Likewise.
53009         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53010         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53011         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53012         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53013         * sysdeps/sh/elf/configure.in: Likewise.
53014         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53015         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53016         * sysdeps/x86_64/elf/configure.in: Likewise.
53017         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53018         * sysdeps/mach/hurd/tls.h: Likewise.
53020         [BZ #13067]
53021         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53023         [BZ #13090]
53024         * configure.in: Fix use of AC_INIT.
53026         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53028 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53030         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53031         __set_errno.
53032         * malloc/hooks.c: Likewise.
53034         [BZ #11929]
53035         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53036         variables statically.
53037         (narenas): Initialize.
53038         (list_lock): Initialize.
53039         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53040         initializtion of main_arena and list_lock.  Small cleanups.
53041         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53042         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53043         Add initializers to main_arena and mp_.
53044         (malloc_state): Remove pagesize member.  Change all users to use
53045         GLRO(dl_pagesize).
53047         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53048         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53049         is always initialized.
53051         * malloc/malloc.c: Removed unused configurations and dead code.
53052         * malloc/arena.c: Likewise.
53053         * malloc/hooks.c: Likewise.
53054         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53056         * include/tls.h: Removed.  USE___THREAD must always be defined.
53057         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53058         * elf/dl-libc.c: Likewise.
53059         * elf/dl-tsd.c: Likewise.
53060         * include/errno.h: Likewise.
53061         * include/netdb.h: Likewise.
53062         * include/resolv.h: Likewise.
53063         * inet/herrno-loc.c: Likewise.
53064         * inet/herrno.c: Likewise.
53065         * malloc/arena.c: Likewise.
53066         * malloc/hooks.c: Likewise.
53067         * malloc/malloc.c: Likewise.
53068         * resolv/res-state.c: Likewise.
53069         * resolv/res_libc.c: Likewise.
53070         * sysdeps/i386/dl-machine.h: Likewise.
53071         * sysdeps/ia64/dl-machine.h: Likewise.
53072         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53073         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53074         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53075         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53076         * sysdeps/sh/dl-machine.h: Likewise.
53077         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53078         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53079         * sysdeps/unix/i386/sysdep.S: Likewise.
53080         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53081         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53082         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53086         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53088         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53090         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53091         * sysdeps/x86_64/dl-machine.h: Likewise.
53092         * tls.make.c: Likewise.
53094         * configure.in: Remove --with-__thread option.  Make tests for
53095         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53096         tls_model attribute fail if no support is available.  Remove
53097         USE_IN_LIBIO.
53098         * Makeconfig: Adjust for dropped configure option.  All features are
53099         now mandatory.
53100         * Makerules: Likewise.
53101         * Versions.def: Likewise.
53102         * argp/argp-fmtstream.c: Likewise.
53103         * argp/argp-fmtstream.h: Likewise.
53104         * argp/argp-help.c: Likewise.
53105         * assert/assert.c: Likewise.
53106         * config.h.in: Likewise.
53107         * config.make.in: Likewise.
53108         * configure: Likewise.
53109         * configure.in: Likewise.
53110         * csu/Versions: Likewise.
53111         * csu/init.c: Likewise.
53112         * elf/tst-audit2.c: Likewise.
53113         * elf/tst-tls10.c: Likewise.
53114         * elf/tst-tls10.h: Likewise.
53115         * elf/tst-tls11.c: Likewise.
53116         * elf/tst-tls12.c: Likewise.
53117         * elf/tst-tls14.c: Likewise.
53118         * elf/tst-tlsmod11.c: Likewise.
53119         * elf/tst-tlsmod12.c: Likewise.
53120         * elf/tst-tlsmod13.c: Likewise.
53121         * elf/tst-tlsmod13a.c: Likewise.
53122         * elf/tst-tlsmod14a.c: Likewise.
53123         * elf/tst-tlsmod15b.c: Likewise.
53124         * elf/tst-tlsmod16a.c: Likewise.
53125         * elf/tst-tlsmod16b.c: Likewise.
53126         * elf/tst-tlsmod7.c: Likewise.
53127         * elf/tst-tlsmod8.c: Likewise.
53128         * elf/tst-tlsmod9.c: Likewise.
53129         * gmon/gmon.c: Likewise.
53130         * grp/fgetgrent_r.c: Likewise.
53131         * grp/putgrent.c: Likewise.
53132         * hurd/fopenport.c: Likewise.
53133         * include/libc-symbols.h: Likewise.
53134         * include/tls.h: Likewise.
53135         * intl/gettextP.h: Likewise.
53136         * intl/loadinfo.h: Likewise.
53137         * locale/global-locale.c: Likewise.
53138         * locale/localeinfo.h: Likewise.
53139         * mach/devstream.c: Likewise.
53140         * malloc/arena.c: Likewise.
53141         * malloc/set-freeres.c: Likewise.
53142         * misc/err.c: Likewise.
53143         * misc/getttyent.c: Likewise.
53144         * misc/mntent_r.c: Likewise.
53145         * posix/getopt.c: Likewise.
53146         * posix/wordexp.c: Likewise.
53147         * pwd/fgetpwent_r.c: Likewise.
53148         * resolv/Versions: Likewise.
53149         * resolv/res_hconf.c: Likewise.
53150         * shadow/fgetspent_r.c: Likewise.
53151         * shadow/putspent.c: Likewise.
53152         * stdio-common/printf_fphex.c: Likewise.
53153         * stdio-common/tmpfile.c: Likewise.
53154         * stdlib/abort.c: Likewise.
53155         * stdlib/fmtmsg.c: Likewise.
53156         * sunrpc/auth_unix.c: Likewise.
53157         * sunrpc/clnt_perr.c: Likewise.
53158         * sunrpc/clnt_tcp.c: Likewise.
53159         * sunrpc/clnt_udp.c: Likewise.
53160         * sunrpc/clnt_unix.c: Likewise.
53161         * sunrpc/openchild.c: Likewise.
53162         * sunrpc/svc_simple.c: Likewise.
53163         * sunrpc/svc_tcp.c: Likewise.
53164         * sunrpc/svc_udp.c: Likewise.
53165         * sunrpc/svc_unix.c: Likewise.
53166         * sunrpc/xdr.c: Likewise.
53167         * sunrpc/xdr_array.c: Likewise.
53168         * sunrpc/xdr_rec.c: Likewise.
53169         * sunrpc/xdr_ref.c: Likewise.
53170         * sunrpc/xdr_stdio.c: Likewise.
53172 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53174         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53176 2011-07-03  Andreas Jaeger  <aj@suse.de>
53178         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53179         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53180         regenerate with gen-libm-tests.pl.
53182 2010-05-12  Petr Baudis  <pasky@suse.cz>
53184         [BZ #11589]
53185         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53186         around j0() zero points by switching to j1().
53187         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53190         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53192 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53194         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53195         instead of 0.
53196         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53197         instead of 0.
53198         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53199         Patch in part by Pavel Roskin <proski@gnu.org>.
53201         [BZ #13138]
53202         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53203         realloc.
53204         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53205         Free memory block if necessary.
53207         [BZ #12847]
53208         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53209         be NULL.  Don't lock in this case.
53211 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53213         * elf/elf.h (ELFOSABI_GNU): New macro.
53214         (ELFOSABI_LINUX): Define to that.
53216 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53218         * string/strncat.c (strncat): Undef the symbol in case it has been
53219         defined in bits/string.h.
53221 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53223         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53225         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53226         link map.
53228 2011-08-17  Andreas Jaeger  <aj@suse.de>
53230         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53232 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53233             Ian Lance Taylor  <iant@google.com>
53235         * math/libm-test.inc (lround_test): New testcase.
53236         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53238 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53240         * Makefile: Remove support for automatic cvs check-ins.
53241         * Makerules: Likewise.
53242         * config.make.in: Likewise.
53243         * configure.in: Likewise.
53244         * intl/Makefile: Likewise.
53245         * locale/Makefile: Likewise.
53246         * po/Makefile: Likewise.
53247         * posix/Makefile: Likewise.
53248         * sysdeps/gnu/Makefile: Likewise.
53249         * sysdeps/mach/hurd/Makefile: Likewise.
53250         * sysdeps/sparc/sparc32/Makefile: Likewise.
53252         [BZ #13118]
53253         * posix/Makefile (bug-regex32-ENV): Define.
53254         Patch by John Stanley <jpsinthemix@verizon.net>.
53256         * misc/Makefile (headers): Add bits/select2.h.
53257         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53258         * misc/bits/select2.h: New file.
53259         * include/bits/select2.h: New file.
53260         * debug/Makefile (routines): Add fdelt_chk.
53261         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53262         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53263         FD_ISSET.
53264         * debug/fdelt_chk.c: New file.
53266         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53267         * wcsmbs/test-wmemcmp.c: Likewise.
53268         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53269         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53271 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53273         * string/Makefile (strop-tests): Add memcmp.
53274         * string/test-wmemcmp.c: New file.
53275         * string/test-memcmp.c: Add wmemcmp support.
53277 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53279         [BZ #13153]
53280         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53281         2011-07-19 change.
53283         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53284         garbage value in a __mach_port_mod_refs call in the cases of the
53285         task-self and thread-self ports.
53287 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53289         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53291 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53293         * elf/dl-load.c (lose): Check for non-null L.
53295 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53297         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53299         * elf/dl-libc.c (dlerror_run): Pass back error code from
53300         dl_catch_error.
53302         [BZ #13123]
53303         * elf/dl-load.c (lose): Free l_origin if it is valid.
53305         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53306         names.
53307         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53308         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53309         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53310         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53311         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53312         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53314 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53316         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53317         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53318         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53319         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53320         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53321         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53322         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53323         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53324         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53325         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53327 2011-08-15  Alan Modra  <amodra@gmail.com>
53329         [BZ #13092]
53330         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53331         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53332         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53333         ppc_mcount to static-only-routines.
53334         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53335         __mcount_internal.
53336         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53337         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53339 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53341         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53342         for finite and infinity parameters.
53344 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53346         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53347         and add nop instructions for throughput optimization.
53348         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53350 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53352         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53353         aligned copy for power7 with vector-scalar instructions.
53354         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53356 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53358         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53359         AVX check.
53361 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53363         [BZ #13144]
53364         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53365         last change.
53367 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53369         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53370         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53371         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53372         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53373         clock_gettime.
53375 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53377         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53378         Forgot to demangle the pointer.
53380         * sysdeps/i386/sysdep.h: Define atom_text_section.
53381         * sysdeps/x86_64/sysdep.h: Likewise.
53382         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53383         section with atom_text_section.
53384         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53385         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53386         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53387         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53388         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53390         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53391         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53392         already be defined.  Change to take two parameters and don't assign
53393         result to variable.  Adjust all users.
53394         Define INTERNAL_GETTIME if not already defined.
53395         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53396         call.
53397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53398         HAVE_CLOCK_GETTIME_VSYSCALL.
53399         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53402         gettimeofday vsyscall, just use time.
53404 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53406         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53407         <errno.h>.
53409 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53411         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53412         syscall on x86-64.
53413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53414         syscall.
53415         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53416         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53417         syscall if possible.
53419 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53421         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53422         e_ident.  Don't pass to find_mapsXX.
53423         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53425 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53428         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53429         * sysdeps/x86_64/multiarch/strchr.S: Update.
53430         Check bit_slow_BSF bit.
53431         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53432         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53433         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53435 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53437         [BZ #13134]
53438         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53439         before glibc 2.15.
53440         (tryshell): Define.
53441         (__spawni): Change last parameter to be flag.  Test
53442         SPAWN_XFLAGS_USE_PATH flag to use path or not.
53443         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53444         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53445         * posix/spawni.c: Likewise.
53446         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53447         * posix/spawnp.c: Likewise.  Change normal version to use
53448         SPAWN_XFLAGS_USE_PATH.
53449         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53450         SPAWN_XFLAGS_TRY_SHELL.
53452         [BZ #13150]
53453         * posix/glob.h: Remove gcc 1.x support.
53455         [BZ #13068]
53456         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53458 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53460         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53461         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53462         strrchr-sse2-bsf
53463         * sysdeps/i386/i686/multiarch/strchr.S: New file.
53464         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53465         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53466         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53467         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53468         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53470 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53472         * sysdeps/x86_64/wcscmp.S: New file.
53474         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53475         wcscmp-c wcscmp-sse2
53476         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53477         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53478         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53479         * wcsmbs/wcscmp.c: Allow renaming.
53481 2011-09-05  David S. Miller  <davem@davemloft.net>
53483         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53484         stack slot, rather than the struct return pointer slot.
53485         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53486         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53488         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53490 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53492         * po/ja.po: Update from translation team.
53494         [BZ #13144]
53495         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53496         kernel in 64-bit binaries.
53498 2011-09-01  David S. Miller  <davem@davemloft.net>
53500         * elf/elf.h (HWCAP_SPARC_*): Move to..
53501         * sysdeps/sparc/sysdep.h: this new file and add new values.
53502         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53503         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53504         _DL_HWCAP_COUNT to 24.
53505         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53506         entries.
53507         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53508         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53509         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53510         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53511         instead of magic constants.
53512         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53514 2011-08-31  David S. Miller  <davem@davemloft.net>
53516         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53518         Reimplement to do errno handling inline.
53519         (SYSCALL_ERROR_HANDLER): New macro.
53520         (__SYSCALL_STRING): Do not do errno handling in asm.
53521         (__CLONE_SYSCALL_STRING): Delete.
53522         (__INTERNAL_SYSCALL_STRING): Delete.
53523         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53524         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53525         (PSEUDO): Reimplement to do errno handling inline.
53526         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53527         (SYSCALL_ERROR_HANDLER): New macro.
53528         (__SYSCALL_STRING): Do not do errno handling in asm.
53529         (__CLONE_SYSCALL_STRING): Delete.
53530         (__INTERNAL_SYSCALL_STRING): Delete.
53531         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53532         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53533         i386.
53534         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53535         (inline_syscall*): Add 'err' argument.
53536         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53537         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53538         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53539         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53541         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53542         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53544 2011-08-30  Andreas Schwab  <schwab@redhat.com>
53546         * elf/rtld.c (dl_main): Relocate objects in dependency order.
53548 2011-08-29  Jiri Olsa <jolsa@redhat.com>
53550         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53551         directive.
53553 2011-08-24  David S. Miller  <davem@davemloft.net>
53555         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53557 2011-08-24  Andreas Schwab  <schwab@redhat.com>
53559         * elf/Makefile: Add rules to build and run unload8 test.
53560         * elf/unload8.c: New file.
53561         * elf/unload8mod1.c: New file.
53562         * elf/unload8mod1x.c: New file.
53563         * elf/unload8mod2.c: New file.
53564         * elf/unload8mod3.c: New file.
53566         * elf/dl-close.c (_dl_close_worker): Reset private search list if
53567         it wasn't used.
53569 2011-08-23  David S. Miller  <davem@davemloft.net>
53571         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53572         subtract stack bias.
53573         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53574         %sp not %fp in calculations.
53575         (_JMPBUF_UNWINDS_ADJ): Likewise.
53577         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53578         (aio_suspend): Call it to force an exception region around the
53579         AIO_MISC_WAIT() invocation.
53581 2011-08-23  Andreas Schwab  <schwab@redhat.com>
53583         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53584         backslash.
53586 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
53588         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53589         protection macro.
53590         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53591         and <dl-machine.h>.
53592         (Elf64_FuncDesc): Remove.
53594 2011-08-22  David S. Miller  <davem@davemloft.net>
53596         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53597         sigaltstack check, add missing cfi directives.
53598         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53599         missing cfi directives, and sigaltstack handling.
53601 2011-08-16  Andreas Schwab  <schwab@redhat.com>
53603         [BZ #11724]
53604         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53605         object is seen twice.
53606         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53608         * elf/Makefile (distribute): Add tst-initorder2.c.
53609         (tests): Add tst-initorder2.
53610         (modules-names): Add tst-initorder2a tst-initorder2b
53611         tst-initorder2c tst-initorder2d.  Add rules to build them.
53612         ($(objpfx)tst-initorder2.out): New rule.
53613         * elf/tst-initorder2.c: New file.
53614         * elf/tst-initorder2.exp: New file.
53616 2011-08-22  Andreas Schwab  <schwab@redhat.com>
53618         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53620         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53621         dependencies back to end of function.
53623         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53624         $(elfobjdir)/ld.so.
53626 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
53628         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53629         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53630         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53631         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53632         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53633         of __vdso_gettimeofday.
53634         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53635         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
53636         attribute_hidden.
53637         (_libc_vdso_platform_setup): Remove initialization of
53638         __vdso_gettimeofday and __vdso_time.
53640 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53642         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53643         and fgetc_unlocked.
53644         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53645         getc_unlocked.
53647         * elf/dl-open.c (add_to_global): Report additions to the global scope
53648         for LD_DEBUG=scopes.
53649         (dl_open_worker): Also print scope of newly loaded dependencies.
53650         (_dl_show_scope): Indicate if there is no scope.
53652         [BZ #13114]
53653         * stdio-common/Makefile (tests): Add bug24.
53654         * stdio-common/bug24.c: New file.
53656 2011-08-19  Andreas Jaeger  <aj@suse.de>
53658         [BZ #13114]
53659         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53660         non-existant file when using close-on-exec mode.
53662 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53664         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53665         the very first instruction.
53667         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53668         the CFI state in the end.
53669         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53670         inclusion of dl-trampoline.h.
53671         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53673 2011-08-19  Andreas Schwab  <schwab@redhat.com>
53675         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53676         expectations for long double.
53678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53679         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53681 2011-08-14  David S. Miller  <davem@davemloft.net>
53683         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53684         artificual limit depends upon the system page size.
53686 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53688         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53689         * resolv/Makefile: Define CFLAGS-libresolv.
53691 2011-08-17  Andreas Schwab  <schwab@redhat.com>
53693         * nss/makedb.c (compute_tables): Make variables used in nested
53694         function static.
53696 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53698         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53699         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53700         if buffer was too small.
53702         * elf/pldd.c (main): Attach to all threads in the process.
53703         Rewrite /proc handling to use *at functions.
53705 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
53707         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53708         specifies first scope to show.
53709         (dl_open_worker): Update callers.  Move printing scope of new
53710         object to before the relocation.
53711         * elf/rtld.c (dl_main): Update _dl_show_scope call.
53712         * sysdeps/generic/ldsodefs.h: Update declaration.
53714         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53715         string for the scope number.
53717 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
53719         * nscd/servicescache.c (cache_addserv): Make sure written is always
53720         initialized.
53722 2011-08-14  Roland McGrath  <roland@hack.frob.com>
53724         * sysdeps/i386/i486/bits/atomic.h
53725         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53726         statement expression, so as to suppress "set but not used" warning.
53727         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53729         * string/strncat.c (STRNCAT): Use prototype definition.
53731         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53732         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53733         -Iprograms here.
53734         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53735         (localedef-modules): Add localedef.
53736         (locale-modules): Add locale.
53738         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53739         * elf/rtld.c (dl_main): Invert order of assignment in last change,
53740         to avoid a warning.
53742 2011-08-14  David S. Miller  <davem@davemloft.net>
53744         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53745         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53747 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
53749         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53750         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53751         * elf/rtld.c (dl_main): Set l_name of vDSO.
53752         Call _dl_show_scope when DL_DEBUG_SCOPES.
53753         (process_dl_debug): Recognize scopes flag and also set it for all.
53754         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53755         Declare _dl_show_scope.
53757         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53758         (do_dlopen): Pass caller_dlopen to dl_open.
53759         (__libc_dlopen_mode): Initialize caller_dlopen.
53761         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53762         of libc.  Make tolower call locale-independent.  Optimize a bit by
53763         using isdigit instead of isalnum.
53764         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53766 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
53768         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53769         was a dependency or dynamically loaded.
53771 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
53773         * intl/l10nflist.c: Allow architecture-specific pop function.
53774         * sysdeps/x86_64/l10nflist.c: New file.
53776         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53777         classification.
53779 2011-08-10  Andreas Schwab  <schwab@redhat.com>
53781         * include/dirent.h: Add libc_hidden_proto for scandirat and
53782         scandirat64.  Don't declare __scandirat64.
53783         * dirent/scandirat.c: Add libc_hidden_def.
53784         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53785         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53787 2011-08-10  David S. Miller  <davem@davemloft.net>
53789         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53790         enum.
53791         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53792         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53793         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53795 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
53797         * Versions.def [libc]: Add GLIBC_2.15.
53798         * dirent/Makefile (routines): Add scandirat and scandirat64.
53799         * dirent/Versions [libc]: Export scandirat and scandirat64 for
53800         GLIBC_2.15.
53801         * dirent/dirent.h: Declare scandirat and scandirat64.
53802         * dirent/scandirat.c: New file.
53803         * dirent/scandirat64.c: New file.
53804         * sysdeps/wordsize-64/scandirat.c: New file.
53805         * sysdeps/wordsize-64/scandirat64.c: New file.
53806         * dirent/opendir.c: Define opendirat.
53807         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
53808         using scandirat.
53809         * dirent/scandir64.c: Adjust for scandir.c change.
53810         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
53811         __scandirat64, and __scandir_cancel_handler.
53812         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
53813         additional parameter and use openat instead of open (outside of ld.so).
53814         Add new __opendir as wrapper around __opendirat.
53815         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53816         here without requiring old scandirat implementation.
53818 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53820         * dirent/scandir.c (cancel_handler): Renamed to
53821         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53822         defined.  Adjust users.
53823         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53824         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53826 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53828         * string/test-string.h (IMPL): Use __STRING to expand name and then
53829         stringify it.
53831         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53832         of cleanups.
53834 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53836         * string/Makefile: Update.
53837         (strop-tests): Append strncat.
53838         * string/test-wcscmp.c: New file.
53839         New comprehensive test for wcscmp.
53840         * string/test-strcmp.c: Update.
53841         (WIDE): New define.
53843 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53845         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53846         line.
53848 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53851         encoding to ACE if AI_IDN.
53853 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53855         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53856         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53858 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53860         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53861         Fix overflow bug in strncat.
53862         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53864         * string/test-strncat.c: Update.
53865         Add new tests for checking overflow bugs.
53867 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53869         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53870         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53871         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53872         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53873         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53874         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53875         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53876         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53877         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53879         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53880         (USE_AS_STRCAT): Define.
53881         Add strcat and strncat support.
53882         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53884 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53886         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53887         __n bigger than INT_MAX+1.
53888         (__strncmp_g): Likewise.
53890 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53892         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53893         * libio/stido.h: Likewise.
53895         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53896         (AF_NFC): Define.
53897         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53898         (AF_NFC): Define.
53900         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53901         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53902         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53903         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53906         [BZ #13021]
53907         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53908         installed.
53910         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53911         typo.
53912         (_dl_x86_64_save_sse): Likewise.
53914 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53916         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53917         OSXSAVE.
53918         (_dl_x86_64_save_sse): Likewise.
53920         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53922         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53924 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53926         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53927         change.
53928         (_dl_x86_64_save_sse): Use correct AVX check.
53930 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53932         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53933         bug in strncpy/strncat.
53934         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53936 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53938         * string/tester.c (test_strcat): Add tests for different alignments
53939         of source and destination.
53940         (test_strncat): Likewise.
53942 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53944         [BZ #12852]
53945         * posix/glob.c (glob): Check passed in values before using them in
53946         expressions to avoid some overflows.
53947         (glob_in_dir): Likewise.
53949         [BZ #13007]
53950         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53951         check for AVX enablement so that we don't crash with old kernels and
53952         new hardware.
53953         * elf/tst-audit4.c: Add same checks here.
53954         * elf/tst-audit6.c: Likewise.
53956         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53958 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53960         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53962 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53964         * po/cs.po: Update from translation team.
53965         * po/bg.po: Likewise.
53967 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53969         * misc/sys/cdefs.h: Add support for const attribute.
53970         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53971         to gnu_dev_{major,minor,makedev} functions.
53973 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53975         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53977 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53979         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53980         strlen results.
53982 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53984         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53985         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53986         register in order to avoid conflicts with the soft frame pointer
53987         being held in r11 when necessary.
53988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53989         (INTERNAL_VSYSCALL_NCS): Likewise.
53991 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53993         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53994         * elf/dl-fini.c (_dl_fini): Adjust caller.
53995         * elf/dl-close.c (_dl_close_worker): Likewise.
53996         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53998 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54000         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54001         "aux_cache->nlibs < 0".
54003         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54004         in the reload-count case.
54006 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54009         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54010         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54011         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54012         * sysdeps/x86_64/multiarch/strcat.S: New file.
54013         * sysdeps/x86_64/multiarch/strncat.S: New file.
54014         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54015         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54016         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54017         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54018         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54019         (USE_AS_STRCAT): Define.
54020         Add strcat and strncat support.
54021         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54022         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54023         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54024         * string/strncat.c: Update.
54025         (USE_AS_STRNCAT): Define.
54026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54027         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54028         and i7.
54029         * sysdeps/x86_64/multiarch/init-arch.h
54030         (bit_Prefer_PMINUB_for_stringop): New.
54031         (index_Prefer_PMINUB_for_stringop): Likewise.
54032         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54033         bit_Prefer_PMINUB_for_stringop.
54035 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54037         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54038         buffer64.
54039         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54040         of casting of buffer.
54041         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54042         buffer32 and buffer64.
54043         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54044         writes instead of casting of buffer.
54045         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54046         buffer32.
54047         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54048         casting of buffer.
54050 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54052         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54054 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54056         * nscd/nscd.c (termination_handler): Don't do anything for a database
54057         if it has not yet been initialized.
54059 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54061         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54063 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54065         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54067 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54069         * po/nl.po: Update from translation team.
54070         * po/sv.po: Likewise.
54072 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54074         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54075         now disallowed by GCC.
54077         * configure.in (use-default-link): Default to yes if a test -shared
54078         link meets our qualifications.
54079         * configure: Regenerated.
54081         * config.make.in (output-format): New variable.
54082         * configure.in: Check for ld --print-output-format support.
54083         * configure: Regenerated.
54084         * Makerules ($(common-objpfx)format.lds)
54085         [$(output-format) != unknown]: Just use $(output-format),
54086         instead of the linker-script munging.
54088 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54090         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54091         of $(common-objpfx)shlib.lds.
54092         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54094         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54095         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54097         * configure.in (-z relro check): Adjust test code to add a large
54098         writable data section after it.
54099         * configure: Regenerated.
54101 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54103         * configure.in (-z relro check): Fix test code to make the variable
54104         truly const.
54105         * configure: Regenerated.
54107 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54109         * nscd/nscd.h (struct traced_file): Define.
54110         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54111         elements.  Add traced_files.
54112         (inotify_fd): Declare.
54113         (register_traced_file): Declare.
54114         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54115         (inotify_fd): Export.
54116         (resolv_conf_descr): Remove.
54117         (nscd_init): Move inotify descriptor creation to main.
54118         Don't register files for notification here.
54119         (register_traced_file): New function.
54120         (invalidate_cache): Don't use reset_res to determine whether to call
54121         res_init, go through the list of registered files.
54122         (main_loop_poll): The inotify descriptors are now stored in the
54123         structures for the traced files.
54124         (main_loop_epoll): Likewise
54125         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54126         to __nss_disable_nscd.
54127         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54128         for a database anymore.  Check the records for all the registered
54129         files instead.
54130         * nss/Makefile (libnss_files-routines): Add files-init.
54131         (libnss_db-routines): Add db-init.
54132         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54133         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54134         * nss/nss_db/db-init.c: New file.
54135         * nss/nss_files/files-init.c: New file.
54136         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54137         __nss_lookup_function.
54138         (__nss_lookup_function): Call nss_load_library.
54139         (nss_load_all_libraries): New function.
54140         (__nss_disable_nscd): Take parameter with callback function for files
54141         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54142         used for the cached services.
54143         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54144         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54145         options for features to all the files in nscd.
54147         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54149 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54151         * csu/elf-init.c (__libc_csu_init): Comment typo.
54153 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54155         * po/pl.po: Update from translation team.
54156         * po/ja.po: Likewise.
54157         * po/ru.po: Likewise.
54158         * po/ko.po: Likewise.
54159         * po/fr.po: Likewise.
54161 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54163         * configure.in (.ctors/.dtors header and trailer check):
54164         Use an empirical test on a built program.
54165         * configure: Regenerated.
54167         * configure.in (-z relro check): Use an empirical test on a built DSO.
54168         Detect, but do not require, on ia64.
54169         * configure: Regenerated.
54171         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54172         Update tests that use readelf to use $READELF instead.
54173         * configure: Regenerated.
54175 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54177         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54178         if the result is not used.
54180 2011-07-05  Andreas Jaeger  <aj@suse.de>
54182         [BZ#9696]
54183         * stdlib/tst-strtod.c: Add testcase.
54185 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54187         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54188         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54189         The latter has a higher limit.  Take additional parameter to pass to
54190         the new function.
54191         (__pathconf): Pass file to __statfs_link_max.
54192         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54193         __statfs_link_max.
54194         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54195         __statfs_link_max.
54197         [BZ #12868]
54198         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54199         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54200         Handle Lustre.
54201         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54202         (__statfs_filesize_max): Likewise.
54203         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54205 2011-07-05  Andreas Jaeger  <aj@suse.de>
54207         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54209 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54211         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54212         `status' variable.
54213         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54214         Likewise.
54216 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54218         * Makefile (strop-tests): Add strncat.
54219         * string/test-strncat.c: New file.
54221 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54223         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54225 2011-06-21  Andreas Jaeger  <aj@suse.de>
54227         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54228         Copy rule from iconvdata/Makefile.
54230 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54232         [BZ #12922]
54233         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54234         but no long options are defined, just return 'W'.
54236 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54238         [BZ #9696]
54239         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54241 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54243         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54244         netgroups to read.
54245         (innetgr): Likewise.
54247 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54249         * config.make.in (install_root): Default to $(DESTDIR).
54251 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54253         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54255 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54257         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54259         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54260         containing directory rather than embedding absolute directory names.
54262         * scripts/check-local-headers.sh: Rewritten using awk.
54263         Match by word, not by line.  Print error messages for matches.
54264         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54266         * Makerules [shlib-lds-flags empty]:
54267         ($(common-objpfx)libc_pic.opts): New target.
54268         ($(common-objpfx)libc_pic.os.clean): New target.
54269         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54271         * config.make.in (OBJCOPY): New variable.
54272         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54273         * configure: Regenerated.
54275         * config.make.in (use-default-link): New variable.
54276         * configure.in (use_default_link): Grok --with-default-link to set it.
54277         * configure: Regenerated.
54278         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54279         (shlib-lds, shlib-lds-flags): Define to empty.
54281         * Makerules (shlib-lds): New variable.
54282         (shlib-lds-flags): New variable.
54283         (build-shlib, build-moduile, build-module-asneeded): Use it.
54284         ($(common-objpfx)libc.so): Use $(shlib-lds).
54285         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54286         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54288         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54289         DT_FLAGS/DT_FLAGS_1 with zero flags.
54291         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54292         linker script munging.
54294 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54296         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54297         as 128-bit value.
54298         * crypt/sha512.c (sha512_process_block): Perform total addition using
54299         128-bit if possible.
54300         (__sha512_finish_ctx): Likewise.
54301         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54302         as 64-bit value.
54303         * crypt/sha256.c (SWAP64): Define.
54304         (sha256_process_block): Perform total addition using 64-bit if
54305         possible.
54306         (__sha256_finish_ctx): Likewise.
54308 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54310         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54311         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54312         * nscd/hstcache.c (cache_addhst): Likewise.
54313         * nscd/grpcache.c (cache_addgr): Likewise.
54314         * nscd/aicache.c (addhstaiX): Likewise
54315         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54317 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54319         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54320         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54321         * nscd/hstcache.c (cache_addhst): Likewise.
54322         * nscd/grpcache.c (cache_addgr): Likewise.
54323         * nscd/aicache.c (addhstaiX): Likewise
54325 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54327         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54328         domain only when needed.
54330 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54333         is always restored.
54335 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54337         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54338         are re-adding the entry.
54339         * nscd/servicescache.c (cache_addserv): Likewise.
54341 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54343         * sysdeps/generic/dl-irel.h: fix protection against multiple
54344         inclusions.
54345         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54347 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54349         [BZ #12935]
54350         * malloc/memusage.sh: Fix quoting in message.
54351         * debug/xtrace.sh: Likewise.
54353         * configure.in: Remove support for --experimental-malloc option, make
54354         it the default.
54355         * config.make.in: Likewise.
54356         * malloc/Makefile: Likewise.
54358 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54360         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54361         two-byte characters.
54363 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54365         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54366         AC_CACHE_CHECK invocation.
54367         * configure: Regenerated.
54369         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54371 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54373         [BZ #12350]
54374         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54375         bit from old_res_options.
54377         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54379         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54380         value type for setfct.
54382 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54384         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54385         __gettimeofday instead of gettimeofday.
54387 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54389         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54391 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54393         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54395         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54396         info.
54398 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54401         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54402         strcpy-sse2-unaligned strncpy-sse2-unaligned
54403         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54404         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54405         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54406         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54407         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54408         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54409         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54410         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54411         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54412         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54413         (STRCPY): Support SSE2 and SSSE3 versions.
54415 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54417         [BZ #12874]
54418         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54419         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54420         kernels which artificially limit size of requests.
54422 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54425         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54426         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54427         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54428         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54429         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54430         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54431         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54432         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54433         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54434         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54435         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54436         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54437         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54438         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54440         Enable unaligned load optimization for Intel Core i3, i5 and i7
54441         processors.
54442         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54443         Define.
54444         (index_Fast_Unaligned_Load): Define.
54445         (HAS_FAST_UNALIGNED_LOAD): Define.
54447 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
54449         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54451 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54453         [BZ #12907]
54454         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54455         until it is clear that the information is realy needed.
54456         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54458 2011-06-22  Andreas Schwab  <schwab@redhat.com>
54460         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54462 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54465         /sys/devices/system/cpu/online if it is usable.
54467         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54468         reading the information from the /proc filesystem to once a second.
54470 2011-06-21  Andreas Jaeger  <aj@suse.de>
54472         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54473         NULL after inclusion of kernel headers.
54475 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
54477         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54478         calls to internal_setent.
54480         [BZ #12885]
54481         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54482         addresses using gethostbyname4_r ignore IPv4 addresses.
54484         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54485         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
54487         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54489 2011-06-20  David S. Miller  <davem@davemloft.net>
54491         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54492         inclusions.
54493         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54495         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54496         (elf_irel): Use it.
54497         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54498         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54499         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54500         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54501         * sysdeps/x86_64/dl-irel.h: Likewise.
54503         * elf/dl-runtime.c: Use elf_ifunc_invoke.
54504         * elf/dl-sym.c: Likewise.
54506 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54508         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
54509         need to dereference resplen2.
54511 2011-06-14  Andreas Schwab  <schwab@redhat.com>
54513         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54515 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54517         * Makeconfig: Define vardbdir and inst_vardbdir.
54518         * nss/Makefile: Add rules to install db-Makefile.
54520         * nss/nss_db/db-XXX.c: Cleanup.
54522         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54523         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54524         GLIBC_PRIVATE.
54525         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54526         * nss/makedb.c: Implement -g option to specify that value strings
54527         are generated and should not be added to table iterated over for
54528         get*ent calls.
54529         * nss/nss_db/db-initgroups.c: New file.
54531         * nss/getent.c: Add support for initgroups lookups through getgrouplist
54532         interface.
54534         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54535         (internal_getgrouplist): Adjust to name change.
54536         Update use_initgroups_entry if this is not the first call.
54537         * nss/databases.def: Add initgroups entry.
54539         * nss/makedb.c (compute_tables): Check result of multiple hash table
54540         sizes to minimize maximum chain length.
54542 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
54544         * Versions.def: Add entry for libnss_db.
54545         * shlib-versions: Likewise.
54546         * nss/Makefile: Add rules to build libnss_db.
54547         * nss/Versions: Add libnss_db information.  Organize libnss_files
54548         entries better.
54549         * nss/db-Makefile: Add gshadow support.  Change rules for the new
54550         makedb progra.  Some minor improvements to generate smaller files.
54551         * nss/nss_db/nss_db.h: Move NSS database header data structures to
54552         here from...
54553         * nss/makedb.c: ...here.
54554         Improve database format to be smaller and require less memory at
54555         runtime.
54556         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
54557         db anymore.
54558         * nss/nss_db/db-netgrp.c: Likewise.
54559         * nss/nss_db/db-open.c: Likewise.
54560         * nss/nss_files/flies-XXX.x: Adjust comments.
54561         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54562         * nss/nss_files/files-grp.c: Likewise.
54563         * nss/nss_files/files-hosts.c: Likewise.
54564         * nss/nss_files/files-network.c: Likewise.
54565         * nss/nss_files/files-proto.c: Likewise.
54566         * nss/nss_files/files-pwd.c: Likewise.
54567         * nss/nss_files/files-rpc.c: Likewise.
54568         * nss/nss_files/files-service.c: Likewise.
54569         * nss/nss_files/files-sgrp.c: Likewise.
54570         * nss/nss_files/files-spwd.c: Likewise.
54571         * nss/nss_db/db-alias.c: Removed.
54572         * nss/nss_db/dummy-db.h: Removed.
54574 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
54576         * nss/makedb.c: Rewritten to not use database library.
54577         * nss/Makefile: Update to build new makedb program.
54579 2011-06-14  Andreas Jaeger  <aj@suse.de>
54581         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54582         memset declaration.
54584 2011-06-10  Andreas Schwab  <schwab@redhat.com>
54586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54587         tmpbuf.
54589 2011-06-10  Roland McGrath  <roland@hack.frob.com>
54591         * Makerules (shlib.lds): Fail if the linker script comes out empty.
54592         * elf/Makefile ($(objpfx)ld.so): Likewise.
54594         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54595         Don't list ld.so twice in dependencies.
54597         * posix/bug-regex31.c: Include <stdlib.h>.
54599         * nscd/hstcache.c (cache_addhst): Remove unused variable.
54601         * nis/nss_compat/compat-spwd.c
54602         (getspent_next_nss_netgr): Remove unused variable.
54603         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54605         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54606         nonmembers" output to use the right array.
54608         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54610         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54612         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54613         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54614         * catgets/gencat.c (read_input_file): Likewise.
54615         * locale/programs/locarchive.c (enlarge_archive): Likewise.
54617         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54618         variable definition inside #if's controlling its use.
54620         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54622         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54624         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54626         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54627         unreachable code.
54629         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54631         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54632         * configure: Regenerated.
54634         * Makerules: Revert last change.
54635         * elf/Makefile: Likewise.
54637 2011-06-09  Roland McGrath  <roland@hack.frob.com>
54639         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54640         * elf/Makefile ($(objpfx)librtld.os): Likewise.
54641         (reloc-link): Likewise.
54643 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
54645         * elf/Makefile: Add rules to build pldd.
54646         * elf/pldd.c: New file.
54647         * elf/pldd-xx.c: New file.
54649 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
54651         * version.h: Update for 2.15 development version.
54653 2011-06-07  David S. Miller  <davem@davemloft.net>
54655         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54656         ifuncs.
54657         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54658         elf_machine_lazy_rel): Likewise.
54659         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54660         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54661         elf_machine_lazy_rel): Likewise.
54662         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54663         dl_hwcap via passed in argument.
54664         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54665         Likewise.
54667 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54669         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
54671 2011-06-06  Roland McGrath  <roland@hack.frob.com>
54673         [BZ #12849]
54674         * manual/fdl-1.1.texi: New file, verbatim from:
54675         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54676         * manual/lgpl-2.1.texi: New file, verbatim from:
54677         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54678         * manual/Makefile (licenses): New variable, list those new file names.
54679         (texis): Use it.
54680         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54682         * manual/fdl.texi: File removed.
54683         * manual/lesser.texi: File removed.
54684         * manual/libc.texinfo (Copying, Documentation License):
54685         Use new @include file names, put @appendix directive before @include.
54687 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
54689         [BZ #12841]
54690         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54691         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54692         (mq_open): Add __NTH.
54694 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
54696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54697         Assume Intel Core i3/i5/i7 processor if AVX is available.
54699 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54702         typo.
54704 2011-05-31  Andreas Schwab  <schwab@redhat.com>
54706         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54707         memory.  Use alloca_account.  Fix memory leak when retrying.
54709 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54711         * version.h (RELEASE): Bump for 2.14 release.
54712         * include/features.h (__GLIBC_MINOR__): Bump to 14.
54714         * config.make.in (RANLIB): Remove entry.
54716 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
54718         * po/Makefile (po-sed-cmd): Add ksh to extensions.
54719         (libc.pot): Work around missing support for .ksh extension in xgettext.
54721         [BZ #12684]
54722         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54723         if both request failed.
54724         (send_dg): In case of server errors clear resplen or *resplen2.
54726         [BZ #12454]
54727         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54728         when there are multiple maps.
54729         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54730         (_dl_fini): Remove test here.
54732         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54734 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
54736         [BZ #12350]
54737         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54738         bit from old_res_options.
54739         (gaih_inet): Likewise.
54741         [BZ #11099]
54742         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54743         as signed.
54745         * resolv/res_init.c (res_setoptions): Make the code more compact.
54747         [BZ #11558]
54748         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54749         set RES_USEVC.
54751         [BZ #11634]
54752         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54754         * malloc/malloc.h: Mark malloc hook variables as deprecated.
54756         [BZ #11781]
54757         * malloc/malloc.h: Declare malloc hook variables as volatile.
54759         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54760         in last patch.
54762         [BZ #11799]
54763         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54764         raise in the comment.
54765         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54766         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54767         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54769 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
54771         [BZ #12811]
54772         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54773         grow the buffers more if it already has to be sufficient.
54774         (build_wcs_upper_buffer): Likewise.
54775         * posix/regexec.c (check_matching): Likewise.
54776         (clean_state_log_if_needed): Likewise.
54777         (extend_buffers): Don't enlarge buffers beyond size of the input
54778         buffer.
54779         Patches mostly by Emil Wojak <emil@wojak.eu>.
54780         * posix/bug-regex32.c: New file.
54781         * posix/Makefile (tests): Add bug-regex32.
54783         * locale/findlocale.c (_nl_find_locale): Return right away if
54784         _nl_explode_name failed.
54785         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54787         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54789         * debug/xtrace.sh: Unify messages.
54790         * malloc/memusage.sh: Likewise.
54792         [BZ #12813]
54793         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54794         time symbol from vDSO.  Substitute with vsyscall if not available.
54795         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54796         __vdso_time.
54798         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54799         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54800         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54801         Add sendmmsg and internal_sendmmsg.
54802         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54803         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54804         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54806         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54807         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54808         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54810 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
54812         [BZ #12813]
54813         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54814         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
54815         available.
54816         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54817         __vdso_getcpu.
54819         [BZ #12814]
54820         * iconvdata/Makefile (tests): Add bug-iconv9.
54821         * iconvdata/bug-iconv9.c: New file.
54823 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54825         [BZ #12814]
54826         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54828 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54830         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54831         (struct user_regs_struct): Change intcs field back to cs.
54833 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54835         * po/ja.po: Update from translation team.
54837 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54839         [BZ #12795]
54840         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54841         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54843 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54845         * stdlib/longlong.h: Update from GCC.
54847 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54849         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54850         parameter name.
54851         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54852         Add parameter name.
54853         (__sysconf): Pass it down.
54855 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54857         [BZ #12671]
54858         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54859         some situations.
54860         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54861         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54862         add in in __libc_use_alloca calls.  Adjust callers.
54863         (glob): Use malloc in some situations.
54865         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54866         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54867         pltexit.
54869 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54871         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54872         and CLOCK_BOOTTIME_ALARM.
54874         [BZ #12782]
54875         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54876         is returned.
54878         * string/_strerror.c (__strerror_r): Print negative errors as signed
54879         numbers.
54881         [BZ #12777]
54882         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54883         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54884         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54886         * configure.in: Fix typo in redirection and correct removal of test
54887         files in two cases.
54889         [BZ #12788]
54890         * locale/setlocale.c (new_composite_name): Fix test to check for
54891         identical name of all categories.
54893         [BZ #12792]
54894         * libio/filedoalloc.c (local_isatty): New function.
54895         (_IO_file_doallocate): Use local_isatty.
54896         * stdio-common/perror.c (perror): In case a new stream is used
54897         forward the stream error.
54898         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54899         error flag.
54901 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54903         [BZ #11869]
54904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54905         alloca.
54906         * include/alloca.h (extend_alloca_account): Define.
54908         [BZ #11857]
54909         * posix/regex.h: Fix comments with documentation of user-accessible
54910         fields after compilation and describe correct free'ing of pattern
54911         after re_compile_pattern.
54912         Patch by Reuben Thomas <rrt@sc3d.org>.
54914 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54916         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54917         and -mno-altivec to prevent the compiler from using Altivec and/or
54918         VSX instructions when the corresponding registers are not available.
54920 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54922         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54924 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54926         * libio/freopen.c (freopen): Use __dup2, not dup2.
54927         * libio/freopen64.c (freopen64): Likewise.
54929 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54931         [BZ #12775]
54932         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54933         * math/Makefile (tests): Add test-powl.
54934         (CFLAGS-test-powl.c): Define.
54935         * math/test-powl.c: New file.
54937 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54939         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54941 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54943         [BZ #11837]
54944         * iconvdata/gb18030.c: Update to GB18020-2005.
54946 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54948         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54949         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54950         Patch by Aharon Robbins <arnold@skeeve.com>.
54952         [BZ #11892]
54953         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54954         on the stack.
54956         [BZ #11895]
54957         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54958         through underflows.
54960         [BZ #12766]
54961         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54962         point to strings before performing equality test for error_one_per_line
54963         mode.
54965         [BZ #11697]
54966         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54968         [BZ #11820]
54969         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54970         (struct user_fpregs_struct): Avoid __uint*_t types.
54972         [BZ #6420]
54973         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54974         symbol info.  Use it instead of calling _dl_addr locally.
54975         (lock_and_info): New function.
54976         (tr_freehook): Call lock_and_info and pass symbol info as additional
54977         parameter to tr_where.
54978         (tr_mallochook): Likewise.
54979         (tr_reallochook): Likewise.
54980         (tr_memalignhook): Likewise.
54982         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54983         used and couldn't be at all thread-safe.
54985 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54987         * libio/freopen.c (freopen): Don't close old file descriptor
54988         before the new one is opened.  Instead dup the new file descriptor
54989         to the old one after the new stream is created.
54990         * libio/freopen64.c (freopen64): Likewise.
54991         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54992         * libio/fileops.c (_IO_new_file_close_it): Handle new
54993         _IO_FLAGS2_NOCLOSE flag.
54994         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54995         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54996         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54997         _IO_FLAGS2_NOCLOSE flag.
54998         * include/unistd.h: Add hidden_proto for dup3.
54999         Define __have_dup3.
55000         * io/dup3.c: Define hidden symbol.
55001         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55003         [BZ #7101]
55004         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55005         when an incomplete long option is used.
55006         * posix/tst-getopt_long1.c: New file.
55007         * posix/Makefile (tests): Add tst-getopt_long1.
55009         [BZ #10138]
55010         * scripts/config.guess: Update from autoconf-2.68.
55011         * scripts/config.sub: Likewise.
55013         [BZ #10157]
55014         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55015         tests into ...
55016         (has_cpuclock): ...this.  New function.
55017         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55018         macro here based on has_cpuclock code.
55020         [BZ #10149]
55021         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55022         First byte (not low byte) is now always NUL.
55023         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55025         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55026         Use non-cancelable interfaces.
55028         [BZ #9809]
55029         * locale/iso-639.def: Add entry for Sorani.
55031         [BZ #11901]
55032         * include/stdlib.h: Move include protection to the right place.
55033         Define abort_msg_s.  Declare __abort_msg with it.
55034         * stdlib/abort.c (__abort_msg): Adjust type.
55035         * assert/assert.c (__assert_fail_base): New function.  Majority
55036         of code from __assert_fail.  Allocate memory for __abort_msg with
55037         mmap.
55038         (__assert_fail): Now call __assert_fail_base.
55039         * assert/assert-perr.c: Remove bulk of implementation.  Use
55040         __assert_fail_base.
55041         * include/assert.hL Declare __assert_fail_base.
55042         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55043         mmap.
55044         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55046 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55048         [BZ #11952]
55049         [BZ #12453]
55050         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55051         until all modules are registered in the DTV.
55052         * elf/Makefile: Add rules to build and run tst-tls19.
55053         * elf/tst-tls19.c: New file.
55054         * elf/tst-tls19mod1.c: New file.
55055         * elf/tst-tls19mod2.c: New file.
55056         * elf/tst-tls19mod3.c: New file.
55057         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55059         [BZ #12083]
55060         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55061         correctly.
55063         [BZ #12601]
55064         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55065         two-byte sequence errors.
55066         * iconvdata/Makefile (tests): Add bug-iconv8.
55067         * iconvdata/bug-iconv8.c: New file.
55069         [BZ #12626]
55070         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55071         buf2 definition.
55073         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55075         [BZ #12432]
55076         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55077         (dummy_getcfa): New function.
55078         (init): Get _Unwind_GetCFA address, use dummy if not found.
55079         (backtrace_helper): In recursion check, also check whether CFA changes.
55080         (__backtrace): Completely initialize arg.
55082         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55083         storing incomplete byte sequence in state object.  Avoid testing for
55084         guaranteed too small input if we know there is enough data available.
55086 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55088         * Makeconfig (+link-pie): Indent.
55089         * Rules (binaries-pie): Define if $(have-fpie) and
55090         $(build-shared).
55091         (binaries-shared): Also filter out $(binaries-pie).
55092         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55093         * nscd/Makefile (others-pie): Add nscd.
55094         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55095         ($(objpfx)nscd): Remove command override.
55096         * login/Makefile (others-pie): Add pt_chown.
55097         ($(objpfx)pt_chown): Remove command override.
55098         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55099         remove command overrides.
55101 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55103         * libio/tst_putwc.c: Fix error messages.
55105         [BZ #12724]
55106         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55107         currently writing and seek to current position when not.
55108         * libio/Makefile (tests): Add bug-fclose1.
55109         * libio/bug-fclose1.c: New file.
55111 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55113         [BZ #12511]
55114         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55115         don't set DF_1_NODELETE here.
55116         (do_lookup_x): When entering new entry test for copy relocation
55117         and if necessary set DF_1_NODELETE flag.
55118         * elf/tst-unique4.cc: New file.
55119         * elf/tst-unique4.h: New file.
55120         * elf/tst-unique4lib.cc: New file.
55121         * elf/Makefile: Add rules to build and run tst-unique4.
55122         Patch by Piotr Bury <pbury@goahead.com>.
55124 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55126         [BZ #12052]
55127         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55129         [BZ #12625]
55130         * misc/mntent_r.c (addmntent): Flush the stream after the output
55132         [BZ #12393]
55133         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55134         (is_trusted_path_normalize): Skip initial colon.  Append slash
55135         to empty buffer.  Duplicate is_trusted_path code but allow
55136         constructed patch to be prefix.
55137         (is_dst): Allow $ORIGIN followed by /.
55138         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55139         Correct testing of result of is_trusted_path_normalize
55140         (decompose_rpath): Fix warning.
55142 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55144         [BZ #11257]
55145         * grp/initgroups.c (internal_getgrouplist): When we found the service
55146         list through the initgroups entry in nsswitch.conf do not always
55147         continue on a successful lookup.  Don't always use the
55148         __nss_group_database value if it is set.
55149         * nss/nsswitch.conf (initgroups): Change action for successful db
55150         lookup to continue for compatibility.
55152 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55154         [BZ #11532]
55155         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55156         and CP774 modules.
55157         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55158         and CP774 modules.
55159         * iconvdata/tst-tables.sh: Likewise.
55160         * iconvdata/cp770.c: New file.
55161         * iconvdata/cp771.c: New file.
55162         * iconvdata/cp772.c: New file.
55163         * iconvdata/cp773.c: New file.
55164         * iconvdata/cp774.c: New file.
55165         * iconvdata/testdata/CP770: New file.
55166         * iconvdata/testdata/CP770..UTF8: New file.
55167         * iconvdata/testdata/CP771: New file.
55168         * iconvdata/testdata/CP771..UTF8: New file.
55169         * iconvdata/testdata/CP772: New file.
55170         * iconvdata/testdata/CP772..UTF8: New file.
55171         * iconvdata/testdata/CP773: New file.
55172         * iconvdata/testdata/CP773..UTF8: New file.
55173         * iconvdata/testdata/CP774: New file.
55174         * iconvdata/testdata/CP774..UTF8: New file.
55176         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55177         END CHARMAP line.
55178         * iconvdata/gen-8bit-gap.sh: Likewise.
55179         * iconvdata/gen-8bit.sh: Likewise.
55181         * locale/iso-639.def: Add ary entry.
55183         [BZ #11258]
55184         * locale/C-translit.h.in: Add U20A1 transliteration.
55186         [BZ #12178]
55187         * locale/iso-639.def: Add wae entry.
55188         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55190         [BZ #12545]
55191         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55192         for n.
55194         [BZ #12711]
55195         * locale/C-translit.h.in: Add entry for U20B9.
55196         Patch by pravin.d.s@gmail.com.
55198 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55200         [BZ #12713]
55201         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55202         ENAMETOOLONG use generic getcwd.
55203         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55204         in rtld.  Use *stat64.
55205         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55206         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55207         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55208         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55209         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55210         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55211         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55212         __fstatat64 macros.
55213         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55214         * dirent/rewinddir.c: Add libc_hidden_def.
55215         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55216         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55218         * include/dirent.h (__alloc_dir): Add flags parameter.
55219         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55220         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55221         __alloc_dir.
55222         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55223         from fdopendir if O_CLOEXEC is already set.
55225 2011-03-15  Alan Modra  <amodra@gmail.com>
55227         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55228         l_tls_firstbyte_offset non-zero.  Save padding offset in
55229         l_tls_firstbyte_offset for later use.
55230         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55231         freeing static tls block.
55233 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55235         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55236         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55237         being defined by the kernel headers.
55239 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55241         [BZ #12734]
55242         * resolv/resolv.h: Define RES_NOTLDQUERY.
55243         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55244         no-tld-query and set RES_NOTLDQUERY.
55245         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55246         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55247         modern BIND to search name as TLD unless forbidden.
55249 2011-05-07  Petr Baudis  <pasky@suse.cz>
55250             Ulrich Drepper  <drepper@gmail.com>
55252         [BZ #12393]
55253         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55254         (is_trusted_path): ...to here.
55255         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55256         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55257         using is_trusted_path_normalize() in setuid scripts.
55259 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55261         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55262         __BEGIN/__END_DECLS.
55264 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55266         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55267         NSS_STATUS_NOTFOUND if no record was found.
55269 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55271         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55272         (headers-not-in-tirpc): Remove rpc/netdb.h
55273         * resolv/netdb.h: Revert last change.
55275 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55277         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55278         circular dependency between libgcc.a and libc.a.
55280 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55282         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55283         * nis/Makefile: Don't install rpcsvc/*.
55284         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55285         instead of <rpc/types.h>.
55286         (MAXHOSTNAMELEN): Define.
55288 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55290         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55292 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55294         [BZ #12714]
55295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55296         gethostbyname4_r when IPv6 results are possible.
55298 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55300         [BZ #12723]
55301         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55302         _PC_PIPE_BUF handling.
55304 2011-04-30  Bruno Haible  <bruno@clisp.org>
55306         [BZ #12717]
55307         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55308         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55309         to 'int'.
55310         * inet/getnameinfo.c (getnameinfo): Likewise.
55312 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55314         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55315         to groups setting in database lookup.
55316         * nss/nsswitch.conf: Add initgroups entry.
55318 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55320         [BZ #12685]
55321         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55322         mode string.
55323         Patch by Eric Blake <eblake@redhat.com>.
55325 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55327         * sunrpc/Makefile (need-export-routines): Add svc_run.
55328         (routines): Remove svc_run.
55329         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55330         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55331         * sunrpc/svc_run.c (svc_run): Likewise.
55332         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55334 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55336         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55337         problem in reallocation in last patch.
55339 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55341         * sunrpc/Makefile: Move inclusion of Rules.
55343 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55345         * nss/nss_files/files-initgroups.c: New file.
55346         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55347         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55348         _nss_files_initgroups_dyn.
55350 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55352         * elf/elf.h (R_ARM_IRELATIVE): Define.
55354 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55356         * po/ru.po: Update from translation team.
55358 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55360         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55361         dependencies.
55363 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55365         [BZ #12653]
55366         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55367         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55368         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55369         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55370         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55372 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55374         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55375         differing bytes.
55376         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55377         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55378         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55380 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55382         [BZ #12420]
55383         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55384         storing it.
55385         * stdlib/bug-getcontext.c: New file.
55386         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55388 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55390         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55391         instructions into .machine "z9-109".
55392         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55393         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55395 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55397         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55398         between environment variables and auxiliary vector.
55400 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55402         * Makefile: Add rules to build linkobj/libc.so.
55403         * include/libc-symbols.h: Define libc_hidden_nolink.
55404         * include/rpc/auth.h: Mark functions which are to be hidden.
55405         * include/rpc/auth_des.h: Likewise.
55406         * include/rpc/auth_unix.h: Likewise.
55407         * include/rpc/clnt.h: Likewise.
55408         * include/rpc/des_crypt.h: Likewise.
55409         * include/rpc/key_prot.h: Likewise.
55410         * include/rpc/pmap_clnt.h: Likewise.
55411         * include/rpc/pmap_prot.h: Likewise.
55412         * include/rpc/pmap_rmt.h: Likewise.
55413         * include/rpc/rpc_msg.h: Likewise.
55414         * include/rpc/svc.h: Likewise.
55415         * include/rpc/svc_auth.h: Likewise.
55416         * include/rpc/xdr.h: Likewise.
55417         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55418         * nss/Makefile: Likewise.
55419         * sunrpc/Makefile: Don't install headers.  Build library with normal
55420         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55421         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55422         for the compat linking library.  Remove use of INTDEF/INTUSE.
55423         * sunrpc/auth_none.c: Likewise.
55424         * sunrpc/auth_unix.c: Likewise.
55425         * sunrpc/authdes_prot.c: Likewise.
55426         * sunrpc/authuxprot.c: Likewise.
55427         * sunrpc/clnt_gen.c: Likewise.
55428         * sunrpc/clnt_perr.c: Likewise.
55429         * sunrpc/clnt_raw.c: Likewise.
55430         * sunrpc/clnt_simp.c: Likewise.
55431         * sunrpc/clnt_tcp.c: Likewise.
55432         * sunrpc/clnt_udp.c: Likewise.
55433         * sunrpc/clnt_unix.c: Likewise.
55434         * sunrpc/des_crypt.c: Likewise.
55435         * sunrpc/des_soft.c: Likewise.
55436         * sunrpc/get_myaddr.c: Likewise.
55437         * sunrpc/key_call.c: Likewise.
55438         * sunrpc/key_prot.c: Likewise.
55439         * sunrpc/netname.c: Likewise.
55440         * sunrpc/pm_getmaps.c: Likewise.
55441         * sunrpc/pm_getport.c: Likewise.
55442         * sunrpc/pmap_clnt.c: Likewise.
55443         * sunrpc/pmap_prot.c: Likewise.
55444         * sunrpc/pmap_prot2.c: Likewise.
55445         * sunrpc/pmap_rmt.c: Likewise.
55446         * sunrpc/publickey.c: Likewise.
55447         * sunrpc/rpc_cmsg.c: Likewise.
55448         * sunrpc/rpc_common.c: Likewise.
55449         * sunrpc/rpc_dtable.c: Likewise.
55450         * sunrpc/rpc_prot.c: Likewise.
55451         * sunrpc/rpc_thread.c: Likewise.
55452         * sunrpc/rtime.c: Likewise.
55453         * sunrpc/svc.c: Likewise.
55454         * sunrpc/svc_auth.c: Likewise.
55455         * sunrpc/svc_authux.c: Likewise.
55456         * sunrpc/svc_raw.c: Likewise.
55457         * sunrpc/svc_run.c: Likewise.
55458         * sunrpc/svc_simple.c: Likewise.
55459         * sunrpc/svc_tcp.c: Likewise.
55460         * sunrpc/svc_udp.c: Likewise.
55461         * sunrpc/svc_unix.c: Likewise.
55462         * sunrpc/svcauth_des.c: Likewise.
55463         * sunrpc/xcrypt.c: Likewise.
55464         * sunrpc/xdr.c: Likewise.
55465         * sunrpc/xdr_array.c: Likewise.
55466         * sunrpc/xdr_float.c: Likewise.
55467         * sunrpc/xdr_intXX_t.c: Likewise.
55468         * sunrpc/xdr_mem.c: Likewise.
55469         * sunrpc/xdr_rec.c: Likewise.
55470         * sunrpc/xdr_ref.c: Likewise.
55471         * sunrpc/xdr_sizeof.c: Likewise.
55472         * sunrpc/xdr_stdio.c: Likewise.
55474 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
55476         [BZ #12650]
55477         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55478         * sysdeps/ia64/dl-tls.h: Likewise.
55479         * sysdeps/powerpc/dl-tls.h: Likewise.
55480         * sysdeps/s390/dl-tls.h: Likewise.
55481         * sysdeps/sh/dl-tls.h: Likewise.
55482         * sysdeps/sparc/dl-tls.h: Likewise.
55483         * sysdeps/x86_64/dl-tls.h: Likewise.
55484         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55486 2011-03-14  Andreas Schwab  <schwab@redhat.com>
55488         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55489         rpath element also skip the following colon.
55490         (expand_dynamic_string_token): Add is_path parameter and pass
55491         down to DL_DST_REQUIRED and _dl_dst_substitute.
55492         (decompose_rpath): Call expand_dynamic_string_token with
55493         non-zero is_path.  Ignore empty rpaths.
55494         (_dl_map_object_from_fd): Call expand_dynamic_string_token
55495         with zero is_path.
55497 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
55499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55500         Make cancelable.
55502 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
55504         [BZ #12655]
55505         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55506         Patch by Filipe David Manana <fdmanana@apache.org>.
55508 2011-04-07  Andreas Schwab  <schwab@redhat.com>
55510         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55511         Maintain aligned stack.
55512         (CHECK_RSP): Remove unused macro.
55514 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
55516         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55517         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55519 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
55521         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55523         * include/features.h: Mention __USE_XOPEN2K8 in comment.
55525 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
55527         [BZ #12518]
55528         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55529         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55530         * sysdeps/x86_64/memmove.c: New file.
55531         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55532         (memcpy): Renamed to ...
55533         (__new_memcpy): This.
55534         (memcpy): Provide GLIBC_2_14 memcpy.
55535         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55536         (memcpy): Provide GLIBC_2_2_5 memcpy.
55538 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55540         [BZ #12631]
55541         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55543 2011-03-30  Andreas Schwab  <schwab@redhat.com>
55545         * misc/syncfs.c: New file.
55546         * misc/Makefile (routines): Add syncfs.
55547         * posix/unistd.h: Declare syncfs.
55548         * sysdeps/unix/syscalls.list: Add syncfs.
55550 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55552         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55553         open_by_handle_at.
55554         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55555         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55557         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55559         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55560         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55562 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55564         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55565         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55566         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55568         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55572         * io/Makefile: Compile fallocate.c, fallocate64.c, and
55573         sync_file_range.c with -fexceptions.
55574         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55575         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55576         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55577         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55578         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55579         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55581         sync_file_range as cancellation point
55582         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
55583         now a wrapper around __call_sync_file_range with cancellation handling.
55584         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55585         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
55586         function name to __call_sync_file_range.
55587         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55588         Add call_sync_file_range.
55590 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55593         bits/timex.h.
55595 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55597         * iconv/iconv.h: Fix typo in comment.
55598         * io/fcntl.h: Likewise.
55599         * libio/stdio.h: Likewise.
55600         * posix/spawn.h: Likewise.
55601         * posix/unistd.h: Likewise.
55602         * stdlib/stdlib.h: Likewise.
55603         * time/time.h: Likewise.
55604         * wcsmbs/wchar.h: Likewise.
55606         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55607         open_by_handle): Add.
55608         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55609         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
55610         Augment a few comments.
55611         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55612         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55613         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55615         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55616         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55617         open_by_handle.
55619         * io/fcntl.h (AT_EMPTY_PATH): Define.
55621 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
55623         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55624         * sysdeps/unix/sysv/linux/bits/time.h: New file.
55625         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55626         to...
55627         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
55628         * Versions.def: Add GLIBC_2.14.
55629         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55630         Export.
55632 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
55634         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55635         round counter.
55636         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55638 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55640         [BZ #12597]
55641         * string/test-strncmp.c (do_page_test): New function.
55642         (check2): Likewise.
55643         (test_main): Call check2.
55644         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55646 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
55648         [BZ #12587]
55649         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55650         Handle cache information in CPU leaf 4.
55651         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55653 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
55655         [BZ #12583]
55656         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55657         character representation.
55658         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55660 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
55662         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55663         END(__isnan) to END(__isnanf) to match function entry point/label
55664         EALIGN(__isnanf,...).
55666 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
55668         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55670 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
55672         [BZ #12510]
55673         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55674         copy from the symbol referenced in the relocation to initialize the
55675         used variable.
55676         Patch by Piotr Bury <pbury@goahead.com>.
55677         * elf/Makefile: Add rules to build and tst-unique3.
55678         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55679         * elf/tst-unique3.cc: New file.
55680         * elf/tst-unique3.h: New file.
55681         * elf/tst-unique3lib.cc: New file.
55682         * elf/tst-unique3lib2.cc: New file.
55684         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55686 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
55688         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55689         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
55690         to _start.
55692 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
55694         * elf/dl-load.c (_dl_map_object): If we are looking for the first
55695         to-be-loaded object along a path to loader is ld.so.
55697 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55698             Ulrich Drepper  <drepper@gmail.com>
55700         * sysdeps/x86_64/memset.S: After aligning destination, code
55701         branches to different locations depending on the value of
55702         misalignment, when multiarch is enabled. Fix this.
55704 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55706         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55707         Set _x86_64_preferred_memory_instruction for AMD processsors.
55708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55709         Set bit_Prefer_SSE_for_memop for AMD processors.
55711 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
55713         * libio/fmemopen.c (fmemopen): Optimize a bit.
55715 2011-03-03  Andreas Schwab  <schwab@redhat.com>
55717         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55719 2011-03-03  Roland McGrath  <roland@redhat.com>
55721         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55723 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
55725         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55726         __bzero_ultra1 instead of __memset_ultra1.
55728 2011-02-23  Andreas Schwab  <schwab@redhat.com>
55729             Ulrich Drepper  <drepper@gmail.com>
55731         [BZ #12509]
55732         * include/link.h (struct link_map): Add l_orig_initfini.
55733         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55734         returning unsuccessfully.
55735         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55736         close of a file loaded at startup, restore the original l_initfini
55737         list.
55738         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55739         list, store the pointer.
55740         * elf/Makefile ($(objpfx)noload-mem): New rule.
55741         (noload-ENV): Define.
55742         (tests): Add $(objpfx)noload-mem.
55743         * elf/noload.c: Include <memcheck.h>.
55744         (main): Call mtrace.  Close all opened handles.
55746 2011-02-17  Andreas Schwab  <schwab@redhat.com>
55748         [BZ #12454]
55749         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55750         dependencies are missing.
55752 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55754         Fix __if_freereq crash: Unlike the generic version which uses free,
55755         Hurd needs munmap.
55756         * sysdeps/mach/hurd/ifreq.h: New file.
55758 2011-01-27  Petr Baudis  <pasky@suse.cz>
55759             Ulrich Drepper  <drepper@gmail.com>
55761         [BZ 12445]#
55762         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55763         to extend_alloca().
55764         * stdio-common/bug23.c: New file.
55765         * stdio-common/Makefile (tests): Add bug23.
55767 2010-09-28  Andreas Schwab  <schwab@redhat.com>
55768             Ulrich Drepper  <drepper@gmail.com>
55770         [BZ #12489]
55771         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55772         before performing relro protection.  At old place add assertion
55773         to make sure nothing changed.
55775 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
55776             Glauber de Oliveira Costa  <glommer@gmail.com>
55778         * elf/elf.h: Add new ARM TLS relocs.
55780 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
55782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55783         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55784         cast from r3.
55785         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
55786         'tests' variable.
55787         * sysdeps/wordsize-64/tst-writev.c: New file.
55789 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
55791         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55792         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55793         insns in _dl_start to prevent a TOC reference before relocs are
55794         resolved.
55796 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
55798         [BZ #12469]
55799         * Makeconfig: Remove RANLIB definition.
55800         * Makerules: Don't use RANLIB.
55801         * aclocal.m4: Remove ranlib test.
55802         * configure.in: No need to check for ranlib.
55803         * elf/rtld-Rules: Don't use RANLIB.
55805 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55807         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55808         protection macro.
55809         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55810         inclusion protection macro.
55812         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55813         SIGRTMIN and SIGRTMAX and print information in that case only when
55814         SIGRTMIN is defined.
55816 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
55818         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55819         arginfo fn returning -1.
55821         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55822         and thousands string is zero terminated.
55824 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55826         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55827         sysdeps/unix/sysv/linux/bits/socket.h.
55829 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55831         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55832         (__CPU_COUNT): Remove old macros.
55833         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55834         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55835         (__CPU_ALLOC, __CPU_FREE): Add macros.
55836         (__sched_cpualloc, __sched_cpufree): Add declarations.
55838 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55840         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55841         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55842         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55843         (readdhstai): Return value of addhstaiX call.
55844         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55845         (addgrbyX): Return value returned by cache_addgr.
55846         (readdgrbyname): Return value returned by addgrbyX.
55847         (readdgrbygid): Likewise.
55848         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55849         (addpwbyX): Return value returned by cache_addpw.
55850         (readdpwbyname): Return value returned by addhstbyX.
55851         (readdpwbyuid): Likewise.
55852         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55853         (addservbyX): Return value returned by cache_addserv.
55854         (readdservbyname): Return value returned by addservbyX:
55855         (readdservbyport): Likewise.
55856         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55857         (addhstbyX): Return value returned by cache_addhst.
55858         (readdhstbyname): Return value returned by addhstbyX.
55859         (readdhstbyaddr): Likewise.
55860         (readdhstbynamev6): Likewise.
55861         (readdhstbyaddrv6): Likewise.
55862         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55863         (readdinitgroups): Return value returned by addinitgroupsX.
55864         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55865         (prune_cache): Keep track of timeout value of re-added entries.
55866         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55867         * nscd/nscd.h: Adjust prototypes of readd* functions.
55869 2011-02-04  Roland McGrath  <roland@redhat.com>
55871         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55872         (nis_stats): Likewise.
55873         * nis/nis_modify.c (nis_modify): Likewise.
55874         * nis/nis_remove.c (nis_remove): Likewise.
55875         * nis/nis_add.c (nis_add): Likewise.
55877         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55879         * posix/fnmatch_loop.c: Add some consts.
55881         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55883 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55885         [BZ #12460]
55886         * config.make.in (config-cflags-novzeroupper): Define.
55887         * configure.in: Substitute libc_cv_cc_novzeroupper.
55888         * elf/Makefile (AVX-CFLAGS): Define.
55889         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55890         (CFLAGS-tst-auditmod4a.c): Likewise.
55891         (CFLAGS-tst-auditmod4b.c): Likewise.
55892         (CFLAGS-tst-auditmod6b.c): Likewise.
55893         (CFLAGS-tst-auditmod6c.c): Likewise.
55894         (CFLAGS-tst-auditmod7b.c): Likewise.
55895         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55897 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55899         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55900         function to the callback.
55901         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55903 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55905         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55906         of errno.
55908 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55910         [BZ #11724]
55911         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55912         of constructors.
55913         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55914         of destructors.
55915         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55917         [BZ #11724]
55918         * elf/Makefile: Add rules to build and run new test.
55919         * elf/tst-initorder.c: New file.
55920         * elf/tst-initorder.exp: New file.
55921         * elf/tst-initordera1.c: New file.
55922         * elf/tst-initordera2.c: New file.
55923         * elf/tst-initordera3.c: New file.
55924         * elf/tst-initordera4.c: New file.
55925         * elf/tst-initorderb1.c: New file.
55926         * elf/tst-initorderb2.c: New file.
55927         * elf/tst-order-a1.c: New file.
55928         * elf/tst-order-a2.c: New file.
55929         * elf/tst-order-a3.c: New file.
55930         * elf/tst-order-a4.c: New file.
55931         * elf/tst-order-b1.c: New file.
55932         * elf/tst-order-b2.c: New file.
55933         * elf/tst-order-main.c: New file.
55934         New test case by George Gensure <werkt0@gmail.com>.
55936 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55939         decoding ACE if AI_CANONIDN.
55941 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55943         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55945 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55947         * version.h (RELEASE): Bump for 2.13 release.
55948         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55950         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55952         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55953         MADV_NOHUGEPAGE.
55954         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55955         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55956         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55957         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55958         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55959         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55961         * posix/getconf.c: Update copyright year.
55962         * catgets/gencat.c: Likewise.
55963         * csu/version.c: Likewise.
55964         * debug/catchsegv.sh: Likewise.
55965         * debug/xtrace.sh: Likewise.
55966         * elf/ldconfig.c: Likewise.
55967         * elf/ldd.bash.in: Likewise.
55968         * elf/sprof.c (print_version): Likewise.
55969         * iconv/iconv_prog.c: Likewise.
55970         * iconv/iconvconfig.c: Likewise.
55971         * locale/programs/locale.c: Likewise.
55972         * locale/programs/localedef.c: Likewise.
55973         * malloc/memusage.sh: Likewise.
55974         * malloc/mtrace.pl: Likewise.
55975         * nscd/nscd.c (print_version): Likewise.
55976         * nss/getent.c: Likewise.
55978         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55979         PF_CAIF, and PF_ALG.
55980         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55982 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55984         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55985         (modules-names): Use them.
55986         (ifunc-test-modules, ifunc-pie-tests): Define.
55987         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55988         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55989         (test-extras): Likewise.
55990         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55991         $(compile-command.c).
55992         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55993         (all-built-dso): Define.
55994         (check-textrel.out, check-execstack.out): Depend on it.
55996         * configure.in: Don't override --enable-multi-arch.
55998 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56000         [BZ #6812]
56001         * nscd/hstcache.c (tryagain): Define.
56002         (cache_addhst): Return tryagain not notfound for temporary errors.
56003         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56004         failed.
56006 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56008         [BZ #10563]
56009         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56010         to make the syscall.
56011         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56013         [BZ #12378]
56014         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56015         and fall back to matching as normal character if the string ends before
56016         the matching ']' is found.  This is what POSIX requires.
56017         * posix/testfnm.c: Adjust test result.
56018         * posix/globtest.sh: Adjust test result.  Add new test.
56019         * posix/tst-fnmatch.input: Likewise.
56020         * posix/tst-fnmatch2.c: Add new test.
56022 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56024         * elf/Makefile (check-execstack): Revert last change.  Depend on
56025         check-execstack.h.
56026         (check-execstack.h): New target.
56027         (generated): Add check-execstack.h.
56028         * elf/check-execstack.c: Include "check-execstack.h".
56029         (main): Revert last change.
56030         (handle_file): Return zero if GNU_STACK is absent and
56031         DEFAULT_STACK_PERMS doesn't include PF_X.
56033 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56035         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56036         in child fails because the descriptor is already closed.
56037         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56038         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56039         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56041         [BZ #12397]
56042         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56043         syscall.
56045         [BZ #10484]
56046         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56047         temporary buffer used to handle multi lookups locally.
56048         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56050 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56052         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56053         loader is ld.so.
56055 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56057         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56058         alignment for SSE2.
56060 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56062         [BZ #12394]
56063         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56064         characters.  When rounding increased number of integer digits recompute
56065         number of groups.
56066         * stdio-common/tst-grouping.c: New file.
56067         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56069 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56071         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56072         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56074         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56075         void.
56076         * bits/select.h: Likewise.
56078 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56080         * po/ja.po: Update from translation team.
56082 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56084         [BZ #11155]
56085         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56086         implementation just like for lxstat, fxstatat, et al.
56088 2010-12-27  Jim Meyering  <meyering@redhat.com>
56090         [BZ #12348]
56091         * posix/regexec.c (build_trtable): Return failure indication upon
56092         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56094 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56096         [BZ #12201]
56097         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56098         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56099         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56100         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56102         [BZ #12207]
56103         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56105         [BZ #12204]
56106         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56107         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56109 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56111         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56112         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56113         script has SORT_BY_INIT_PRIORITY.
56114         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56115         NO_CTORS_DTORS_SECTIONS is defined.
56116         * elf/soinit.c: Likewise.
56117         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56118         NO_CTORS_DTORS_SECTIONS is defined.
56119         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56120         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56121         * sysdeps/sh/init-first.c: Likewise.
56122         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56124 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56126         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56127         always use the slow path.
56129 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56131         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56132         similar rule which adds the sysdep directories to the header search in
56133         order to pick up the correct platform stackinfo.h.
56134         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56135         perform test if it is, otherwise return successfully without testing.
56136         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56137         DEFAULT_STACK_PERMS define in stackinfo.h.
56138         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56139         defined in stackinfo.h.
56140         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56141         DEFAULT_STACK_PERMS defined in stackinfo.h.
56142         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56143         * sysdeps/ia64/stackinfo.h: Likewise.
56144         * sysdeps/s390/stackinfo.h: Likewise.
56145         * sysdeps/sh/stackinfo.h: Likewise.
56146         * sysdeps/sparc/stackinfo.h: Likewise.
56147         * sysdeps/x86_64/stackinfo.h: Likewise.
56148         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56149         PF_X for powerpc64.  Retain PF_X for powerpc32.
56151 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56153         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56154         accurately.
56155         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56156         GETDENTS_64BIT_ALIGNED.
56158 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56160         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56162 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56164         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56165         _GNU_SOURCE.
56167         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56168         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56169         Remove __restrict.
56170         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56171         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56173 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56175         [BZ #11655]
56176         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56177         are initialized.
56179 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56181         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56183 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56185         * po/it.po: Update from translation team.
56187 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56189         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56190         unused codes.
56192 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56194         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56196 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56198         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56199         specially.
56200         (gaih_getanswer_slice): Likewise.
56202 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56206 2010-05-31  Petr Baudis  <pasky@suse.cz>
56208         [BZ #11149]
56209         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56210         silently even in the chroot mode.
56212 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56214         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56215         last patch a bit.  Pretty printing
56217 2010-05-31  Petr Baudis <pasky@suse.cz>
56219         [BZ #10085]
56220         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56221         initialization of skip_initgroups_dyn.
56223 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56225         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56226         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56228 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56230         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56232 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56234         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56235         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56236         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56237         ($(objpfx)tst-fnmatch-mem): New rule.
56238         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56239         * posix/tst-fnmatch.c (main): Call mtrace.
56241 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56244         Support Intel processor model 6 and model 0x2c.
56246 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56248         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56249           signed comparison.
56251 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56253         [BZ #12205]
56254         * string/test-strncasecmp.c (check_result): New function.
56255         (do_one_test): Use it.
56256         (check1): New function.
56257         (test_main): Use it.
56258         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56259         Support strcasecmp and strncasecmp.
56261 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56263         [BZ #12194]
56264         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56265         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56267 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56269         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56270         IFUNC support.
56271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56272         memset-x86-64.
56273         * sysdeps/x86_64/multiarch/bzero.S: New file.
56274         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56275         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56276         * sysdeps/x86_64/multiarch/memset.S: New file.
56277         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56279         Set bit_Prefer_SSE_for_memop for Intel processors.
56280         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56281         Define.
56282         (index_Prefer_SSE_for_memop): Define.
56283         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56285 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56287         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56288         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56290 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56292         [BZ #12191]
56293         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56294         (__x86_64_raw_data_cache_size_half): Likewise.
56295         (__x86_64_raw_shared_cache_size): Likewise.
56296         (__x86_64_raw_shared_cache_size_half): Likewise.
56298         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56299         (__x86_64_raw_data_cache_size_half): Likewise.
56300         (__x86_64_raw_shared_cache_size): Likewise.
56301         (__x86_64_raw_shared_cache_size_half): Likewise.
56302         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56303         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56304         and __x86_64_raw_shared_cache_size_half.  Round
56305         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56306         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56307         to multiple of 256 bytes.
56309 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56311         [BZ #12167]
56312         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56313         of inacessible symlinks.  Verify result of symlink before returning it.
56314         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56315         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56317 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56319         * math/math.h (isinf): Fix typo in comment.
56321 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56323         * po/da.po: Update from translation team.
56325 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56327         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56328         is added to the list.
56330 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56331             Ulrich Drepper  <drepper@gmail.com>
56333         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56334         the global list here.  Move code to...
56335         (_dl_add_to_namespace_list): ...here.  New function.
56336         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56337         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56338         * elf/dl-load.c (lose): Don't remove the element from the list.
56339         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56340         (_dl_map_object): Likewise.
56342 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56344         [BZ #12159]
56345         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56346         into all bytes of SSE register.
56347         Patch by Richard Li <richardpku@gmail.com>.
56349 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56351         [BZ #12140]
56352         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56353         perturbing.
56355 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56357         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56358         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56359         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56360         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56362         submachine.
56363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56365 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56367         * include/dlfcn.h (__RTLD_SECURE): Define.
56368         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56369         mode & __RTLD_SECURE instead.
56370         (open_path): Rename preloaded parameter to secure.
56371         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56372         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56373         * elf/dl-deps.c (openaux): Likewise.
56374         * elf/rtld.c (struct map_args): Remove is_preloaded.
56375         (map_doit): Don't use it.
56376         (dl_main): Likewise.
56377         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56378         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56380 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56382         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56383         (sysd-rules-targets): Remove duplicates.
56384         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56385         rtld-%.$o dependency.
56387 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56389         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56390         _dl_map_object do it.
56392 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56394         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56395         fast fma builtins, define the macros in the C99 standard.
56396         (FP_FAST_FMAF): Likewise.
56397         (FP_FAST_FMAL): Likewise.
56398         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56400         * bits/mathdef.h: Update copyright year.
56401         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56403 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56405         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56406         builtins, define the macros in the C99 standard.
56407         (FP_FAST_FMAF): Likewise.
56408         (FP_FAST_FMAL): Likewise.
56409         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56410         multiply/add.
56411         (FP_FAST_FMAF): Likewise.
56413 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56415         [BZ #3268]
56416         * math/libm-test.inc (fma_test): Some new testcases.
56417         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56418         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56419         y and infinite z.  Do multiplication by C already in long double.
56420         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56422         y and infinite z.  Do bitwise or of inexact bit into u.d.
56423         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56424         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56425         * sysdeps/i386/fpu/s_fma.S: Removed.
56426         * sysdeps/i386/fpu/s_fmal.S: Removed.
56428 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56430         [BZ #3268]
56431         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56433         computation is not scheduled after fetestexcept.  Fix value
56434         of minimum denormal long double.
56436 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56438         [BZ #3268]
56439         * math/libm-test.inc (fma_test): Add some more tests.
56440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56441         correctly.
56443 2010-10-15  Andreas Schwab  <schwab@redhat.com>
56445         * scripts/data/localplt-s390-linux-gnu.data: New file.
56446         * scripts/data/localplt-s390x-linux-gnu.data: New file.
56448 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
56450         [BZ #3268]
56451         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56452         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56453         instead of dbl-64.
56454         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56455         inlines.
56456         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56458         if one of x and y is very large and the other is subnormal.
56459         * sysdeps/s390/fpu/s_fmaf.c: New file.
56460         * sysdeps/s390/fpu/s_fma.c: New file.
56461         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56462         * sysdeps/powerpc/fpu/s_fma.S: New file.
56463         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56464         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56465         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56467 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
56469         [BZ #3268]
56470         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56471         fma tests.
56472         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56473         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56474         * sysdeps/i386/i686/multiarch/s_fma.c: Include
56475         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56476         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56477         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56478         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56480 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
56482         [BZ #12078]
56483         * posix/regcomp.c (parse_branch): One more memory leak plugged.
56484         * posix/bug-regex31.input: Add test case.
56486 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56488         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56489         * posix/bug-regex31.input: New file.
56491         [BZ #12078]
56492         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56493         (parse_sub_exp): Fix last change, use postorder.
56495         * posix/bug-regex31.c: New file.
56496         * posix/Makefile: Add rules to build and run bug-regex31.
56498         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56500         [BZ #12078]
56501         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56503         [BZ #12108]
56504         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56505         to have entries in sys_siglist.
56507         [BZ #12093]
56508         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56509         be NULL.
56511 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
56513         [BZ #3268]
56514         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56515         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56516         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56517         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56518         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56519         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56520         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56521         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56522         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56523         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56524         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56525         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56526         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56527         * math/ftestexcept.c (fetestexcept): Likewise.
56528         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56529         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56530         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56531         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56532         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56533         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56534         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56536 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56538         [BZ #12107]
56539         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56540         newline.
56542 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
56544         * string/bug-strstr1.c: New file.
56545         * string/Makefile: Add rules to build and run bug-strstr1.
56547 2010-10-05  Eric Blake  <eblake@redhat.com>
56549         [BZ #12092]
56550         * string/str-two-way.h (two_way_long_needle): Always clear memory
56551         when skipping input due to the shift table.
56553 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
56555         [BZ #12005]
56556         * malloc/mcheck.c: Handle large requests.
56558         [BZ #12077]
56559         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56560         for strncmp and strncasecmp.
56561         * string/stratcliff.c: Add tests for strcmp and strncmp.
56562         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56564 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56566         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56567         __set_fpscr.
56569 2010-09-30  Andreas Jaeger  <aj@suse.de>
56571         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56572         (CGROUP_SUPER_MAGIC): Define.
56573         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56574         Handle btrfs and cgroup file systems.
56575         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56576         Likewise.
56578 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
56580         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56581         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56583 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56585         [BZ #12067]
56586         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56587         trying to locate the ELF header.
56589 2010-09-27  Andreas Schwab  <schwab@redhat.com>
56591         [BZ #11611]
56592         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56593         Mask out sign-bit copies when constructing f_fsid.
56595 2010-09-24  Petr Baudis <pasky@suse.cz>
56597         * debug/stack_chk_fail_local.c: Add missing licence exception.
56598         * debug/warning-nop.c: Likewise.
56600 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
56602         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56603         implementing getdents64 using getdents syscall, set d_type if
56604         __ASSUME_GETDENTS32_D_TYPE.
56606 2010-09-16  Andreas Schwab  <schwab@redhat.com>
56608         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56609         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56611 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
56613         [BZ #12037]
56614         * posix/unistd.h: Undo change of feature selection for ftruncate from
56615         2010-01-11.
56617 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
56619         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56620         detection.
56622 2010-09-20  Andreas Schwab  <schwab@redhat.com>
56624         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56625         fanotify_mark.
56626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56628 2010-09-14  Andreas Schwab  <schwab@redhat.com>
56630         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56631         variables after CHECK_SP call.
56632         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56634 2010-09-13  Andreas Schwab  <schwab@redhat.com>
56635             Ulrich Drepper  <drepper@redhat.com>
56637         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56638         re-relocationg ld.so.
56639         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56640         _dl_init_paths call.
56641         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
56642         here anymore.
56644 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
56646         * resolv/res_init.c (__res_vinit): Count the default server we added.
56648 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
56649             Ulrich Drepper  <drepper@redhat.com>
56651         [BZ #11968]
56652         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56653         (____longjmp_chk): Use %ebx for saving value across system call.
56654         Add unwind info.
56656 2010-09-06  Andreas Schwab  <schwab@redhat.com>
56658         * manual/Makefile: Don't mix pattern rules with normal rules.
56660 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56662         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56663         operation.
56664         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56665         * libio/iofopncook.c (_IO_cookie_init): Likewise.
56666         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56667         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56669         Likewise.
56671 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
56673         [BZ #11979]
56674         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56675         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56677 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
56679         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56680         * sysdeps/x86_64/addmul_1.S: Likewise.
56681         * sysdeps/x86_64/lshift.S: Likewise.
56682         * sysdeps/x86_64/mul_1.S: Likewise.
56683         * sysdeps/x86_64/rshift.S: Likewise.
56684         * sysdeps/x86_64/sub_n.S: Likewise.
56685         * sysdeps/x86_64/submul_1.S: Likewise.
56687 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56689         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56690         Define __sched_param instead of SCHED_* and sched_param when
56691         <bits/sched.h> is included with __need_schedparam defined.
56692         * bits/sched.h [__need_schedparam]
56693         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56694         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56695         (__defined_schedparam): Define to 1.
56696         (__sched_param): New structure, identical to sched_param.
56697         (__need_schedparam): Undefine.
56699 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
56701         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56702         (epoll_create1): Declare.
56704         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56706 2010-08-31  Andreas Schwab  <schwab@redhat.com>
56708         [BZ #7066]
56709         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56710         shifting retval into place.
56712 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
56714         * nis/rpcsvc/nis.h: Update copyright notice.
56715         * nis/rpcsvc/nis.x: Likewise.
56716         * nis/rpcsvc/nis_callback.h: Likewise.
56717         * nis/rpcsvc/nis_callback.x: Likewise.
56718         * nis/rpcsvc/nis_object.x: Likewise.
56719         * nis/rpcsvc/nis_tags.h: Likewise.
56720         * nis/rpcsvc/yp.h: Likewise.
56721         * nis/rpcsvc/yp.x: Likewise.
56722         * nis/rpcsvc/ypupd.h: Likewise.
56723         * nis/yp_xdr.c: Likewise.
56724         * nis/ypupdate_xdr.c: Likewise.
56726         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
56727         mainly the body of pmap_getport.  Add parameters to specify timeouts.
56728         (pmap_getport): Use __libc_rpc_getport.
56729         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56730         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56731         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56733 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
56735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56736         fanotify_mark.
56738 2010-08-27  Roland McGrath  <roland@redhat.com>
56740         * sysdeps/i386/i686/multiarch/Makefile
56741         (CFLAGS-varshift.c): New variable.
56743 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
56745         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56746         * sysdeps/i386/i686/multiarch/varshift.c: New file.
56748         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56750         * sysdeps/x86_64/strlen.S: Minimal code improvement.
56752 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
56754         * sysdeps/x86_64/strlen.S: Unroll the loop.
56755         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56756         strlen-sse2 strlen-sse2-bsf.
56757         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56758         __strlen_no_bsf if bit_Slow_BSF is set.
56759         (__strlen_sse42): Removed.
56760         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56761         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56763 2010-08-25  Roland McGrath  <roland@redhat.com>
56765         * sysdeps/x86_64/multiarch/varshift.S: File removed.
56766         * sysdeps/x86_64/multiarch/varshift.c: New file.
56767         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56768         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56769         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56770         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56772 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
56774         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56775         strlen-sse2 strlen-sse2-bsf.
56776         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56777         __strlen_sse2_bsf if bit_Slow_BSF is unset.
56778         (__strlen_sse2): Removed.
56779         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56780         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56782         bit_Slow_BSF for Atom.
56783         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56784         (index_Slow_BSF): Define.
56785         (HAS_SLOW_BSF): Define.
56787 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
56789         [BZ #10851]
56790         * resolv/res_init.c (__res_vinit): When no server address at all
56791         is given default to loopback.
56793 2010-08-24  Roland McGrath  <roland@redhat.com>
56795         * configure.in: Remove config-name.h generation.
56796         * configure: Regenerated.
56797         * config-name.in: File removed.
56798         * scripts/config-uname.sh: New file.
56799         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56800         ($(objdir)config-name.h): New target.
56802         * sunrpc/rpc_parse.h: Avoid nested comment.
56804 2010-08-24  Richard Henderson  <rth@redhat.com>
56805             Ulrich Drepper  <drepper@redhat.com>
56806             H.J. Lu  <hongjiu.lu@intel.com>
56808         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56809         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56810         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56811         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
56812         _mm_alignr_epi8 with _mm_loadu_si128.
56813         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56814         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56815         (__m128i_shift_right): Removed.
56816         * sysdeps/i386/i686/multiarch/varshift.h: New file.
56817         * sysdeps/i386/i686/multiarch/varshift.S: New file.
56818         * sysdeps/x86_64/multiarch/varshift.h: New file.
56819         * sysdeps/x86_64/multiarch/varshift.S: New file.
56821 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56823         * configure.in: Move assembler checks to before sysdep dir checking.
56825 2010-08-20  Petr Baudis  <pasky@suse.cz>
56827         * LICENSES: Sync the sunrpc license.
56829 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56831         * sunrpc/auth_des.c: Update copyright notice once again.
56832         * sunrpc/auth_none.c: Likewise.
56833         * sunrpc/auth_unix.c: Likewise.
56834         * sunrpc/authdes_prot.c: Likewise.
56835         * sunrpc/authuxprot.c: Likewise.
56836         * sunrpc/bindrsvprt.c: Likewise.
56837         * sunrpc/clnt_gen.c: Likewise.
56838         * sunrpc/clnt_perr.c: Likewise.
56839         * sunrpc/clnt_raw.c: Likewise.
56840         * sunrpc/clnt_simp.c: Likewise.
56841         * sunrpc/clnt_tcp.c: Likewise.
56842         * sunrpc/clnt_udp.c: Likewise.
56843         * sunrpc/clnt_unix.c: Likewise.
56844         * sunrpc/des_crypt.c: Likewise.
56845         * sunrpc/des_soft.c: Likewise.
56846         * sunrpc/get_myaddr.c: Likewise.
56847         * sunrpc/getrpcport.c: Likewise.
56848         * sunrpc/key_call.c: Likewise.
56849         * sunrpc/key_prot.c: Likewise.
56850         * sunrpc/openchild.c: Likewise.
56851         * sunrpc/pm_getmaps.c: Likewise.
56852         * sunrpc/pm_getport.c: Likewise.
56853         * sunrpc/pmap_clnt.c: Likewise.
56854         * sunrpc/pmap_prot.c: Likewise.
56855         * sunrpc/pmap_prot2.c: Likewise.
56856         * sunrpc/pmap_rmt.c: Likewise.
56857         * sunrpc/rpc/auth.h: Likewise.
56858         * sunrpc/rpc/auth_unix.h: Likewise.
56859         * sunrpc/rpc/clnt.h: Likewise.
56860         * sunrpc/rpc/des_crypt.h: Likewise.
56861         * sunrpc/rpc/key_prot.h: Likewise.
56862         * sunrpc/rpc/netdb.h: Likewise.
56863         * sunrpc/rpc/pmap_clnt.h: Likewise.
56864         * sunrpc/rpc/pmap_prot.h: Likewise.
56865         * sunrpc/rpc/pmap_rmt.h: Likewise.
56866         * sunrpc/rpc/rpc.h: Likewise.
56867         * sunrpc/rpc/rpc_des.h: Likewise.
56868         * sunrpc/rpc/rpc_msg.h: Likewise.
56869         * sunrpc/rpc/svc.h: Likewise.
56870         * sunrpc/rpc/svc_auth.h: Likewise.
56871         * sunrpc/rpc/types.h: Likewise.
56872         * sunrpc/rpc/xdr.h: Likewise.
56873         * sunrpc/rpc_clntout.c: Likewise.
56874         * sunrpc/rpc_cmsg.c: Likewise.
56875         * sunrpc/rpc_common.c: Likewise.
56876         * sunrpc/rpc_cout.c: Likewise.
56877         * sunrpc/rpc_dtable.c: Likewise.
56878         * sunrpc/rpc_hout.c: Likewise.
56879         * sunrpc/rpc_main.c: Likewise.
56880         * sunrpc/rpc_parse.c: Likewise.
56881         * sunrpc/rpc_parse.h: Likewise.
56882         * sunrpc/rpc_prot.c: Likewise.
56883         * sunrpc/rpc_sample.c: Likewise.
56884         * sunrpc/rpc_scan.c: Likewise.
56885         * sunrpc/rpc_scan.h: Likewise.
56886         * sunrpc/rpc_svcout.c: Likewise.
56887         * sunrpc/rpc_tblout.c: Likewise.
56888         * sunrpc/rpc_util.c: Likewise.
56889         * sunrpc/rpc_util.h: Likewise.
56890         * sunrpc/rpcinfo.c: Likewise.
56891         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56892         * sunrpc/rpcsvc/key_prot.x: Likewise.
56893         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56894         * sunrpc/rpcsvc/mount.x: Likewise.
56895         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56896         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56897         * sunrpc/rpcsvc/rex.x: Likewise.
56898         * sunrpc/rpcsvc/rstat.x: Likewise.
56899         * sunrpc/rpcsvc/rusers.x: Likewise.
56900         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56901         * sunrpc/rpcsvc/spray.x: Likewise.
56902         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56903         * sunrpc/rtime.c: Likewise.
56904         * sunrpc/svc.c: Likewise.
56905         * sunrpc/svc_auth.c: Likewise.
56906         * sunrpc/svc_authux.c: Likewise.
56907         * sunrpc/svc_raw.c: Likewise.
56908         * sunrpc/svc_run.c: Likewise.
56909         * sunrpc/svc_simple.c: Likewise.
56910         * sunrpc/svc_tcp.c: Likewise.
56911         * sunrpc/svc_udp.c: Likewise.
56912         * sunrpc/svc_unix.c: Likewise.
56913         * sunrpc/svcauth_des.c: Likewise.
56914         * sunrpc/xcrypt.c: Likewise.
56915         * sunrpc/xdr.c: Likewise.
56916         * sunrpc/xdr_array.c: Likewise.
56917         * sunrpc/xdr_float.c: Likewise.
56918         * sunrpc/xdr_mem.c: Likewise.
56919         * sunrpc/xdr_rec.c: Likewise.
56920         * sunrpc/xdr_ref.c: Likewise.
56921         * sunrpc/xdr_sizeof.c: Likewise.
56922         * sunrpc/xdr_stdio.c: Likewise.
56924         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56925         handling.
56927 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56929         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56931 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56933         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56934         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56935         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56936         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56937         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56938         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56939         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56940         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56941         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56942         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56943         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56944         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56945         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56946         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56948 2010-07-26  Anton Blanchard  <anton@samba.org>
56950         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56951         * malloc/arena.c (heap_trim): Likewise.
56953 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56955         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56956         here.  Not...
56957         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56958         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56960 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56962         * sysdeps/i386/elf/Makefile: New file.
56964 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56966         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56967         from fanotify_init.
56968         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56971 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56973         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56974         of strncasecmp_l.
56975         * sysdeps/multiarch/strcmp.S: Likewise.
56977 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56979         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56980         strncase_l-nonascii.
56981         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56982         Add strncase_l-ssse3.
56983         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56984         * sysdeps/x86_64/strcmp.S: Likewise.
56985         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56986         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56987         * sysdeps/x86_64/strncase.S: New file.
56988         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56989         * sysdeps/x86_64/strncase_l.S: New file.
56990         * string/Makefile (strop-tests): Add strncasecmp.
56991         * string/test-strncasecmp.c: New file.
56993         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56994         warning.
56996         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56997         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56999 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57001         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57003 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57005         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57006         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57007         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57009 2010-05-01  Alan Modra  <amodra@gmail.com>
57011         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57012         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57013         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57014         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57015         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57016         tidying.  Don't tail-call __sigjmp_save for static lib.
57017         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57018         save location.
57019         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57020         (CALL_MCOUNT): Add eh info, and nop after bl.
57021         (TAIL_CALL_SYSCALL_ERROR): New macro.
57022         (PSEUDO_RET): Use it.
57023         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57024         Correct save location of integer regs and cr.
57025         (_dl_profile_resolve): Correct cr save location.  Delete nops
57026         after bl when SHARED.  Reduce cfi size a little by better
57027         placement of cfi directives.
57028         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57029         make a stack frame.  Instead use parm save area as a temp.
57030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57031         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57033         Don't make a stack frame for parent, use parm save area.
57034         Increase child stack frame to 112 bytes.  Don't save unused reg,
57035         and adjust reg usage.  Set up cfi on error recovery and
57036         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57038         (__makecontext): Add dummy nop after jump to exit.
57039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57040         Use correct parm save area and cr save, reduce stack frame.
57041         Correct cfi for possible PSEUDO_RET frame setup.
57042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57043         Branch to local label emitted by PSEUDO_RET rather than
57044         __syscall_error.
57046 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57048         [BZ #11904]
57049         * locale/programs/locale.c (print_assignment): New function.
57050         (show_locale_vars): Use it.
57052 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57054         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57055         field.
57056         (struct statfs64): Likewise.
57057         (_STATFS_F_FLAGS): Define.
57058         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57059         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57060         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57061         (ST_VALID): Define locally.
57062         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57063         __statvfs_getflags, use the provided value.
57064         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57065         __ASSUME_STATFS_F_FLAGS.
57067         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57069         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57070         Add sys/fanotify.h.
57071         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57072         fanotify_mask for GLIBC_2.13.
57073         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57074         fanotify_init and fanotify_mark.
57075         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57076         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57078         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57079         Add prlimit.
57080         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57081         prlimit64 for GLIBC_2.13.
57082         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57083         prlimit64.
57084         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57085         syscall.
57086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57087         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57088         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57089         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57090         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57091         add prlimit alias.
57092         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57094         [BZ #11903]
57095         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57096         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57098         * nss/Makefile: Add rules to build and run tst-nss-test1.
57099         * shlib-versions: Add entry for libnss_test1.
57100         * nss/nss_test1.c: New file.
57101         * nss/tst-nss-test1.c: New file.
57103         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57104         (__nss_configure_lookup): Set appropriate entry in
57105         __nss_configure_lookup to true.
57106         * nss/nsswitch.h: Define enum with indeces of databases in
57107         databases and __nss_database_custom arrays.  Declare
57108         __nss_database_custom.
57109         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57110         to avoid using nscd when custom rules are installed.
57111         * nss/getXXbyYY_r.c: Likewise.
57112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57114         * nss/nss_files/files-parse.c: Whitespace fixes.
57116 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57118         [BZ #11883]
57119         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57120         * posix/fnmatch_loop.c: Likewise.
57122 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57124         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57125         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57126         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57127         * Versions.def [GLIBC_2.13]: Add.
57129 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57131         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57132         Also fail if tpwd after pwuid call is NULL.
57134 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57136         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57137         when converting to ms.
57139 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57141         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57142         EOPNOTSUPP errors with ENOTTY.
57143         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57144         EOPNOTSUPP errors with ENOTTY.
57146 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57148         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57149         Add strcasecmp_l-ssse3.
57150         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57151         strcasecmp.
57152         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57153         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57154         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57156 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57158         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57160         * string/Makefile (strop-tests): Add strcasecmp.
57161         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57162         strcasecmp_l-nonascii.
57163         (gen-as-const-headers): Add locale-defines.sym.
57164         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57165         * sysdeps/x86_64/strcasecmp.S: New file.
57166         * sysdeps/x86_64/strcasecmp_l.S: New file.
57167         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57168         * sysdeps/x86_64/locale-defines.sym: New file.
57169         * string/test-strcasecmp.c: New file.
57171         * string/test-strcasestr.c: Test both ends of the range of characters.
57172         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57174 2010-07-29  Roland McGrath  <roland@redhat.com>
57176         [BZ #11856]
57177         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57179 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57181         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57182         for ld.so.
57184 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57186         * manual/memory.texi (Malloc Tunable Parameters): Document
57187         M_PERTURB.
57189 2010-07-26  Roland McGrath  <roland@redhat.com>
57191         [BZ #11840]
57192         * configure.in (-fgnu89-inline check): Set and substitute
57193         gnu89_inline, not libc_cv_gnu89_inline.
57194         * configure: Regenerated.
57195         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57197 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57199         * string/test-strnlen.c: New file.
57200         * string/Makefile (strop-tests): Add strnlen.
57201         * string/tester.c (test_strnlen): Add a few more test cases.
57202         * string/tst-strlen.c: Better error reporting.
57204         * sysdeps/x86_64/strnlen.S: New file.
57206 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57208         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57209         lower-latency instructions.
57211 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57213         * string/test-strcasestr.c: New file.
57214         * string/test-strstr.c: New file.
57215         * string/Makefile (strop-tests): Add strstr and strcasestr.
57216         * string/str-two-way.h: Don't undefine MAX.
57217         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57219 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57222         strcasestr-nonascii.
57223         (CFLAGS-strcasestr-nonascii.c): Define.
57224         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57225         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57226         Remove unused attribute.
57228 2010-07-20  Roland McGrath  <roland@redhat.com>
57230         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57231         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57232         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57233         like LD_HWCAP_MASK can disable hwcaps.
57235 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57237         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57239 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57241         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57242         call in strcasestr.
57243         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57244         __strcasestr_sse42_nonascii.
57245         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57246         strcasestr-nonascii.c.
57247         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57249 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57251         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57252         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57253         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57254         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57256 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57258         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57259         fcntl.
57261 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57263         [BZ #11577]
57264         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57265         dl_signal_cerror.
57267 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57269         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57270         _PC_PIPE_BUF using F_GETPIPE_SZ.
57272 2010-07-05  Roland McGrath  <roland@redhat.com>
57274         * manual/arith.texi (Rounding Functions): Fix rint description
57275         implicit in round description.
57277 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57279         * elf/Makefile: Fix linking for a few tests to make recent linker
57280         happy.
57282 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57284         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57285         $(common-objpfx)libc_nonshared.a.
57287 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57289         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57290         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57291         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57292         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57293         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57294         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57295         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57296         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57311         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57312         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57313         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57314         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57315         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57316         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57317         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57318         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57319         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57320         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57321         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57322         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57338 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57340         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57341         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57342         * string/memmove.c (memmove): Renamed to ...
57343         (MEMMOVE): ...this.  Default to memmove.
57344         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57345         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57346         (END_CHK): Define.
57347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57348         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57349         mempcpy-ssse3-back memmove-ssse3-back.
57350         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57351         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57352         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57353         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57354         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57355         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57356         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57357         * sysdeps/x86_64/multiarch/memmove.c: New file.
57358         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57359         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57360         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57361         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57362         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57363         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57364         Define.
57365         (index_Fast_Copy_Backward): Define.
57366         (HAS_ARCH_FEATURE): Define.
57367         (HAS_FAST_REP_STRING): Define.
57368         (HAS_FAST_COPY_BACKWARD): Define.
57370 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57372         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57373         Restore proper fallback handling.
57375 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57377         [BZ #11701]
57378         * posix/group_member.c (__group_member): Correct checking loop.
57380         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57381         OOM in getpwuid_r correctly.  Return error number when the caller
57382         should return, otherwise -1.
57383         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57384         call returning > 0 value.
57385         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57387 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57389         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57390         libc_nonshared.a from targets in modules-names.
57392 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57394         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57395         requires it.
57397 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57399         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57400         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57401         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57402         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57404 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57406         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57408 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57410         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57411         and F_GETPIPE_SZ.
57412         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57413         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57414         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57416         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57417         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57419 2010-06-14  Roland McGrath  <roland@redhat.com>
57421         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57423 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57425         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57426         __REDIRECT followed by __THROW.
57427         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57428         * posix/getopt.h (getopt): Likewise.
57430 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57432         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57433         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57434         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57435         in AT_FLAGS.
57436         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57437         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57439 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
57441         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57443 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
57445         [BZ #11640]
57446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57447         Properly check family and model.
57449 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
57451         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57453 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
57455         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57457 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
57459         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57460         symbol reference.
57462 2010-05-19  Andreas Schwab  <schwab@redhat.com>
57464         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57465         symbol reference.
57467 2010-05-21  Andreas Schwab  <schwab@redhat.com>
57469         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57470         and internal_recvmmsg.
57471         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57472         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57473         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57474         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57476         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57477         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57478         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57480 2010-05-20  Andreas Schwab  <schwab@redhat.com>
57482         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57484 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
57486         POWER7 optimizations.
57487         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57488         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57490 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
57492         * version.h: Update for 2.13 development version.
57494 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
57496         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57497         exceptions.  Return 0.
57499 2010-05-07  Roland McGrath  <roland@redhat.com>
57501         * elf/ldconfig.c (main): Add a const.
57503 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
57505         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57506         (args_options): Add no-idn option.
57507         (ahosts_keys_int): Add idn_flags to ai_flags.
57508         (parse_option): Handle 'i' option to clear idn_flags.
57510         * malloc/malloc.c (_int_free): Possible race in the most recently
57511         added check.  Only act on the data if no current modification
57512         happened.
57514 See ChangeLog.17 for earlier changes.